‎2009 Sep 16 9:40 AM
Hi,
I have created a custom program, where other than ABAP statements, I have called a Method inside this custom program. My requirement is that I donnot want the Method to execute more than 10 seconds. If this method is taking more than 10 seconds to obtain the output, then the calling program should raise an exception for time out or a message for time out should be displayed, interupting the Method workprocess. How to achieve this scenerio. You help and suggestions are most welcome. Eagerly waiting for a reply.
Regards,
Pulokesh
‎2009 Oct 14 8:00 AM
HI:
There are 2 function modules
- SWE_CD_TST_DELAY
- C14Z_WAIT_N_SECONDS
Regards
Shashi
‎2009 Oct 13 4:51 PM
the only way I see is to call an asynchronous RFC function module with STARTING NEW TASK and to use
WAIT UNTIL log_exp UP TO 10 SECONDS.
the RECEIVE statement is a little tricky but using SAP help you should understand how it works
‎2009 Oct 14 8:00 AM
HI:
There are 2 function modules
- SWE_CD_TST_DELAY
- C14Z_WAIT_N_SECONDS
Regards
Shashi
‎2009 Oct 16 5:46 AM