cancel
Showing results for 
Search instead for 
Did you mean: 

Graphical mapping - Tree and subtree on Tree structure

Former Member
0 Kudos

Hi,

I have the following problem, the message source is a tree and subtree and the message destination is a tree and each with different field mapping. Functionally speaking, an order with positions of goods and services and service position with service sub-positions. The positions and sub​​-positions have different field mappings.

Example:

SOURCE TARGET

HEADER ----------> HEADER

POS 1 -------------->    POS A

POS 2 -------------->    POS B

     SERV 1 --------->    POS C

     SERV 2 --------->    POS D

POS 3 -------------->    POS E

     SERV 1 --------->    POS F

     SERV 2 --------->    POS G

POS 4 -------------->    POS H

Thank you to send me examples with graphical mapping.

Best regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The aim was to solve the through graphical-mapping, to avoid extra development effort. The requirement was hedged through ABAP-mapping  and JAVA-mapping, choosing the latter for the final solution.

Regards,

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Johny ,

Please try to do Graphical one to one Mapping . if any Condition occue you can use standard Functions or Udf to achive those.

regards

Ritu

iaki_vila
Active Contributor
0 Kudos

Hi Johnny,

Im sorry, but i dont understand your target structure.

You pointed that  POS 2 ---> POS B, but POS 2 is a node and not a terminal node with a value, then how do you want to generate  a terminal node in the target structure?. What is the scheme in the target structure?, it is not the same to have:

HEADER

  item

     terminalNode (with its corresponding value)

or a "constant" structure:

HEADER

     POS A (with its corresponding value)

     POS B (with its corresponding value)

     ...

     POS H (with its corresponding value)

Please you should explain more your target structure or share your target xsd.

Regards.

Former Member
0 Kudos

Hi Johnny,

Please check the context of the Target Structure. Ensure that a correct context is used during Mapping,

Thanks,

Kalyan