04-07-2006 7:48 AM
Hi,
Im currently using CALL TRANSACTION command to process my BDC. However I need to put delay when shifting from one screen to another in order to give time to the previous screen to update some SAP Tables. Currently the Batch Processing is too fast that some SAP Tables are not updated enough which results to errrors. Is there a way to put delay on Batch Processing using BDC/CALL TRANSACTION?
Thanks
04-07-2006 7:50 AM
hi use <b>UPDATE 'S'</b> instead of <b>UPDATE 'A'</b>.
Cheers,
Abdul Hakim
04-07-2006 7:51 AM
Hi,
are you sure you need time ? Cause most of time SAP wait the good end of the transaction to make comit. Maybe you have to access two times to your transaction, first time to make the first screen, and second time for the others things.
Rgd
Frédéric
04-07-2006 8:44 AM
I don't think delay is a good option as the processing time would increase or decrease with load on the server. Instead i would suggest u try and access the database tables which are getting updated or check fo locks which could possible help u to resolve the issue.
04-07-2006 1:24 PM
Hi Jim,
It is not best practice but sometime I do need to use this FM <b>SWE_CD_TST_DELAY</b> to delay some processing.
CALL FUNCTION 'SWE_CD_TST_DELAY'
EXPORTING
DELAY = '10'.
Hope this will help.
Regards,
Ferry Lianto