Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create file using TRANSFER with spaces caracters and LF code

Former Member
0 Likes
393

Hi Abap Experts,

We develop an Abap program to create a flat file from a fixed length structure using TRANSFER instruction.

It appears reccords are created in flat file with variable length, terminated with LF code (Line Feed). Space caracters in the end of our structure are ignored in file.

Is there any option to force SAP using space caracters like significant caracters during file generation, and keeping LF at end of reccord ?

We work on SAP ECC6.0, SAP_ABA 700 SP12.

Thanks a lot.

Etienne

2 REPLIES 2
Read only

Former Member
0 Likes
359

For your information : we resolve this question using...LENGTH option in TRANSFER instruction.

Best regard

Etienne

Read only

0 Likes
359

I am facing similar kind of issue.Could you please tell me in detail .How to use the length option in transfer.

I need to remove only LF character(#) other then the symbol #(somtimes used in description) from the file.

Thanks in advance.

Manju