10-12-2010 8:24 AM
Hi masters,
i have a requirment where i need to relase all 10 orders at time.
so i have the data in internal table.
i loop the internal table
i use the bdc recording in the loop.
then call the TCODE to release all the orders.
endloop.
but it releases only one ORDER. then does not look at the next one and do the BDC.
NOW my wory is where should i use this statement?
CALL TRANSACTION 'REBDBU' USING bdcdata
MODE 'A'
MESSAGES INTO messtab.
in loop or
outside the loop?
thank you,
pasala.
10-12-2010 8:41 AM
Hi,
Use the call transaction in the loop . And after the call transaction just refresh the BDCDATA internal table .
Hope ur problem will be solved now .
Regards,
Madhukar Shetty
10-12-2010 8:37 AM
10-12-2010 8:38 AM
Hi,
you use the call transaction statement within the loop at the internal table because in your recording it processes only one order at a time .
regards,
Sakshi
10-12-2010 8:41 AM
Hi,
Use the call transaction in the loop . And after the call transaction just refresh the BDCDATA internal table .
Hope ur problem will be solved now .
Regards,
Madhukar Shetty
10-12-2010 8:41 AM
thank you all for your precious time to look at my query.
its sorted.
it should be in the loop and i should issue the clear bdcdata[].
then it works fine.
thank you once again.