‎2009 Oct 10 3:45 PM
Hi All,
We have designed a test HR form, following the steps provided in docuement "How to Create a Process with Design Time (EhP2) ".
After doing all the steps when we try to execute the process through program "RPASR_TEST_PROCESS_EXECUTION" we get an error/dump as mentioned below.
Can any one help in resolving this issue
Runtime Errors UNCAUGHT_EXCEPTION
Except. CX_PARAMETER_INVALID_RANGE
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_PARAMETER_INVALID_RANGE' was raised, but it was not caught
anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_ABAP_TSTMP=================CP' has to be
terminated.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_PARAMETER_INVALID_RANGE', was not
caught in
procedure "SUBTRACT_TIMESTAMPS" "(METHOD)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
Parameter has invalid value: Parameter TSTMP1 has invalid value 0.
Missing RAISING Clause in Interface
Program CL_HRASR00_PROCESS_UTILITIES==CP
Include CL_HRASR00_PROCESS_UTILITIES==CM00H
Row 1
Module type (METHOD)
Module Name SUBTRACT_TIMESTAMPS
Trigger Location of Exception
Program CL_ABAP_TSTMP=================CP
Include CL_ABAP_TSTMP=================CM002
Row 13
Module type (METHOD)
Module Name SUBTRACT
Thanks,
Sravanthi
‎2009 Oct 12 9:02 AM
Parameter TSTMP1 has invalid value 0.
Either pass a correct parameter to the method, or surround your call to it with a TRY...CATCH...ENDTRY block.
Alternatively, if all the programs are SAP standard, search on OSS.
matt