‎2008 Apr 24 8:01 AM
Hi all,
Can any one explain the meaning of the following warning message.......
" *Return code (SY-SUBRC) for the EXCEPTION will not be processed after CALL FUNCTION*
*XXL_FULL_API*
*(You can turn off this check by setting all EXCEPTIONS to 0.) "*
My question is if i set the all exceptions to zero whether it will work without any problem to the calling program ?
Regards
sd
‎2008 Apr 24 8:07 AM
Hi,
The return Value of a function will be populated in sy-subrc.
So in program if u r writing like
exception x1 =1
x2 = 2
etc xn = n.
You should process those exception.
That is u should check the sy-subrc after the call function and disply error message or do something when sy-subrc is not equal to 0.
otherwise u can avoid this error msg by assigning all the exception to 0.
exception x1 =0
x2 = 0
etc xn = 0.
but by doing this no exceptions will be captured what ever exception has occured sy-subrc will be 0.
regards,
Sheeba
‎2008 Apr 24 8:06 AM
Hi,
I think u r checking subrc after calling FM which is wrong concept.
calling FM will not set the sy-subrc..
i mean it willnot update the fiedl sy-subrc, if that FM was failed then it will raise its exception based on the condition where it failed..
hope i am clear to u...
Regards
Sunil Kumar Mutyala
‎2008 Apr 24 8:07 AM
Hi,
The return Value of a function will be populated in sy-subrc.
So in program if u r writing like
exception x1 =1
x2 = 2
etc xn = n.
You should process those exception.
That is u should check the sy-subrc after the call function and disply error message or do something when sy-subrc is not equal to 0.
otherwise u can avoid this error msg by assigning all the exception to 0.
exception x1 =0
x2 = 0
etc xn = 0.
but by doing this no exceptions will be captured what ever exception has occured sy-subrc will be 0.
regards,
Sheeba