Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

How to do BDC without writing BDC program

http://www.saptechnical.com/Tutorials/ABAP/BDC/withoutBDC.htm
Steps:
1. Work out the transaction you would use to create the data manually.
2. Use transaction SHDB to record the creation of one material master data. Clic
k the New recording button or the Menu - Recording - Create
3. Save the recording, and then go back a screen and go to the overview.
4. Select the recording and click on Edit - Create Program. Give the program a Z
name, and select transfer from recording.
5. Edit the program. You will see that all the data you entered is hard-coded in
to the program. You need to make the following changes:
5.1 After the start-of-selection, Call ws_upload to upload the file (the excel f
ile needs to be saved as TAB separated).
5.2 After the open-group, Loop on the uploaded data. For each line, perform vali
dation checks on the data, then modify the perform bdc_field commands to use the
file data.
5.3. After perform bdc_transaction, add the endloop. Execute the program. It wil
l have options to create a batch session or to process directly.

You might also like