Hello,
I have an xi scenerio where I am going from IDOC to flat file. I have an issue where a segment can occur multiple times and I want to take the last segment of that multiple occuring segment as my record to flatfile.
for example
EDI_DC
EMPLOYEE
EMPLOYEE_PERSONAL_INFO
EMPLOYEE_ADDRESS_INFO
EMPLOYEE_ADDRESS_INFO
EMPLOYEE_ADDRESS_INFO
EMPLOYEE_BENEFIT_INFO
.....
in the above example, i want to take the last occurance of the EMPLOYEE_ADDRESS_INFO in my message mapping without any logic around dates or statuses.
is there an easy way to do this?
thank you