Learn SAP — Batch Data Communication BDC

Ckick ok give the program details (like if you create a new program). The code is created and ready for you to test. See the following screen shot.

bdc-009

Now you can execute the code or alter the code as you like. If you run the code it will look like as follows.

bdc-011

Instead of the above if you want to read from the input file while generating the program you need to check as read content from file. See the following screen shot.

bdc-010

Once the above Read from File is selected the code generated has open data set and read data set and close data set and if you run the code it looks like as follows.  You have a place to mention a file. See the following screen shot.

bdc-012

Creating a Fucntion Module:

Use the same way instead of program click on the function module that will create a function module. You can convert the function module as RFC so that the external system can call and input the data. If XI/PI  has a file we usually create a RFC or proxy and process the data.

The following links are reference that I used

http://help.sap.com/saphelp_47x200/helpdata/en/69/c2501a4ba111d189750000e8322d00/frameset.htm

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

https://wiki.sdn.sap.com/wiki/display/ABAP/BDC%20Tutorial

https://wiki.sdn.sap.com/wiki/display/ABAP/BDC

Hope this helps.

Advertisements

2 thoughts on “Learn SAP — Batch Data Communication BDC

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s