on 10-05-2010 3:49 AM
Hi all,
I have a Flat file to Idoc Scenario.
I need to generate no. of multiple Idoc Segments based on the source field value.
For Eg: if Field1 starts with 5 or 6 then E1 segment should be created 5 times,
similarly if Field1 starts with 4 then E1 segment is created 6 times
And as many times E1 is created that many times the corresponding other E2,E3 segments are created
i.e E2 E3 has 1-1 relationship with E1
Can this be done graphically ?
Working on PI 7.0 Environment
I would appreciate your Inputs.
Regards,
Varun
Edited by: Varun Reddy on Oct 5, 2010 8:21 AM
Used function Startswith2 to check field starting with and used createif node function to generate the target node.
Issue solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Im pretty sure that if you duplicate the target segment the max number of times (6) but you only map to 4 of them, only 4 will be created in the target structure. Let the Mapping/Data drive how many segments actually get created in your target structure.
I could be wrong but Im pretty sure thats how Ive handled repeating segments before.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.