2014 Mar 24 7:03 AM
Hello All,
I have a requirement of uploading .CSV file from FTP path. I am using the FM, TEXT_CONVERT_CSV_TO_SAP. But only the first column is getting uploaded into the internal table. The FMs I am using are
HTTP_SCRAMBLE
FTP_CONNECT
FTP_COMMAND
FTP_SERVER_TO_R3
TEXT_CONVERT_CSV_TO_SAP
and the file format is :
2,21.01.2014,ST,TCL,PHAL,W02,2489,170,95214020101.........
only 2 is getting uploaded in the first column of the output internal table.
Please suggest me if anyone has come across such scenario.
Regards,
Supratim
Hello All,
I have a requirement of uploading .CSV file from FTP path. I am using the FM, TEXT_CONVERT_CSV_TO_SAP. But only the first column is getting uploaded into the internal table. The FMs I am using are
HTTP_SCRAMBLE
FTP_CONNECT
FTP_COMMAND
FTP_SERVER_TO_R3
TEXT_CONVERT_CSV_TO_SAP
and the file format is :
2,21.01.2014,ST,TCL,PHAL,W02,2489,170,95214020101.........
only 2 is getting uploaded in the first column of the output internal table.
Please suggest me if anyone has come across such scenario.
Regards,
Supratim
2014 Mar 24 7:13 AM
Hi,
I never used FTP with SAP, but maybe you have the option MODE : Binary or Ascii. If you have it, use the option Ascii for transferring text file format.
regards
Fred
2014 Mar 24 7:16 AM
The SAPFTP Library - FTP Programming in ABAP(Under Construction) - ABAP Development - SCN Wiki
check with this website.
2014 Mar 24 2:13 PM
Hi All,
I have solved these issue by using FM, TEXT_CONVERT_TEX_TO_SAP.
2021 Jan 29 3:30 PM
Can you tell me how u done this fm and could you share the code logic ?
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |