

ABAP Workbench - BDC Programming Tips
What is BDC? Batch Data Communication or BDC is a batch interfacing technique that SAP developed. It is mainly used for uploading data into the SAP R/3 system. BDC works by simulating the user input from transactional screen via an ABAP program. The data input data file will come in the form of a flat file which the user save as file type txt file or prn file from the Microsoft Excel program. An Abaper will create a program to read the text file and upload into the SAP system. Normally, the tcode SHDB will be used to record the transaction code the user used. After, the simulation, the Abaper can generate a sample program and modify from there. It makes the programming easier and faster. Interview Questions on BDC Q. What is BDC- its use, and how to use it? Q. In BDC how can we handle Table Controls? Q. Suppose we are transfer data through BDC from leagacy to SAP and their is some duplicate data in legacy system but we don't want this in SAP system .So how can we check that this data is already exist? In BDC you would have all your legacy data in an internal table. Use Delete Adjacent dulpicates syntax to delete duplicate entries. Q. Can we use two transaction code in one BDC like XK01 & XD01 if yes how? Q. How can we handle errors in Function Module? Exceptions is used to handle errors. Q. Can we use Session method & Call transaction both in one BDC if yes please give me example and scenerio where we use this? You start your dataload using Call Transaction and if any errors occur push all those errors in a session so that your dataload takes place uninterrupted and you can processs ur errors later.
|
