Skip to Content

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

Remove spaces


I'm downloading a idoc to a txt with gui-download and i want to remove the blank spaces between the fields except some char fields that i want to show with the space of the variable even if is empty.i've used the trunk_trailing_blanks but it removes the empty spaces of all fields.

this is what i have:

start of xpto occurs 0,

a(15) value 'abcdefg',

b(15) value '125436',

c(7) value 'hft',

d(9) value '234',

end of xpto.

file now:


what i want:

abcdefg 125436hft 234



Former Member
Not what you were looking for? View more on this topic or Ask a question