‎2008 Feb 09 10:10 AM
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
‎2008 Feb 09 1:38 PM
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
‎2008 Feb 09 1:38 PM
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