Skip to Content
0
Former Member
Nov 10, 2007 at 02:09 AM

Challenging Question : ABAP TRANSFER statement Issue

59 Views

Hi SAP Gurus,

I am using statment

TRANSFER g_str TO p_unixf LENGTH 512.

to write the <i>g_str</i> to UNIX file <i>p_unixf</i>

I have some <b>BLANK</b> spaces at the end of each record which I want to retain in the UNIX FILE.

But TRANSFER statment writes only character ignoring the BLANK spaces at the end.

All the record length should be of 512 in UNIX FILE irrespective of what data contains in the record.

Help is much appreciated!

Thanks

Shital