on 07-14-2011 6:28 AM
HI,
Im using so_split_file_and_path ,,but the problem is when i call the fn module in webdynpro no errors ,butnot getting values in importing parameters..what will be the type of that strippedname and file path
Instead try Function module "TRINT_SPLIT_FILE_AND_PATH".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vasavi,
Both the parameters are string types only. Make sure you provide the full path name.
Regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vasavi,
Check The Function Module it is displaying correctly .
check this code it is working fine and u can get the path and strippedname
DATA filename TYPE string.
DATA file_path TYPE string.
TEMP = 'C:/RAJ.DOC'.
CALL METHOD cl_fitv_gos=>split_path
EXPORTING
iv_path = TEMP
IMPORTING
ev_filename = filename
ev_path = file_path.
Regards,
Basuvaraj.P
Edited by: basavaraj.p on Jul 14, 2011 2:26 PM
Hi Vasavi,
Go to debugg mode and check data is coming or not.
DATA: file_name LIKE rlgrap-filename,
file_path LIKE rlgrap-filename.
CALL FUNCTION 'SO_SPLIT_FILE_AND_PATH'
EXPORTING
full_name = 'C:\vasavi.doc'
IMPORTING
stripped_name = file_name
file_path = file_path.
Please refer SAP NOte
769439 Documents with long file names cannot be opened
734889 SAPoffice: File names truncated (multi-byte code page) .
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vasavi
You are not getting the values exported by the FM though it has imported values from your program values to it. Is this the case?
Revert
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.