Skip to Content

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

Mapping UDF

Hey folks

I have a mapping issue:

It is IDOC to file scenario

A segment in IDOC repeats multiple times. I want to take a field of the first repeating segment and map it to a target field.

And i want to take afield of the last repeating segment and map to a target field.

Eg : E1EDPL1

GSB 100


GSB 200


GSB 300

Mapping logic 1 :

Take the first GSB ( Value: 100) and map to a target field.

Mapping logic 2 :

Take the last GSB(Value : 300) and map to a target field.

Guess we need to have a context java function which takes as an input an array of GSB and extract first and last GSB.

Need help with the java udf.


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