Application Development 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: 

BDC_INSERT

Former Member
0 Kudos

Hi experts,

whats the use of the function module BDC_INSERT? How different is it from call transaction method?

Regards,

Abdullah

1 ACCEPTED SOLUTION

Former Member
0 Kudos

bdc_insert function module is used to send the internal table with data to populate the

screens of the transaction .

we also specify the transaction code which we want to record.

6 REPLIES 6

Sandeep_Kumar
Advisor
Advisor
0 Kudos

Hi,

The FM BDC_INSERT is used for : You use this module to pass data as a transaction to batch input.

I think both BDC_INSERT and call transaction behave the same way!

Rgds,

Sandeep

Former Member
0 Kudos

bdc_insert function module is used to send the internal table with data to populate the

screens of the transaction .

we also specify the transaction code which we want to record.

Former Member
0 Kudos

in call transaction there is no need to use the function modules.

but in case of session method use the fallowing transations.

bdc_open_group.

bdc_insert

bdc_close_group.

the perpose of bdc_insert is to insert the given data into the tranaction.

the transaction what ever u want.

thanks,

venkat

Former Member
0 Kudos

Hi.....

<b>BDC_INSERT :</b>

Use the BDC_INSERT function module to add a transaction to a batch input session. You specify the transaction that is to be started in the call to BDC_INSERT. You must provide a BDCDATA structure that contains all of the data required to process the transaction completely.

This graphic is explained in the accompanying text

BDC_INSERT takes the following parameters:

  • TCODE

The code of the transaction that is to be run.

  • POST_LOCAL

Parameter to update data locally. If POST_LOCAL = ‘X’, data will be updated locally.

(refer to the keyword documentation of SET UPDATE TASK LOCAL for more information)

  • DYNPROTAB

The BDCDATA structure that contains the data that is to be processed by the transaction.

DYNPROTAB is a table parameter in the function module.

also see the following link:

http://help.sap.com/saphelp_erp2005vp/helpdata/en/fa/097133543b11d1898e0000e8322d00/frameset.htm

Reward points if useful.....

Suresh.....

Former Member
0 Kudos

Hi,

With all reply one more thing with BDC_INSERT is that we can process only one Transaction with CALL TRANSACTION but with BDC_INSERT we can process more then one Transaction one after another .

as for ex.

CALL FUNCTION 'BDC_INSERT'

EXPORTING

tcode = tcode1

TABLES

dynprotab = i_bdcdata1.

CALL FUNCTION 'BDC_INSERT'

EXPORTING

tcode = tcode2

TABLES

dynprotab = i_bdcdata2.

Regards

Gaurav