cancel
Showing results for 
Search instead for 
Did you mean: 

Wrapping text into mulitple lines in an idoc

Former Member
0 Kudos

Hello PI experts,

We have a requirment to map a field from a input XML file to the E1EDKT1 / E1EDKT2:TDLINE: field in SAP ORDERS idoc . As per SAP - the max length of this field is 70 characters.

But the input field may contain more than 70 chars , in this case we have to wrap them into multiple lines.

Please help on how to achieve this in Graphical mapping?

Thanks,

Shashank.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Not very much clear with your requirement but let say input for field E1EDKT1 / E1EDKT2:TDLINE is more than 70 chars, let say 100 than you need two occurrences of field TDLINE under segment E1EDKT1 / E1EDKT2, one with first 70 chars and other with remaining 30 chars.  In this case you can write a UDF to achieve the same.