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 help req??

Former Member
0 Likes
260

Hi

can any one tell me the code for executing 2 BDC at the same time,like after executing the 1st BDC it takes the certain vaules & pass to the variables of other BDC & execute thet BDC same time & Display the final O/P in a Table form of the values genertaed in both the BDC.

Regrds

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
233

Hi

You can try in the below way

PERFORM one (1st BDC - Populate the value to screen-fields)

CALL TRANSACTION <tcode-bdc1> USING bdcdata

MODE 'N'.

IF sy-subrc EQ 0.

PERFORM two(2nd BDC - Populate the values obtained from the previous perform)

CALL TRANSACTION <tcode-bdc2> USING bdcdata MODE 'N'.

ENDIF.

Regards,

Ramkumar.K

1 REPLY 1
Read only

Former Member
0 Likes
234

Hi

You can try in the below way

PERFORM one (1st BDC - Populate the value to screen-fields)

CALL TRANSACTION <tcode-bdc1> USING bdcdata

MODE 'N'.

IF sy-subrc EQ 0.

PERFORM two(2nd BDC - Populate the values obtained from the previous perform)

CALL TRANSACTION <tcode-bdc2> USING bdcdata MODE 'N'.

ENDIF.

Regards,

Ramkumar.K