• +91 9723535972
  • info@interviewmaterial.com

SAP ABAP Interview Questions and Answers

SAP ABAP Interview Questions and Answers

Question - 21 : - How to upload data using CATT ?

Answer - 21 : - These are the steps to be followed to Upload data through CATT: Creation of the CATT test case & recording the sample data input. Download of the source file template. Modification of the source file. Upload of the data from the source file.

Question - 22 : - What is Smart Forms?

Answer - 22 : - Smart Forms allows you to create forms using a graphical design tool with robust functionality, color, and more. Additionally, all new forms developed at SAP will be created with the new Smart Form solution.

Question - 23 : - How we format the data before before write statement in report ?

Answer - 23 : - We can format the reports output by using the loop events like: 1.at first 2.at new 3.at last etc check docu

Question - 24 : - What is the difference between collect and sum?

Answer - 24 : - SUM. When processing an internal table in a block starting with LOOP and concluded by ENDLOOP , SUM calculates the control totals of all fields of type I , F and P (see also ABAP/4 number types ) and places them in the LOOP output area (header line of the internal table or an explicitly specified work area). When you use SUM in a LOOP with an explicitly specified output area, this output area must be compatible with the line type of the internal table.When using LOOP to process a sorted extract (see SORT ), the control total of f at the end of the group appears in the field SUM(f) - - if f is type I , F or P . COLLECT. COLLECT is used to create unique or compressed datsets. The key fields are the default key fields of the internal table itab . If you use only COLLECT to fill an internal table, COLLECT makes sure that the internal table does not contain two entries with the same default key fields. If, besides its default key fields, the internal table contains number fields,the contents of these number fields are added together if the internal table already contains an entry with the same key fields. If the default key of an internal table processed with COLLECT is blank, all the values are added up in the first table line. If you specify wa INTO , the entry to be processed is taken from the explicitly specified work area wa . If not, it comes from the header line of the internal table itab . After COLLECT , the system field SY-TABIX contains the index of the - existing or new - table entry with default key fields which match those of the entry to be processed. COLLECT can create unique or compressed datasets and should be used precisely for this purpose. If uniqueness or compression are unimportant, or two values with identical default key field values could not possibly occur in your particular task, you should use APPEND instead. However, for a unique or compressed dataset which is also efficient, COLLECT is the statement to use. If you process a table with COLLECT , you should also use COLLECT to fill it. Only by doing this can you guarantee that the internal table will actually be unique or compressed, as d

Question - 25 : - What is the difference between Table and Template?

Answer - 25 : - table is a dynamic and template is a static

Question - 26 : - When do we use End-of-selection?

Answer - 26 : - End-of-selection event are mostly used when we are writing HR-ABAP code. In the HR-ABAP code, data is retrived in the Start-of-selection event and Printing on the list and all will be done in End-of-selection event.

Question - 27 : - In events start-of-selection is default event. When we have to use this event explicitly? Why?

Answer - 27 : - The default event in the ABAP is Start-of-selection.We have to call explicitely this event when you are writing other than ths event , that is when you write AT SELECTION-SCREEN EVENTS OR INITIALIZATION EVENT etc,you have to explicitely mention the Start-of-selection event while you are writing the logic. Before these events called ,all the code you have written come into this default Start-of-selection screen event.

Question - 28 : - What is the differences between ABAP and OOABAP. In which situation we use OOABAP?

Answer - 28 : - OOABAP is used to develop BSP/PCUI applications and also anthing involved object oriented like BADIs, SmartForms..etc.where as ABAP is used to develop traditional programs in R/3.

Question - 29 : - What is table buffer? Which type of tables used this buffer?

Answer - 29 : - buffer is nothing but a memory area. table is buffered means that table information is available on application server. when you call data from database table it will come from application server. transperent and pooled tables are buffered. cluster tables can not buffered.

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

Answer - 30 : - 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.


NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners