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

How can we use multiple transactions by using bdc_insert.

Former Member
0 Likes
841

HI

How can we use multiple transactions by using bdc_insert.

HI

How can we use multiple transactions by using bdc_insert.

5 REPLIES 5
Read only

Former Member
0 Likes
809

Hi,

In between the Open and Close we have to use the BDC_INSERT for the Tcodes you have to do.

BDC_OPEN_GROUP

BSD_INSERT

TCODE = tcode1

BDC_INSERT

TCODE = tcode 2

BDC_CLOSE_GROUP

check the SDN for more on this.

Regards

Lekha

Read only

Former Member
0 Likes
809

Hi

multiple transaction is possible using session method.

Have one BDC_OPEN_GROUP, multiple BDC_INSERT s and one BDC_CLOSE_GROUP.

You should have multiple BDC_INSERT s for multiple transactions.

call function BDC_OPENGROUP.

Build BDC data and cal lBDC_INSERT for transaction 1

Build BDC data and cal lBDC_INSERT for transaction 2

Build BDC data and cal lBDC_INSERT for transaction 3

paas the tcodes to bdc_insert.

call function BDC_CLOSE_GROUP.

Regards

Jana

Read only

Former Member
0 Likes
809

Edited by: Janardhan Reddy on Aug 29, 2008 12:56 PM

Read only

narin_nandivada3
Active Contributor
0 Likes
809

Hi Manpreet,

Please go through these links..

Hope this would help you.

Good luck

Narin

Read only

Former Member
0 Likes
809

Hi,

call bdc_insert as many transactions as u want within the bdc_open_group & bdc_close_group.

for example.

call function bdc_open_group.

loop at itab.

call function bdc_insert.

call function bdc_insert.

-


-


endloop.

call function bdc_close_group.

Regards