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 session with multiple transactions

Former Member
0 Likes
328

hi friends pls tell its urgent pls ...............

.WE KNOW THAT WE CAN RUN CALL TRANS METHOD FOR ONLY ONE TRANSACTION.

BUT WE CAN RUN SESSION METHOD FOR MULTIPLE TRANSACTIONS.

PLS TELL ON EXAMPLE CODE FOR THIS .FOR THIS HOW MANY BDCOPENGROUPS WE HAVE TO WRITE AND HOW MANY BDC INSERT GROUPS WE HAVE TO WRITE .pls give some sample coding

1 REPLY 1
Read only

Former Member
0 Likes
257

Hi Sunil,

Follow this skeleton logic:

open_group for tran1

loop at it_data1.

*Populate bddata structures

bdc_insert. for tran1

endloop.

close_group. for tran 1

open_group for tran2

loop at it_data2.

*Populate bddata structures

bdc_insert. for tran2

endloop.

close_group. for tran 2

Regards,

Ravi