‎2006 Aug 16 1:28 PM
what are the steps to create BDC by call Transaction method?
what are the steps to create BDC by session method?
‎2006 Aug 16 3:00 PM
‎2006 Aug 16 1:31 PM
There is not much of difference in approach for session and call transaction methods.
1) Record the transaction for which you want to do a bdc, using the transaction SHDB.
2) generate the code using SHDB.
3) Make modifications to the generated program wherever necessary.
4) The generated program will give you an option to run it using call transaction or session(Radio-button).
also refer the following links:
Regards,
Ravi
‎2006 Aug 16 1:36 PM
Hi Selva,
Check these links also..
http://www.sap-img.com/bdc.htm
http://www.sap-img.com/abap/program-loads-the-bill-of-material.htm
Regards,
Vidya
‎2006 Aug 16 1:42 PM
Hi,
Gimme your email ID, will send you a good document containing sample code and steps.
Regs,
Venkat Ramanan N
‎2006 Aug 16 2:02 PM
‎2006 Aug 16 1:45 PM
Hi,
For a BDC upload you need to write a program which created BDC sessions.
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.
Click 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 into 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 file needs to be saved as TAB separated).
5.2 After the open-group, Loop on the uploaded data. For each line, perform validation 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 will have options to create a batch session or to process directly.
Also chk the link for detail description.
http://www.sap-img.com/bdc.htm
Reward points for helpful.
Regards,
Harini.S
‎2006 Aug 16 3:00 PM
‎2006 Aug 16 3:34 PM
Hi Selva,
Have a look at these good links for BDC-
<b>BDC</b>
http://www.sap-img.com/bdc.htm
www.sappoint.com/abap/bdcconcept.pdf
www.sap-img.com/abap/learning-bdc-programming.htm
www.sap-img.com/abap/question-about-bdc-program.htm
www.sapdevelopment.co.uk/bdc/bdchome.htm
www.planetsap.com/bdc_main_page.htm
http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
<b>Table control in BDC</b>
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
Mark useful answers.
Regards,
Tanuja.