cancel
Showing results for 
Search instead for 
Did you mean: 

mapping problem

Former Member
0 Kudos

Hi All,

see the below sample xml file.

<extension>

- <gdsn:attributeValuePairExtension xmlns:eanucc="urn:ean.ucc:2" xsi:schemaLocation="urn:ean.ucc:2

<value name="unitsPerPackage">8</value>

<value name="unitsInWidthOfLayer">4</value>

<value name="unitsInDepthOfLayer">1</value>

value is the field and name is the attributes.

In sender side segement and field everything 0 to unbounded.

In receiver side segment and field level 0 to unbounded

when I duplicate the fields and attributes at the sender side in the mapping. The receiver side it is not repeating. i AM DOING AT FIELD LEVEL Duplication

sender and receiver side both are 0 to unbounded.

can you help me to solve the issues.

thanks and regards

saranya

Edited by: saranya walter on Jan 28, 2008 5:47 AM

Edited by: saranya walter on Jan 28, 2008 5:50 AM

Edited by: saranya walter on Jan 28, 2008 9:22 AM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi saranya,

graphical mapping is "target field mapping".

The processor traverses the target message and is looking for correcponding fields in source message.

Once a source was consumed, it is not available any more for other target fields.

Workaround: Write the source-values to the global container element via UDF, when mapping to first target field. For the other target field do NOT read the source message fields; instead read the global container.

Regards Mario

Jitendra_Jeswan
Contributor
0 Kudos

I did not get what exactly you trying to ask.. Can you elaborate on ths further..

Thanks:-)

Former Member
0 Kudos

Hi saranya,

Please can you confirm about the below statement of your post,

"sender and receiver side both are 0 to unbounded."

Do you have the 0 to unbounded occurances for each and every field or it is only for the structure.

Also confirm that if the occurances on sender side for every field are 0 to unbounded. If the sender side occurance is not unbounded then even you try to pass duplicate entries it will not get repeated.

Please can you veirfy about it and let me know.

Thanks

Swarup

justin_santhanam
Active Contributor
0 Kudos

Saranya,

Can u tell us the source and target structure with occurrences? Also tell us what mapping logic u applied!

raj.