Sei sulla pagina 1di 3

1) What is BDC?

 BDC stands for Batch Data Communication. BDC is used to upload data from legacy
system to SAP system.

2) What are the different methods of BDC?


 The diff methods of BDC are.

 Batch input session method


 Call Transaction method

3) What is the t-code for transaction recorder?

 SHDB

4) 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
Used to close session. We can process the
BDC_CLOSE_GROUP session only after is closed

5) What is FM used to 0upload the flat file to SAP?

 GUI_OPLOAD is the fm used to upload the flat file to sap.

6) What is recording? & what it contains?

 Recording will record the data and it contains what data need to upload to the sap
system and how to upload the data.

7) Which BDC technique you prefer ?

 If we want to transfer large amount of data and when we need to use more than one
transaction code we prefer session method. For small or less amount of data and for
single transaction use call transaction.

8) What is the t-code to see the session methods?

 SM35

9) How to execute session programmatically or automatically?

 Goto RSBDCSUM Program , give the session name then give FROM and TO Date fields
and Execute.

10) What is the diff between batch input session method and call transaction?
Call Transaction Method Session Method
Asynchronous processing Synchronous processing
No logs will be created, so errors have to be Logs will be created, so errors will be handeled by
handled explicitly system
Only single transaction is processed Multiple transaction can be processed
Database updates are synchronous or
Asynchronous Synchronous database updates

11) How do you capture error messages in call Transaction?

 By calling BDCMSGCOLL structure & put into a internal table and call function
‘Format_message’.

12) What are the fields available in the BDC?

 Program Name (name of program), Dynpro (Screen num), Dynbegin(starting of the


sceen), Field Name, Field Value.

13) How to handle the errors in session method?

 In session method the system automatically handled the errors. goto SM35
select the session name ,then select the analysis tab button in the top after
that select the Log created, Here we can see the error record.

14) What should be the Approach for writing a BDC program?

 Analyse the t-code,


 Create Recording,
 Transfer data from Legacy system to internal table,
 Transfer data from internal table to BDC structure,
 Create session or call transaction to upload the data to database.

15) What are the diff methods of processing modes for batch input?

 Background (N)
 Foreground (A)
 Display only Errors(E)

16) Without executing the session is it possible to upload the data?

 No without executing the session data will not be uploaded.

17) How do you save the data in BDC tables OR What is the last entry in All BDC
Tables?

 In all BDC tables the last entry is to save the data by using the field name
BDC_OKCODE and a field value of of ‘/11’ Or ‘F11’.
18) Can we write the code both call transaction and session method in single
program?

 YES it is possible to write call transaction and session method in single program.

19) What are the diff types of update modes in BDC?

 In bdc we have two types of updation modes –


1) Synchronous.
2) Asynchronous.

20) Does the BDC_INSERT function allow multiple transactions to be processed by


SAP?

 YES BDC_INSERT function allows for multiple transactions.

21) How many sessions will be opened using BDC_OPEN_GROUP?

 Only one session can be created using the BDC_OPEN_GROUP.

22) What are the diff phases of background processing?

 Phase of Background processing are

*Job Scheduling
*Job Processing
*Job Overview

23) What is the diff between BDC_OKCODE and BDC_CURSOR?

 BDC_OKCODE is used for storing the commands during the recording


 BDC_CURSOR it contains the cursor position, it contains the field in which the cursor
will be.

24) What are the commands that allow you to process sequential files ?

 OPEN DATASET---Opens the file .


 READ DATASET---Read the file
 CLOSE DATASET---Closed the file
 TRANSFER to---Transfers the file

25) What are the parameters of BDC_OPENGROUP fm?

 Client No
 User name
 Group name
 Keep
 Hold Date

Potrebbero piacerti anche