Home > Default > N:1 mapping question

N:1 mapping question

October 11Hits:0
Hello, can any1 please help me achieve the following mapping,
Input Msg Types:
Header (0..1)
   FieldH_A (0..1)
   FieldH_B (0..1)
LineItemType1 (0..n)
   FieldLN1_a (0..1)
   FieldLN1_b (0..1)
LineItemType2 (0..n)
   FieldLN2_a (0..1)
   FieldLN2_b (0..1)
Output Msg Type:
OutMsg (0.1)
   FieldOut_A (0..1)
   FieldOut_B (0..1)
   LineItems (0..n)
      FieldLN_out_a (0..1)
      FieldLN_out_b (0..1)
Mapping rules should be as following;
Header (0..1) -
> OutMsg (0.1)
   FieldH_A (0..1) -
>    FieldOut_A (0..1)
   FieldH_B (0..1) -
>    FieldOut_B (0..1)
LineItemType1 (0..n)  -
>    LineItems (0..n)
   FieldLN1_a (0..1) -
>      FieldLN_out_a (0..1)
   FieldLN1_b (0..1)      -
>      FieldLN_out_b (0..1)
LineItemType2 (0..n)  -
>    LineItems (0..n)
   FieldLN2_a (0..1) -
>      FieldLN_out_a (0..1)
   FieldLN2_b (0..1)      -
>      FieldLN_out_b (0..1)
Any help greatly appreciated.


Raj, i've tried to explain better by the following artwork :P
so i need to map 2 different type of segments from input type into 1 type of segments on output type.
<img src="http://img14.imgspot.com/u/07/155/21/mappingissue3.JPG">
Satish, you are right, its not N:1, i just didn't know how to describe it best
Message was edited by:
        Okan Yarligan
Message was edited by:
        Okan Yarligan

Read other 13 answers


Related Articles

  • CRMXIF_REL_SAVE_M01 - Mapping QuestionNovember 30

    Hello All, I have a mapping question, hope some one can answer my question. Please see the link first and the see my question http://www.flickr.com/photos/[email protected]/4265246260/sizes/o/ I'm mapping the CRM IDOC to the JDBC Call. I have small problem

  • A top difficulty mapping questionNovember 30

    Hello dose anyone can give solution for this mapping question? soruce : <header>header</header> <item>      <A>a1</A>      <B>b1</B>      <C>c1</C> </item> <item>      <A>a2</A>

  • Many-to-many mapping questionOctober 11

    Hi, I'm working with two classes Car and Customer. The Car class has a Vector of Customers and the Customer class has a Vector of Car. Both are related by a many to many mapping. I have noticed that I have to set one of the vector to read only to avo

  • Mapping questionOctober 11

    Hello, I have a rather simple question regarding a mapping. Lets say my input message is as following: <mes1>    <seg1>       <name1>Peter</name1>       <street1>HighCrt</street1>    </seg1>    <seg2>      

  • Mapping - QuestionsOctober 11

    Hi,    I have few basic questions regarding mappings.    1)  I think we can do everything by using Graphical Mapping. Then what is the purpose for Java, XSLT and ABAP mapping? Please give me an example for this...    2) Which mapping will give better

  • ABAP Mapping QuestionsOctober 11

    Hi, I am trying to get my head around ABAP mappings and have a few questions. In the below code sample which I find in every example and blog it talks about specific steps - *initialize iXML, * create iXML factory object, * create streamfactory objec

  • One to one mapping question -- can I just map a lookup field for queries?October 11

    I have a table with a state code. I'd like to have a "virtual lookup" on the java class to a region table. I.e., this java class "studies" has a state code. I can map a one-to-one to the descriptor class that has the ref table, but I'd

  • 1-1 mapping questionOctober 11

    I am trying to post the question in a different way. My previous post on the related subject can be found at Re: 1-1 mapping Two entities, Parent and Child, where a Parent has a Child (privately owned) or zero Child. In object model, Parent has an at

  • Port mapping question - I need clarificationOctober 11

    I have posted a question about port mapping previously but - although I thought I understood - it is still not working for me. I was hoping there was a kind soul out there who could humor me and explain port mapping with AEBS 802.11n as if there wher

  • XI mapping questionNovember 30

    Hello, I have a situation that I need to run Z-BAPI function before starting mapping in XI. Let me explain scenario with more information. 1. I need to update a order in the SAP. The order may or may not exists in the SAP. 2. We have a Z-BAPI functio

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.583 s.