Please Help,
We are suppose to create a wait program which halts the load of the "Transaction Data" load till the "Master Data" load completes. The Wait program is written in ABAP codes (pls see below for the ABAP code). But when the process chain runs, the wait program is not triggering through variant. We have tried deleting the wait variant and re-creating it. Still its not working.
ABAP Code
-----------------
ZWAIT.
Data : time like sy-uzeit value '010100',
diff type i.
diff = time - sy-uzeit.
If SY-UZEIT < time.
wait up to diff seconds.
endif.