‎2007 Jun 06 1:29 PM
hi ,
Can we define an error message in the F.M source code
eg : IF sy-subrc <> 0.
MESSAGE e000 WITH 'Unable to open file'.
ENDIF.
thxs,
vind.
‎2007 Jun 06 1:36 PM
Hi Vind,
You defenitely can, but in my opinion, it's better you pass a parameter back, may be SY-SUBRC, based on which error messages are displayed,i.e, if 0 is passed, the operation is successful, and if 4, file open error and so on.
Regards
Anil Madhavan
‎2007 Jun 06 1:30 PM
‎2007 Jun 06 1:36 PM
Hi Vind,
You defenitely can, but in my opinion, it's better you pass a parameter back, may be SY-SUBRC, based on which error messages are displayed,i.e, if 0 is passed, the operation is successful, and if 4, file open error and so on.
Regards
Anil Madhavan
‎2007 Jun 06 1:39 PM
hi
good
go through this link
http://help.sap.com/saphelp_nw04/helpdata/en/a5/3ec9f74ac011d1894e0000e829fbbd/content.htm
thanks
mrutyun^