Application Development 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: 

Put Delay on Batch Processing

Former Member
0 Kudos

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

4 REPLIES 4

abdul_hakim
Active Contributor
0 Kudos

hi use <b>UPDATE 'S'</b> instead of <b>UPDATE 'A'</b>.

Cheers,

Abdul Hakim

FredericGirod
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

ferry_lianto
Active Contributor
0 Kudos

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