Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FM : FILE_GET_NAME_USING_PATH

Hi,

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 ...

endif.

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,

Avinash.

Tags:
Not what you were looking for? View more on this topic or Ask a question