Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Runtime Errors "RAISE_EXCEPTION"

Former Member
0 Likes
3,209

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

2 REPLIES 2
Read only

former_member196299
Active Contributor
0 Likes
2,761

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

Read only

Former Member
0 Likes
2,761

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.