Skip to Content

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

Preserve spaces in File Content Conversion

Dears colleagues,

we have a problem with the File Content Conversion in SAP PI 7.1

We send an IDOC from SAP to PI and a file to an external system. For example we have:


Segment S1 with fields



Segment S2 with fields



the mapping contains:

Z-S1-F1 --> File-Fiedl1 ( lenght 5 )

Z-S1-F2 --> File-Field2 ( lenght 5 )

Z-S2-F3 --> File-Field3 ( lenght 5 )

Z-S2-F4 --> File-Field4 ( lenght 5 )

If all the fields come filled the mapping it's ok and the result too, but if for example the second segment didn't come, the mapping it's ok ( no error in sxmb_moni ) but the result doesn't preserve the las 10 positions.

Any idea┬┐?

Thanks in advance.


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