on 02-11-2010 8:50 AM
Hi,
We are running CRM 7.0 on a linux server. We have to extract business partner data and to generate a text file with tab on the server. Then we will use a FTP script to send the file to a third party server (windows).
We have some issue when generating the text file: the tabs between each data are correct but the carriage return are not good, so we have a lot of space between the end of a line and the beginning of the next one.
Do you have any idea how to generate correctly a text file with tab on a linux server ?
In the program, I use the code cl_abap_char_utilities=>horizontal_tab to separate each data. Then I use open dataset lv_file for output in BINARY MODE to create the file.
Marc
Is it really about how to generate correctly a text file ?
Problems with carriage returns in ftp usually arise from incorrect transfer mode between Unix/Linux and Windows.
Make sure you use ascii, not binary.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.