Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Flat file issue in extract program

Hi All

I have developed an extract program, which downloads the data from SAP and dump it in a flat file, in desired format.

Flat file contains various rows.

In one row, i want to keep 80 charecter length blank at the end.


HDR2345 c 20060125 0r42z1005.5USD

Now after "USD", i want to keep 80 char length as Blank spaces.

If i code it as v_record+33(80) = ' '.. it won't work out...

Please suggest me...



Former Member
Former Member replied


Declare one character field having length 80.

Let say p_data(80) type c.

HDR2345 c 20060125 0r42z1005.5USD

After USD field, display the empty p_data field.

Automatically, 80 characters will be appended after USD.

hope this helps.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question