Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC

Former Member
0 Likes
946

Hi all,

What all ways I should practice in BDC. I did BDC dor MM01. What all other examples I should try

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
920

Hi Mohammed,

<b>Steps:</b>

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.

3)Click the New recording button or the Menu - Recording - Create

4) Save the recording, and then go back a screen and go to the overview.

5) Select the recording and click on Edit - Create Program. Give the program a Z name, and select transfer from recording.

6) 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:

7) After the start-of-selection, Call ws_upload to upload the file (the excel file needs to be saved as TAB separated).

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

9) After perform bdc_transaction, add the endloop.

Check these links on BDC:

http://www.sap-img.com/abap/learning-bdc-programming.htm

http://www.sapdevelopment.co.uk/bdc/bdchome.htm

http://www.sap-img.com/sap-download/bdcrecording.zip

http://help.sap.com/saphelp_47x200/helpdata/en/fa/097126543b11d1898e0000e8322d00/frameset.htm

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBLIB/BCDWBLIB.pdf

http://www.sappoint.com/abap/bdcconcept.pdf

http://www.sap-img.com/abap/question-about-bdc-program.htm

http://www.sapdevelopment.co.uk/bdc/bdc_ctcode.htm

http://www.sapdevelopment.co.uk/bdc/bdc_recording.htm

http://www.sap-img.com/bdc.htm

http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm

http://www.sappoint.com/abap/bdcconcept.pdf

http://www.planetsap.com/bdc_main_page.htm

http://www.sappoint.com/abap/files.pdf

http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc

http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_gci1068429_tax293481,00.html

Thanks,

Vinay

9 REPLIES 9
Read only

Former Member
0 Likes
921

Hi Mohammed,

<b>Steps:</b>

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.

3)Click the New recording button or the Menu - Recording - Create

4) Save the recording, and then go back a screen and go to the overview.

5) Select the recording and click on Edit - Create Program. Give the program a Z name, and select transfer from recording.

6) 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:

7) After the start-of-selection, Call ws_upload to upload the file (the excel file needs to be saved as TAB separated).

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

9) After perform bdc_transaction, add the endloop.

Check these links on BDC:

http://www.sap-img.com/abap/learning-bdc-programming.htm

http://www.sapdevelopment.co.uk/bdc/bdchome.htm

http://www.sap-img.com/sap-download/bdcrecording.zip

http://help.sap.com/saphelp_47x200/helpdata/en/fa/097126543b11d1898e0000e8322d00/frameset.htm

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBLIB/BCDWBLIB.pdf

http://www.sappoint.com/abap/bdcconcept.pdf

http://www.sap-img.com/abap/question-about-bdc-program.htm

http://www.sapdevelopment.co.uk/bdc/bdc_ctcode.htm

http://www.sapdevelopment.co.uk/bdc/bdc_recording.htm

http://www.sap-img.com/bdc.htm

http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm

http://www.sappoint.com/abap/bdcconcept.pdf

http://www.planetsap.com/bdc_main_page.htm

http://www.sappoint.com/abap/files.pdf

http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc

http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_gci1068429_tax293481,00.html

Thanks,

Vinay

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
920

It really depends, you could do BDC over any transaction(non enjoy tranaction) as long as your data allows. Since you seem to be working with MM, you could always try doing BDC over ME11, creating PIRs, or ME21, creating POs, but again, if there is a BAPI, you should use that before the BDC, there is a BAPI for creating POs,

Regards,

Rich Heilman

Read only

0 Likes
920

Hi Rich,

You seems to be giving me good answers. I just want to practice with BDC. I have created BDC for MM01. and uploaded the contents from notepad. Now what more I should do to be good in BDC

Read only

0 Likes
920

Well, if you were successful using MM01, why not practice and try using MM02 to change your material.

Again, the BAPI usage for the material master is better.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
920

Hi,

Probably try BDC for a table control screen..

http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm

Thanks,

Naren

Read only

Former Member
0 Likes
920

In real-time environment, we first opt for BAPI before going for BDC. However, you can try recording any t-code using SHDBR but not on enjoy transactions.

Thanks,

Santosh

Read only

Former Member
0 Likes
920

Sorry its typo.. not SHDBR but SHDB.

Thanks,

Santosh

Read only

Former Member
0 Likes
920

Hi,

As I mentioned earlier..Try BDC for a screen which takes input from a table control..

Example..VA01..

THanks,

Naren