• +91 9971497814
  • info@interviewmaterial.com

Computer Interview Questions Answers

SAP ABAP Interview Questions Answers

Question - 31 : - How to create client independent tables?

Answer - 31 : - client independent tables: the table in which the first field is not mandt is the client independent tables *mandt is the field with mandt as the data element *automatically client which we login is populated to mandt

Question - 32 : - What are internal tables?

Answer - 32 : - Internal tables are a standard data type object which exists only during the runtime of the program. They are used to perform table calculations on subsets of database tables and for re-organizing the contents of database tables according to users need.

Question - 33 : - What is a batch input session?

Answer - 33 : - BATCH INPUT SESSION is an intermediate step between internal table and database table. Data along with the action is stored in session ie data for screen fields, to which screen it is passed, program name behind it, and how next screen is processed.

Question - 34 : - Why BAPI need then BDC ?

Answer - 34 : - BAPI"S provide the standard interface to other applications apart from SAP and within differnt vesions of SAP too. Also it is OOD bases so dosen"t depends on screen flow. BDC gets failed if we make changes for screen changes through IMG customization

Question - 35 : - How data is stored in cluster table?

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

Question - 36 : - What type of user exits have you written?

Answer - 36 : - there are four types 1.function exit 2.menu ixit 3.screen exit. 4.field exit. these are the user exits

Question - 37 : - What is an ABAP data dictionary?

Answer - 37 : - ABAP 4 data dictionary describes the logical structures of the objects used in application development and shows how they are mapped to the underlying relational database in tables/views.

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

Answer - 38 : - 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 - 39 : - In the ‘select’ statement what is “group by”?

Answer - 39 : - Group by clause is used to fetch the data from the table by the specified field ex.select count (*) from emptable group by deptno where deptno = 1. It is used to find the number of employees present in the specified department no.

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

Answer - 40 : - 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

Computer Contributors

Rajeev Katiyar
Yes Baroda

Share your email for latest updates


Our partners