F BDC Call Transaction in SAP | CodeTheta

BDC Call Transaction in SAP

June 05, 2024

Batch data communication is a popular old method to move legacy data to the SAP system. In BDC SAP uses a screen to update the data.
In BDC there are two types of data update methods. Call transaction and session method, here I will discuss BDC call transaction.

In the BDC method we have to record the screen with demo data through SHDB Tcode.

In call transaction we have to map the custom structure field with bdc_field then after mapping all the important fields we have
to write CALL TRANSACTION 'TCODE NAME' USING it_bdcdata MODE 'N' UPDATE 'S'.

In call transactions there are 3 modes:
A - To show all the screen.
N - No screen will show.
E - If any error occurs then the screen will show.

In call transaction there have 2 update modes:
Synchronous
Asynchronous

In call transaction if you want to handle error / exception then we can do this using bdcmsgcoll.

it_bdcdata will contain the structure of BDCDATA which has the following fields:
PROGRAM - It will hold the running program name.
DYNPRO - It will hold the screen number.
DYNBEGIN - It will hold the start screen number.
FNAM - It will hold a field name.
FVAL - It will hold field value.

This structure is used in Batch input.

If you have any Question you can contact us or mail us. We will reply you as soon as possible.

Post a Comment