06-07-2011 6:50 AM
Hi,
I want to set the execution time in the IN_UPDATE block of a BADI, could you tell me how to code that?
When the specified execution time reaches, and the badi is still running, then pop up a window and tell the end user the time out message.
Does SAP have any function regarding this? Thanks in advance.
06-07-2011 8:58 PM
You can have the INPUT be a number of seconds, then calculate the max endtime = SY-UZEIT + INPUT. Have checks throughout the program that returns an error as OUTPUT if exittime >= SY-UZEIT(current time).
There may be an easier way but this is all I can think of as a user set timeout option.