‎2007 Apr 26 9:40 AM
Hi Gurus!
I have uploaded file through archivelink. It generates an object id automatically.
May i know how can i get filename? like
a.pdf i am uploading , i want to retrieve 'a' (name).
Thanks in advance.
‎2007 Apr 26 9:55 AM
Hi,
I think you need to run the FTP command FM..
CALL FUNCTION 'FTP_COMMAND'
Pass the command the directiory path for the arcive in command parameter..
you get the result in data table parameter..
Now looping on the result table you search for the '.pdf'
if sy-subrc = 0.
move that offset into an internal table.
now you can get the file name into your work area..
Hope am not wrong with your question..
reward if useful
regards,
nazeer
‎2007 Apr 26 9:55 AM
Hi,
I think you need to run the FTP command FM..
CALL FUNCTION 'FTP_COMMAND'
Pass the command the directiory path for the arcive in command parameter..
you get the result in data table parameter..
Now looping on the result table you search for the '.pdf'
if sy-subrc = 0.
move that offset into an internal table.
now you can get the file name into your work area..
Hope am not wrong with your question..
reward if useful
regards,
nazeer