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

Multiple sessions

Former Member
0 Likes
423

Can v use a single BDC prg to open multiple sessions, i.e. can v use a single BDC prg to submit the data into multiple batch input sessions?

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
381

Yes, we can do that. Just required differencr BDC_OPEN, BDC_INSERT & BDC_CLOSE Function calls.

Regards,

Amit

Reward all helpful replies.

2 REPLIES 2
Read only

amit_khare
Active Contributor
0 Likes
382

Yes, we can do that. Just required differencr BDC_OPEN, BDC_INSERT & BDC_CLOSE Function calls.

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
381

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,