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

Former Member
0 Likes
210

Hi,

Can we handle two transaction codes in the same program using CALL TRANSACTION bdc input method?

Thnaks in advace

swathi

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
194

If the problem is can i use result of first call in second call, use

DATA: itab of the type BDCMSGCOLL.
CALL TRANSACTION bla bla bla ...MESSAGES INTO itab.

then use data from itab to build the second CALL.

If the problem, is related to errors management

the problem arise when first call succeeds and second fails, you lay have to reverse the first successful call if necessary, cause the CALL TRANSACTION use a COMMIT WORK in its own LUW.

Two BAPI call can share the same LUW and use only one commit, not two CALL TRANSACTION

Regards