Skip to Content
0
Former Member
Jun 06, 2006 at 06:01 PM

issue in generating space at end of the records.

25 Views

Hi All,

i am working on a outbound flat file interface.i

have a issue in generating the spaces at end of each

record.

for ex.,

My record in the file should contain 80 chars each

line, in which it will contain values till 74

characters and the rest 6 chars should have a blank

space.

we were able to generate space in the file using

class "CL_ABAP_CHAR_UTILITIES".

But this text file when converted to HEX file, the

end of the record has values as 20 20 20 20 C2 A0 or

some junk values.But as per the requirement the HEX

file should display the end of the record as 20 20 20

20 20 20.

Please let me know how i should generate spaces in

the text file and at the same time proper Records in

HEX file(i.e., 20(value for space in HEX)).

Thanks in advance.

Nanda