• +91 9971497814
  • info@interviewmaterial.com

Computer Interview Questions Answers

SAP ABAP Interview Questions Answers

Question - 11 : - What are the different types of data dictionary objects?

Answer - 11 : - Data Dictionary Objects * Tables * Views * Domain * Data Element * Type Groups * Search Helps/Matchcode Objects * Lock objects * Structures * Table Types the dictionary objects are: domain dataelements tables views structures typegroups search helps lock objects etc which are data base related objects in sap

Question - 12 : - What is the difference between SAP memory and ABAP memory?

Answer - 12 : - data sending between main sessions using get parameter and set parameter is sap memory data sending between internal sessions using import or export parameters is abap memory sap memory is a global memory whereas abap memory is local memory. For example, we have four programs in abap memory and assigned some varibles to a particular program in abap memory then those varibles can't be used by anyother program in abap memory i.e., the variables are only for that program and also local to that memory,whereas sap memory can access all the abap memory or else it can perform any kind of modifications. SAP memory is available to the user during the entire terminal session. ABAP memory is available to the user during life time of external session.

Question - 13 : - What are logical databases? What are the advantages/ dis-advantages of logical databases?

Answer - 13 : - To read data from a database tables we use logical database. A logical database provides read-only access to a group of related tables to an ABAP/4 program. Advantages: i)check functions which check that user input is complete, correct,and plausible. ii)Meaningful data selection. iii)central authorization checks for database accesses. iv)good read access performance while retaining the hierarchical data view determined by the application logic. dis advantages: i)If you donot specify a logical database in the program attributes,the GET events never occur. ii)There is no ENDGET command,so the code block associated with an event ends with the next event statement (such as another GET or an END-OF-SELECTION).

Question - 14 : - What is foreign key relationship?

Answer - 14 : - A relationship which can be defined between tables and must be explicitly defined at field level. Foreign keys are used to ensure the consistency of data. Data entered should be checked against existing data to ensure that there are now contradiction. While defining foreign key relationship cardinality has to be specified. Cardinality mentions how many dependent records or how referenced records are possible.

Question - 15 : - What is the difference between Type and Like?

Answer - 15 : - TYPE, you assign datatype directly to the data object while declaring. LIKE,you assign the datatype of another object to the declaring data object. The datatype is referenced indirectly. Type is a keyword used to refer to a data type whereas Like is a keyword used to copy the existing properties of already existing data object. type refers the existing data type like refers the existing data object

Question - 16 : - How can you debug a script form?

Answer - 16 : - SE71 -> give the form name -> utilities -> activate debugger

Question - 17 : - From Excel to ABAP - Is batch mode possible ?

Answer - 17 : - DATA w_file TYPE string. * Convert the file path into string w_file = p_input. * Internal Table should have same field sequence as EXL File. CLEAR t_upload. REFRESH t_upload. * Call function to upload the data into internal table CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = w_file filetype = 'ASC' has_field_separator = 'X' TABLES data_tab = t_upload EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17. IF sy-subrc NE 0. * MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno * WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ELSE. * Delete the first row of heading from the uploaded table DELETE t_upload INDEX 1. ENDIF. " IF sy-subrc EQ 0.  

Question - 18 : - What is CTS and what do you know about it?

Answer - 18 : - The Change and Transport System (CTS) is a tool that helps you to organize development projects in the ABAP Workbench and in Customizing, and then transport the changes between the SAP Systems and clients in your system landscape. This documentation provides you with an overview of how to manage changes with the CTS and essential information on setting up your system and client landscape and deciding on a transport strategy. Read and follow this documentation when planning your development project.

Question - 19 : - What is ALV programming in ABAP? When is this grid used in ABAP?

Answer - 19 : - ALV is Application List viewer. Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length. In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output. The report output can contain up to 90 columns in the display with the wide array of display options.

Question - 20 : - What are screen painter and menu painter?

Answer - 20 : - Screen painter: Screen painter is a tool to design and maintain screen and its elements. It allows user to create GUI screens for the transactions. Attributes, layout, filed attributes and flow logic are the elements of Screen painter. Menu painter: Menu painter is a tool to design the interface components. Status, menu bars, menu lists, F-key settings, functions and titles are the components of Menu painters. Screen painter and menu painter both are the graphical interface of an ABAP/4 applications.

Computer Contributors

krishan
Rajeev Katiyar
Yes Baroda

Share your email for latest updates

Name:
Email:

Our partners