‎2010 Apr 19 12:05 PM
Hi,
Is there any function module to identify the type of file .xml, .txt, image
any suggestions.
Thank You.
‎2010 Apr 19 12:22 PM
Hi,
I think the function module TRINT_FILE_GET_EXTENSION would be helpfull.
Regrads,
Lokesh
‎2010 Apr 19 12:11 PM
‎2010 Apr 19 12:22 PM
Hi,
I think the function module TRINT_FILE_GET_EXTENSION would be helpfull.
Regrads,
Lokesh
‎2010 Apr 19 12:36 PM
Hi Sami,
Please go through the below pseudo code :-
DATA : wa_fpath type rlgrap-filename VALUE 'C:\Documents and Settings\Administrator\Desktop\abc.txt',
w_len type i.
w_len = STRLEN( wa_fpath ).
w_len = w_len - 4.
write : wa_fpath+w_len(4).
"o/p : .txtThanks & Regards
- Always Leaner