Skip to Content
avatar image
Former Member

Mapping Problem

Hi Experts,

I need ur valuble suggestion to do mappping for the following structures

Source Target
A         A(1...1)
B         ---B(1....unbounded)
C         ------C(1...1)
D         ---------D(1....unounded)
E          ------------E(1....1)

I did the graphical mapping. But here the problem i got was

All the C,D&E fields got mapped with the first occurance of B itself.

So for the second occurance of B it is giving an error message as unable to produce the field /A/B[2]/C.

I am doing an File to IDoc scenario.

Please dont refer any blogs or links. The scenario is able to execute sucessfully except this error.

My question is using the graphical mapping can we map the Single Hierarchy Source to the Multiple Hierarchy Target ....? or should we go for Java Mapping...?

Thanks in Advance....

Surely Points will be awarded for the helpfull answers 😊

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Aug 22, 2007 at 02:15 PM

    Saravana,

    Could you give the sample input and output structure u needed. I read in ur previous thread but its not clear...

    Best regards,

    raj,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 02:38 PM

    Hi Saravana,

    <u>My question is using the graphical mapping can we map the Single Hierarchy Source to the Multiple Hierarchy Target ....? or should we go for Java Mapping...?</u>

    Yes u can do it...

    Another thing is tht all ur target structure are mandatory meaninf atleast one structure should be created....

    Is ur source structure occuring once or multiple times?

    Regards,

    Akshay

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 02:53 PM

    Hello,

    Try below mapping...

    C-- ->CopyValue ---->TargetElement

    [0]

    The [0] is for CopyValue position.

    Regards,

    Add comment
    10|10000 characters needed characters exceeded