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 programming

Former Member
0 Likes
828

pls tellme information abt bdc programming..

how to start this bdc programs?

thanks in advance.

regards,

ypr

6 REPLIES 6
Read only

Former Member
Read only

Former Member
0 Likes
799

Hi,

To start bdc program.

T-Code:SHDB. then selection 'NEW RECORDING' THEN,

Recording name-> Transaction code(You want to do bdc for which transaction) then procceed.

IF HELPFULL REWARD.

Read only

0 Likes
799

firstly go to the transaction code SHDB.then select new recording after it it processes.the go to ur program a internal table is maintained in which the data is available 4 you calling BDC.then

call transaction 'transaction code' using 'BDCDATATYPE' itab mode update message into 'msgtyp'.

mode and update type

A

E

N

Read only

Former Member
0 Likes
799

Hi ,

to start with BDC....

1.First prepare the flatfile same like ur internal table structure...

2.do the recordin using SHDB transaction

3.use GUI_UPLOAD function module to transfer data from flatfile to Internal table

4.use call transaction or session method to assign data to sap std transaction.

for more info....

search for " what is BDC ?" in forum...

or

http://sap-img.com/bdc.htm (good for begineers..)

Regards..

BALAJI ( Reward points if this helps u ...)

Read only

Former Member
0 Likes
799

Hi,

Go to SHDB, click NEW RECORDING.

Give a name for the recording.

Give the T-Code which u want to record.

Do the recording.

Then save.

Come back and click "PROGRAM"

in the Dialog box select "transfer from recording" or the other option.

now it'll show you the source code.

create a flatfile and upload.

any queries let me know.

Reward if useful....

Dinesh.

Read only

Former Member
0 Likes
799

Hi,

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.

Look at the beow link

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

Regards

Sudheer