‎2007 May 28 8:11 AM
Hi all,
I am using standard function modules 'Bupa_address_add' and 'Bupa_address_change'. Both of them do not have any exceptions defined. I want to know that if in any case sy-subrc will have value other than '0' (zero). IF not, then is there no use putting sy-subrc check after this FM. What should i do then?
Thanks in advance,
Rohit Khetarpal
‎2007 May 28 8:18 AM
Hi Rohit,
There is no need to put Sy-subrc check for this FM. Use the table parameter RETURN. Based on the values populated in the table you can validate the function module execution is successful or not.
Regards,
Sreekanth
‎2007 May 28 8:13 AM
Hi Rohit,
Sy-subrc can be other than zero.
In such cases where exceptions are not there you need to write your own error messages when the sy-subrc NE 0.
Reward points if useful.
Regards,
Atish
‎2007 May 28 8:18 AM
Hi Rohit,
There is no need to put Sy-subrc check for this FM. Use the table parameter RETURN. Based on the values populated in the table you can validate the function module execution is successful or not.
Regards,
Sreekanth