• +91 9971497814
  • info@interviewmaterial.com

SAP ABAP Interview Questions Answers

Question 1 : What is Tcode SE16. For what is it used. Explain briefly?

Answer 1 : SE16 is a T-code for object browser. Generally used to search the fields of SAP Tables . and respective data. se16 is a data browse and it is used to view the contents of the table and we cannot change or append new fields to the existing structure of the table as we cannot view the structure level display using the se16

Question 2 : What is the difference between Type and Like?

Answer 2 : 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 3 : What is Field symbol ?

Answer 3 : You can use field symbols to make the program more dynamic. In this example the name of a table control is substituted by a field symbol. Thus you cal call the form with any internal table, using the name of the table control as a parameter. Example form insert_row using p_tc_name. field-symbols <tc> type cxtab_control. "Table control assign (p_tc_name) to <tc>. * insert 100 lines in table control <tc>-lines = 100. ================== fieldsymbol has the same concept as pointer in c, fieldsymbol don't point to a data type like char, num instead of that it points to the memory block. the syntax for fieldsymbol is FIELD-SYMBOL <N>. EG. FOR FIELD SYMBOL. DATA: DAT LIKE SY-DATUM, TIM LIKE SY-UZEIT, CHAR(3) TYPE C VALUE 'ADF'. FIELD-SYMBOL : <FS>. MOVE DAT TO <FS>. WRITE:/ <FS>. MOVE TIM TO <FS>. WRITE:/ <FS>. MOVE CHAR TO <FS>. WRITE:/ <FS>. The output will be Today's date current time

Question 4 : How data is stored in cluster table?

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

Question 5 : What is foreign key relationship?

Answer 5 : 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 6 : What is an ABAP?

Answer 6 : ABAP (Advanced Business Application Programming) is a high level programming language created by the German software company SAP. It is currently positioned as the language for programming SAP's Web Application Server, part of its NetWeaver platform for building business applications. Its syntax is somewhat similar to COBOL.

Question 7 : What is an ABAP data dictionary?

Answer 7 : 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 8 : What is an ABAP/4 Query?

Answer 8 : ABAP/4 Query is a powerful tool to generate simple reports without any coding. ABAP/4 Query can generate the following 3 simple reports: Basic List: It is the simple reports. Statistics: Reports with statistical functions like Average, Percentages. Ranked Lists: For analytical reports. - For creating a ABAP/4 Query, programmer has to create user group and a functional group. Functional group can be created using with or without logical database table. Finally, assign user group to functional group. Finally, create a query on the functional group generated.

Question 9 : What are the advantages and disadvantages of using views in ABAP programming ?

Answer 9 : advantages: view is used to retrieve the data very fastly from the database tables *memory wastage is reduced *faster than joins to retrieve the data from database tables disadvantages: view is not a container,it will not hold the data *view memory is not permanent memory

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

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

SAP ABAP Contributors

krishan

Share your email for latest updates

Name:
Email:

Our partners