‎2010 Jan 19 4:38 AM
Hi,
I am using the standard function module 'CONVERSION_EXIT_ABPSP_OUTPUT'.This doesn't have any exception defined.
When I am calling this function module by PATTERN, the sy-subrc check is also not coming automatically.
I would like to know in any case, the sy-subrc will have value other than zero.If not there is no use putting sy-subrc check after the function module call.Please clarify.
Thanks & Regards,
Soumya.
‎2010 Jan 19 4:49 AM
Hi,
I think it can have the sy-subrc other than zero. Just check the source code of the FM. Fm CONVERSION_EXIT_KONPR_OUTPUT is being called where sy-subrc can be set to non zero insdie this FM which will be transferred back to the caller.
So, better you keep a check for sy-subrc.
Thanks,
Vinod.
‎2010 Jan 19 5:01 AM
Hi Soumya
I checked a 'Where-Used' list of this FM and across classes and programs where it is called, the sy-subrc check is not used.
Still its a good programming practise i believe to handle sy-subrc <> 0. values.
The rest is upto you.
Hope this helps.
Harsh