BDC Interview Question


What is BDC programming ?

Transferring of large/external/legacy data into SAP system using Batch Input programming. Batch input is a automatic procedure referred to as BDC(Batch Data Communications).The central component of the transfer is a queue file which receives the data via a batch input programs and groups associated data into sessions.


Can we write the code both call transaction and session method in single program?

Yes it is possible to write call transaction and session in one program.


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. (This is more genric answer but you can add more on to this if you have worked on BDC)


When you prefer LSMW in SAP?

When we need to update medium amount of data we use LSMW. LSMW is also used when the person like functional consultant has less programming language.


Which BDC you prefer for data migration?

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.


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?.


What is the transaction for Recording BDC ?

Transaction Code for recording is SHDB


Can you set up background processing using CALL TRANSACTION?

Yes, Using No Screen Mode in 'CALL TRANSACTION'


How do you read files from the Application server ?

To read files from Application server You need to use the commands:

OPEN DATASET ---> opens the file(dataset) either in read /write mode. <.p>
READ DATASET ---> Read the file
CLOSE DATASET ---> Close the dataset once the date has been read .

How do you read/write files from/to the presentation server in SAP ABAP ?

You need use the below Function Modules to read/write :

GUI_UPLOAD --> To read data from file into an internal table
GUI_DOWNLOAD --> To write data from internal table to a file on presentation server

What is the structure of the BDC table?

The BDCDATA consists of the following fields:

PROGRAM [CHAR 40] - Online program name.
DYNPRO [NUMC 4] - Screen number.
DYNBEGIN [CHAR 1] - Flag to indicate the start of a new screen.
FNAM [CHAR 132] - Field name of a screen field to be filled with data.
FVAL [CHAR 132] - The actual value to be filled into the specified screen field.

How do you do BDC for a table control?

With other things as usual, there is a special trick that you have to use while doing BDC for table control. You need to use the BDC OKCODE '=P+' .

Its the BCD_OKCODE for Page down that can be used for scrolling down in table control.


Can we use call transaction and session method in the same program ? explain ?



Yes, we can call call transaction and session method in same program, generally we use call transaction for updating and session method for logging errors in the same program .

Previous
Next Post »