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 transaction usin bdc session

Former Member
0 Likes
815

how can i run multiple transaction using bdc session method.

one more ques is that how can we record errors in call transaction method.

plz reply with coding so tat it can be seen by doing.

3 REPLIES 3
Read only

Former Member
0 Likes
501

in ur bdc program u'll use BDC_OPEN_GROUP for opening session.

BDC_CLOSE_GROUP for closing the session.

in between these two u'll use the FM BDC_INSERT once.

for multiple transactions u've to call this method for multiple times.

for this FM u need to provide the TCODE and BDC DATA TABLE both are different for differnt transaction.

Please try the following methods for record errors in call transaction method.

1.BDCMSGCALL

2.FORMAT_MESSAGE

Pls Reward points.

Edited by: Prabakaran Dhatchanamoorthy on Jan 22, 2008 1:13 PM

Edited by: Prabakaran Dhatchanamoorthy on Jan 22, 2008 1:27 PM

Read only

Former Member
0 Likes
501

Using internal table first u need to use BDC_OPEN_GROUP and then BDC_INSERT and then BDC_CLOSE_GROUP... Once use the same logic above for running for another transaction and so...on

Read only

Former Member
0 Likes
501

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.

Reward points if useful.