• +91 9971497814
  • info@interviewmaterial.com

SAP ABAP Interview Questions Answers

Question 1 : Describe data classes.

Answer 1 : Master data: It is the data which is seldom changed. Transaction data: It is the data which is often changed. Organization data: It is a customizing data which is entered in the system when the system is configured and is then rarely changed. System data:It is the data which R/3 system needs for itself.

Question 2 : Difference between transparent tables and pooled tables.

Answer 2 : Transparent tables: Transparent tables in the dictionary has a one-to-one relation with the table in database. Its structure corresponds to single database field. Table in the database has the same name as in the dictionary. Transparent table holds application data. Pooled tables. Pooled tables in the dictionary has a many-to-one relation with the table in database. Table in the database has the different name as in the dictionary. Pooled table are stored in table pool at the database level.

Question 3 : Explain about roll area , Dispatcher, ABAP-Processor.

Answer 3 : Roll area is nothing but memory allocated by work process. It holds the information needed by R/3 about programs execution such as value of the variables. Dispatcher :All the requests that come from presentation server will be directed first to dispatcher. Further dispatcher sends this requests to work process on FIFO(First In and First Out) basis. Dispatcher recieves the request from client and assigns the request to one of the work process. Roll area: Each workprocess works in a particular memory that memory is known as Role Area, which consists of User context and session data. ABAP- Processor :is an interpretor which can execute logic

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

Answer 4 : 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 5 : Have you used performance tuning? What major steps will you use for these?

Answer 5 : First of all tunning can be done In three ways: disk i/o ,sql tunning , memory tunning, Before tunning u have to get the status of your database using Oracle utility called statpack , tkprof, then you should go for tunning

Question 6 : How can I copy a standard table to make my own z_table?

Answer 6 : WE CAN CREATE A STRUCTURE LIKE THE SAME STRUCTURE AS DATABASE TABLE AND WE CAN USE SELECT* FROM DATABASE TABLE INTO TABLE ITAB OR INSERT INTO ITAB VALUES DATABASE TABLE

Question 7 : How can I make a differentiation between dependent and independent data?

Answer 7 : Client dependent or independent transfer requirements include client specific or cross client objects in the change requests. Workbench objects like SAPscripts are client specific, some entries in customizing are client independent. If you display the object list for one change request, and then for each object the object attributes, you will find the flag client specific. If one object in the task list has this flag on, then that transport will be client dependent.

Question 8 : How can you debug a script form?

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

Question 9 : How data is stored in cluster table?

Answer 9 : A cluster table conatins data from mulitple DDIC tables. It stores data as a name value pair ( varkey, vardata)

Question 10 : How do we debug sapscript?

Answer 10 : First we need to put Break point in Print program where ever you want to stop the execution. After in SE71 give your form name and go to Utilities-->Active De-bugger. Then go to your transcation like VF03(for Invoice or Credit memo) etc to see the print preview or print the form execute it. When you execute it the the form Debugging will get activated and you can see your Form execution step by step.  

SAP ABAP Contributors

krishan

Share your email for latest updates

Name:
Email:

Our partners