Top 50 Sap Abap Web Dynpro Interview Questions You Must Prepare 06.Dec.2023

We can send a report to the printer instead of diplaying it on the screen. To do this, use the keywords TO SAP-SPOOL: SUBMIT RSFLFIND…TO SAP-SPOOL DESTINATION 'LT50'.

There are four types of Joins:

  1. Self Join.
  2.  Inner Join.
  3.  Outer Join.
  4.  Equi Join.

There are three options for passing selection and parameter data to the report.
- Using a report variant.
- Using a range table.

Fields of BDC_Tab & BDCDATA Table:
Sr.No                 Fields             Description.
1                        Program         BDC Module pool.
2                        Dynpro            BDC Screen Number.
3                        Dynbegin        BDC Screen Start.
4                        Fname            Field Name.
5                        Fval                 BDC field value.

By using two types of function modules to be called in SAP Script:


There are 5 elements of selection screen:

Selection-screen include blocks <B>.
Selection-screen include parameters <P>.
Selection-screen include select-options <S>.
Selection-screen include comment <C>.
Selection-screen include push-button <push>.

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.


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.

There are 6 attributes of FM:

  1. Import.
  2. Export.
  3. Table.
  4. Changing.
  5. Source.
  6. Exception.

SAP Script layout, text element, and some DDIC objects.

VBAP – Sales Document, Sales Document Item, Material Number, Material Entered, Batch Number, Material Group, Target Quantity in Sales Document.

There are 3 ways to schedule in background:
The easiest of the three is SA38.
In foreground jobs are only allowed a certain amount of runtime. Long running jobs usually times out in foreground, and have to be run background. Some customers has day-end jobs to fill custom tables, and these only run late at night, so they are scheduled as background jobs as well. There may be any of a hundred reasons why you want a job to run in background instead of foreground, and these are only 2 of them.

Select-options specify are displayed on the selection screen for the user to enter values.
Different Properties of Select-options:

  1. Visible Length.
  2. Matchcode Object.
  3. Memory ID.
  4. Lowercase.
  5. Obligatory.
  6. No Display.
  7. Modify ID.

A work process is where individual dialog steps are actually processed and the work is done. Each work process handles one type of request.

DynPro is a Dynamic Programming which is a combination of screen and the associated flow logic Screen is also called as DynPro.

The SET SCREEN and LEAVE SCREEN statements controls screen flow.

There are four types of screen keywords: Module, Loop, Chain and Field.

There are two types of function modules used in F4 help:


A central system with centrally installed presentation software.
Two-level client/server system with rolled out presentation software.
Two-level client/server system. Presentation and Application run on the same computer.
Three-level client/server system. Presentation, Application and database each run on separate computers.

Transaction code is entered in command field to open the table – Utilities – Table contents display.

SAP R/3 refers to Systems Application and Product for data processing Real-time having a 3 tier architecture i.e. Presentation layer, Application layer and Database layer.

PAGES, Page windows, Header, Paragraph, Character String, Windows.

Related objects from the ABAP/4 repository are assigned to the same development class. This enables you to correct and transport related objects as a unit.

There are maximum 6 sessions open in SAPgui.

A transaction is a collection os screens and ABAP/4 routines, controlled and executed by a Dialog processor. The Dilaog processor processes screen after the screen, thereby triggering the appropriate ABAP/4 processing of each screen. For each screen, the system executes the flow logic that contains the corresponding ABAP/4 processing. The controls passes from screen flow logic to ABAP/4 code and back.

Screen group is a field in the Screen Attributes of a screen. Here we can define a string of up to four characters which is available at the screen runtime in the SY-DNGR field. Rather than maintaining field selection separately for each screen of a program, we can combine logically associated screens together in a screen group.

Presentation Layer.
Application Layer.
Database Layer.

Steps for execution Session Method:

  1. System.
  2. Service.
  3. Batch Input.
  4. Session.
  5. Choose Session Name.
  6. Process.
  7. Asks for Mode (Display All Screen, Display Errors & Background).
  8. Process.

There are 13 screen elements:
i. Input / output fields.
ii. Text fields.
iii. Checkbox.
iv. Radio button.
v. Push Button.
vi. Drop down list.
vii. Subscreen.
viii. Table control.
ix. Tabstrip control.
x. Custom control.
xi. Box.
xii. Status icons.
xiii. OK_CODE fields.

The flow control of a dynpro consists os a few statements that syntactically ressemble ABAP/4 statements. However, We cannot use flow control keywords in ABAP/4 and vice-versa.

Call Transaction –
@ Single transaction.
@ Synchronous processing.
@ Asynchronous and Synchronous update.
@ No session log is created.
@ Faster.

Session –
1. Multiple Transaction.
2. Asynchronous processing.
3. Synchronous update. 
4. Session log is created. 
5. Slower.

Long fields in a table must always be located in the end, as the last field of the table. If a table has an append structure the append line must also be on the last field of the table.

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.

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.

The 2 editors are se38 and se80 both have the abap editor in place. In se38 you can go create programs and view online reports and basically do all thedevelopmet of objects in this editor. In se80 (object navigator) there are additional features such as creating packages,module pool , function group ,classes, programs (where you can create ur programs) and BSP applications .

• Input parameters are used to pass data to subroutines.
• Output parameters are used to pass data from subroutines.

Function Groups act as containers for Function Modules that logically belong together.
Function Groups:

  1. These cannot be defined in a Function Module.
  2. It cannot be called.
  3. They are containers for Function Module.

Function Modules:

  1. These must be defined in a Function Group.
  2. It can be called from any program.
  3. They are not containers for Function Group.

  1. Transparent table.
  2. Cluster table are data dictionary table objects.
  3. Indexed table.
  4. Internal tables.
  5. Pool table.
  6. Sorted table.
  7. Hash table.

A table cluster combines several logical tables in the ABAP/4 Dictionary. Several logical rows from different cluster tables are brought together in a single physical record. The records from the cluster tables assigned to a cluster are thus stored in a single common table in the database.