Looking for a java udf or some mapping logic for below
It is a IDOC to file scenario.Need to create a target segment conditionally.
SOURCE : IDOC
In the above source structure E1EDP01 is an IDOC segment which is repeating in nature and TDID is a field which has the above mentioned values.
TARGET : FILE
P01 : Repeating segment within the target file structure.
In the above scenario 2 target segments will be created.
I want 2 target segments by comparing value from a source field. If TDID=6904... then dont create target P01 segment.Basically if TDID starts with 6904 then dont create target segment P01