‎2009 Jun 11 11:38 AM
Hi Gurus,
I am struck with BDCs for multiple tcodes.
I know that multiple tcodes can be done only using session method.
Please help how to proceed.
Regards,
V S L Bharathi K
‎2009 Jun 11 11:56 AM
Hi,
Loop at itab1.
*fill BDCDATA table
call transaction 'XXXX' using mode l_mode
messages in mess_tab
*"Chk if any Error/Abort message in mess_tab
* get the value for next processing.
read table message_tab with key type ='S'
msg_class = 'XX'
msg_no = 'NNN'.
l_par = mess_tab-msg_v1.
refresh BDCDATA.
*again fill BDCDATA table
call transaction 'YYYY' using mode l_mode
messages in mess_tab
endloop.
Hope this helps.
‎2009 Jun 11 11:56 AM
Hi,
Loop at itab1.
*fill BDCDATA table
call transaction 'XXXX' using mode l_mode
messages in mess_tab
*"Chk if any Error/Abort message in mess_tab
* get the value for next processing.
read table message_tab with key type ='S'
msg_class = 'XX'
msg_no = 'NNN'.
l_par = mess_tab-msg_v1.
refresh BDCDATA.
*again fill BDCDATA table
call transaction 'YYYY' using mode l_mode
messages in mess_tab
endloop.
Hope this helps.
‎2009 Jun 11 1:16 PM