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

mulitiple tcodes throuch session method.

Former Member
0 Likes
426

Hi Friends,

can any one send me the code(in session bdc method) for multiple t.codes.

regards,

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
408

You can follow this pattern:

CALL FM OPEN_GROUP

LOOP AT ITAB.

CALL FM INSERT_GROUP  FOR TCODE 1

CALL FM INSERT_GROUP FOR TCODE 2

ENDLOOP.

CALL FM CLOSE_GROUP

Regards,

Naimesh Patel

Read only

0 Likes
408

I would create two sessions, so that different users could correct the errors for different transactions.

Rob

Read only

Former Member
0 Likes
408

Hi,

just use BDC_INSERT functional module in one session program N number of times, so that we can call multiple transactions in one BDC program

call function ' BDC_Insert'

exporting

tr. code = ' enter tr.code1 here'

table = 'give an internal table related totr.code1 here'

call function 'BDC_INSERT'

exporting

tr.code = ' enter 2nd tr code'

tables = ' 2nd internal table'

like above follow any no. of calls for every tr code

regards,

Maha