Skip to Content
avatar image
Former Member

Mapping Issue

Hi,

I have this Mapping error:

"Cannot produce target element /IDOC_NAME/IDOC/Segment_A[2]/Segment_A_1. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd"

I want to perform the following mapping:

Segment_A

Field_1

Field_2

Field_3

Segment_A

Field_1

Field_2

Field_3

to

Segment_A

Field_1

Field_2

Segment_A_1

Field_3

Segment_A

Field_1

Field_2

Segment_A_1

Field_3

Do you guys know what I did wrong? Or what I should check?

Thanks in advance,

Luí

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Feb 10, 2006 at 03:06 PM

    is the mapping for segment_A_1 like this...

    Segment_A(at a higher level) -- splitByValue -- Segment_A_1

    Segment_A_1 should have the same number for values in its queue as Segment_A, however, each value in the queue needs to be in its own context because for every segment_A we are introducing Segmaent_A_1.

    Thanks,

    Renjith

    Add comment
    10|10000 characters needed characters exceeded