ABAP Interview Questions and Answers

What is SAP ABAP?

ABAP (Advanced Business Application Programming), is a fourth-generation programming language, used for development and customization purposes in the SAP software.SAP ABAP is a high level language that is primarily used to develop enterprise application for large business and financial institution on SAP platform. Currently positioned along with Java, as the main language for SAP application server programming, most of the programs are executed under the control of the run-time system. This tutorial explains the key concepts of SAP ABAP.

What do you mean by an ABAP data dictionary?

ABAP dictionary is one the best tool of ABAP workbench and it is a central repository for data definitions in SAP system. It is used to store the data definitions, create and maintain user defined types. ABAP Dictionary  provides various tools to edit the SAP screen fields like assigning a field to input help (f4). ABAP dictionary is a central storage area for the description where we can create the objects and changing, deleting the objects related to data base. The main object type of ABAP dictionary are-

  • Database Table
  • View
  • Datatypes
  • Type Groups
  • Help
  • Domain
  • Lock Object

Explain the difference between pool tables and transparent tables?

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.

What do you mean by BDC (Batch Data Communications) programming?

BDC stands for batch data communication and it is a technique using with legacy data or data loading in to SAP system which is not updated in the SAP systems. For example, company decides to adapt its systems and procedures to SAP, and installs SAP, it will have to upload a huge volume of data that are a part of its legacy systems or old systems into the SAP system. This technique is done through SAP BDC (Batch Data Communication). BDC sessions, which are also known as Batch Input Sessions, are used to load legacy data into the SAP system and perform highly repetitive tasks that involve in data entry. BDC session simulates the online entry of all data, transactions, validations that are included in each transaction.

What is an Internal Table?

Internal tables are used to obtain data from a fixed structure for dynamic use in ABAP.  Each line in the internal table has the same field structure. The main use for internal tables is for storing and formatting data from a database table within a program.

List down the functional modules used in sequence in BDC?

There are the 3 functional modules which are used in a sequence to perform a data transfer successfully using BDC programming:

  • BDC_OPEN_GROUP – Parameters like Name of the client, sessions and user name are specified in this functional modules.
  • BDC_INSERT – It is used to insert the data for one transaction into a session.
  • BDC_CLOSE_GROUP – This is used to close the batch input session.

What is a foreign key relationship?

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.

What is Smart Forms?

SAP Smart Forms is used to create and maintain forms for mass printing in SAP Systems.As output medium SAP Smart Forms support a printer, a fax, e-mail, or the Internet (by using the generated XML output).SAP introduced SmartForms in 1998 to overcome the limitations in SAP Scripts. SmartForms are easier to develop, maintain and transport than SAP Script.

What is an ABAP/4 Query in SAP?

The ABAP Query application is used to create reports not already present in SAP system. It has been designed for users with little or no knowledge of the ABAP programming. ABAP Query offers users a broad range of ways to define reports and create different types of reports such as basic lists, statistics, and ranked lists.
The ABAP Query comprises four components:

  • Queries
  • InfoSets
  • User Groups
  • Translation of Query

What are the components of SAP scripts?

SAP scripts is a word processing tool of SAP which has the following components: Standard text. It is like a standard normal documents. Layout sets. – Layout set consists of the following components: Windows and pages, Paragraph formats, Character formats. Creating forms in the R/3 system. Every layout set consists of Header, paragraph, and character string. ABAP/4 program.

When you prefer LSMW in SAP?

When we need to update medium amount of data we use LSMW. LSMW is also used when the person like functional consultant has less programming language.

How to debug sapscripts ?

One should follow the following steps to debug sap scripts:

  1. Enter your Form name create it and activate it,
  2. then click on Utilities–>activate debugger ..
  3. Go to T-code se38 (ABAP Editor)
  4. Create a program for form and activate it,
  5. then Execute the driver program ..
  6. it will automatically go to debugging mode.

 

Summary
Review Date
Reviewed Item
ABAP Interview Questions and Answers are excellent
Author Rating
51star1star1star1star1star