SAPHub

SAP ABAP Interview Questions & Answers in BDC

What is BDC?

BDC stands for Batch Data Communication. BDC is used to upload data from flat file to SAP.

What are the different methods of BDC?

What is the t-code to display batch input sessions?

SM35

What is the t-code for transaction recorder?

SHDB

What are the function modules used to create batch input session?

Function Module Name Purpose
BDC_OPEN_GROUP Used to create session
BDC_INSERT Used to insert batch input data
BDC_CLOSE_GROUP Used to close session. We can process the session only after is closed

What are the parameters in BDC_OPEN_GROUP?

Parameters Purpose
CLIENT Client in which session to be processed
GROUP Name of the session
HOLDDATE Lock date
KEEP Keep session even after successful processing
USER This is used to check the user authorizations to run the transactions

What are the parameters in BDC_INSERT?

Parameters Purpose
TCODE Transaction Code
DYNPROTAB Contains transaction data

What is the syntax for Call Transaction?

CALL TRANSACTION <tcode> USING <bdctab> MODE <mode> UPDATE <update> MESSAGES INTO <bdc_msg_coll>.

What are the differences between session method and call transaction method?

Call Transaction Method Session Method
Asynchronous processing Synchronous processing
No logs will be created, so errors have to be handled explicitly Logs will be created
SY-SUBRC = 0, if it is successful SY-SUBRC will not be returned
Database updates are synchronous or Asynchronous Synchronous database updates

What is the ABAP program name to process the batch input session automatically?

RSBDCSUB