BDC + Module Pool Quick Reference
BDC + Module Pool Quick Reference
BDC + Module Pool Quick Reference
2|Page
Table of Contents
Overview: How BDC Works..........................................................................................................
Steps in data transfer.....................................................................................................................
Data Transfer Methods.................................................................................................................
Interview Questions (BDC)...
Module Pool Introduction...
Flow of Program..
Components in Module pool
Interview Questions (MP)..
Problems.....................................................................................................................................
Solutions..................................................................................................................................
3|Page
4|Page
5|Page
Session method
Synchronous processing takes place and a session is prepared, which is to be handled through SM35.
Moreover, in Batch Input processing system log is maintained for every transaction. In Call transaction
method messages have to be captured at runtime.
Direct input
This is an SAP supplied conversion program that allows very fast loading of certain objects. The
disadvantage is that it is not customizable.
6|Page
INTERVIEW QUESTIONS
1 What should be the approach for writing a BDC program?
Ans.: 1. Analysis the Data.2. Generate SAP structure.3. Develop transfer program
4. Create sequential file. 5. Create batch input program. 6. Process batch input
data
3 What are the problems in processing batch input sessions? How is batch input
process different from processing on line?
Ans.: Sessions cannot be run in parallel and not fast.
4 What do you do when the system crashes in the middle of a BDC batch session?
Check no. of records already updated and delete them from input file and run
BDC again.
7|Page
Entering data
Choosing a menu item
Clicking a button
Clicking or double clicking an entry
8|Page
9|Page
Screens
GUI status
10 | P a g e
ABAP Program
Each screen and GUI status in the R/3 System belongs to one ABAP program.
The ABAP program contains the dialog modules that are called by the screen
flow logic, and also process the user input from the GUI status.
ABAP programs that use screens are also known as dialog programs.
Process Before Output (PBO) event: which is processed before the screen is
displayed
Process After Input (PAI) event: which is processed after a user action on the
screen
Process on help request (POH): which is processed when F1 is pressed
Process on value request (POV):which is processed when F4 is pressed
Dynpro
A screen together with its Flow logic is called a Dynpro ("Dynamic Program"
since the screen flow logic influences the program flow)
Each dynpro controls exactly one step of your Dialog Program.
The screens belonging to a program are numbered. The screen flow sequence
can be either linear or cyclic. From within a screen chain, you can even call
another screen chain and, after processing it, return to the original chain. You
can also override the statically-defined next screen from within the dialog
modules of the ABAP program.
11 | P a g e
12 | P a g e
13 | P a g e
14 | P a g e
5. How does the interaction between the Dynpro and the ABAP/4 Modules takes
place?
-A transaction is a collection of screens and ABAP/4 routines, controlled and
executed by a Dialog processor. The Dialog 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/4processing. The controls pass from screen flow logic to ABAP/4 code and
back.
15 | P a g e
16 | P a g e
Problem
Goods Receipt (GR) in bulk are to be manually carried out, as a
simple solution we develop a MODULE POOL program with the background
processing of BDC Call transaction method.
SCENARIO :
17 | P a g e
SOLUTION
Proposed a transaction for module pool program as ZMB01 which receives
the input from user for the incoming document (like for eg: Purchase Order) and
later push it to the Batch Data Conversion (BDC) with help of Call transaction
method for posting the incoming documents to system.
Regards,
Pavan Golesar.
SAP ABAP CERTIFIED Consultant.
abaper.weebly.com
SAP University Alliance | Pavan Golesar ([email protected])