cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple EDI files at receiver side

Former Member
0 Kudos

Hi,

We have an outbound interface(flat file --> PI --> EDI) where flat file coming in and PI processing it to customers.

Based on a field from input file, i am creating 3 UNH segments in one EDI file. But, we need to create 3 EDI files for each UNH segment.

For eg:

Number(from input file): 001,002,003, for each number I am creating 3 UNHs in one EDI file.

But I need 1 EDI for 001,1 EDI for 002,1 EDI for 003.

Is it possible to create multiple EDI at receiver side.

Please suggest me the possible ways to achieve this requirement.

Regards,

KNR.

Accepted Solutions (0)

Answers (2)

Answers (2)

Harish
Active Contributor
0 Kudos

Hi Narsimha,

you can create the multiple EDI xml from EDI Flat file based on UNH segment (using splitter module) but you can not create the multiple EDI flat file based on UNH segment in EDI XML. You need to handle the logic at mapping level.

Regards,

Harish

former_member854360
Active Contributor
0 Kudos

Hi Its possible,

-->Number(from input file): 001,002,003, for each number I am creating 3 UNHs in one EDI file.

But I need 1 EDI for 001,1 EDI for 002,1 EDI for 003.

do You have any EDI XML structure in mapping?

In Message mapping signature tab change your mapping occurence 0..unbounded

and in mapping click target structure and click on duplicate subtree .(create 3 times)

and map your structure to 3 different structure of the same target message based on 3 UNHs

it will be basically 1:N mapping without BPM