F BDC Session Transaction in SAP | CodeTheta

BDC Session Transaction in SAP

June 06, 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 session transaction.

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

In session transaction 3 function module used:
BDC_OPEN_GROUP - Here we have to pass client, user, group, keep.
BDC_INSERT - Here we have to pass TCODE and bdcdata structure.
BDC_CLOSE_GROUP

In session transactions you can track errors / exceptions in SE37.

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