FM : FILE_GET_NAME_USING_PATH
I am using the FM : FILE_GET_NAME_USING_PATH
can anyone help in identifying the scnario where it can give a dump.
When going through a few sample codes.I have observed that many developers avoid using the standard Mssg ID and Msg description which the SAP provides..when a sy-subrc check fails so I was a bit confused as why the standard message has been commented and instead a new message has been given.
By default we get :
if sy-subrc ne 0.
MESSAGE MSGID sy-msgno ...
but most of the time it is commented and replaced with
message text type 'E'.
can anyone throw soem light on this.
Thanks and reagrds,