‎2008 Jan 16 6:14 AM
Hi Friends,
During the execution of scheduled background job .The system is showing RUN TIME ERROR "RAISE_EXCEPTION" when i am going through job log.
Pls help me to find out the reason of this runtime error.When this occurs with this type of runtime occurs & how can i resolve this.
With Regards
Amit
‎2008 Jan 16 6:38 AM
hi Amit ,
This is runtime error which occurs in program execution if the value of sy-subrc is not 0 , and the exception is not handled propely . That means for any function call or method callyou have not caught the exceptions and handled them properly ...
To avoid this runtime errors pease check the ABAP Index for exception handling .
Please revert back if further assistance needed .
Regards,
Ranjita
‎2008 Jan 16 4:06 PM
Exceptions as raised by function modules. If a program calling the function module does not handle the exception (check for sy-subrc value after the call to the function module) or switch off the exception ( OTHERS = 0 in the function module call exception list) a dump would result in the event that the function module does raise an exception.
If this call to the function module is in a Z program you can change the code to either handle or switch off the exception. If it is an SAP program (which should not be the case because that would mean it is a bug that SAP needs to fix) then you would have to investigate why the function module failed and how can the raising of the exception be avoided.
To know which function module failed look at the dump in transaction ST22.