Skip to Content
author's profile photo Former Member
Former Member

Mapping issue

Hi gurus,

i need a help with fololwing mapping:

my source structure is:

->document

->->recordset (0..N)

->->->header (1)

->->->->valA

->->->items (0..N)

->->->->valB

my target is like

->document (1)

->->subdocument (0..N)

->->->nodeA (0..N)

->->->->valA0

->->->->valB0

mapping is:

recordset->subdocument

items->nodeA

valB->valB0

problem:

and I need to get valA to node A from each recordset to appropriate subdocument/nodeA - so it will be replicated.

Thank you for your help.

Olian

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 11, 2008 at 03:15 PM

    This is typical situation of using stardard function

    useOneAsMany:

       valA [ChangeContext to RecordSet] ->
       valB [ChangeContext to RecordSet] -> UseOneAsMany ->valA0
    
       valB --------------------------> 

    for other node, just direct mapping since context does not change at all:

    valB --> valB0
    

    Liang

    Edited by: Liang Ji on Apr 11, 2008 5:17 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 11, 2008 at 12:55 PM

    Hi,

    do this with function UseOneAsMany

    http://help.sap.com/saphelp_nw04/helpdata/en/ef/df564b6aa24fc9ab0d685460747de5/frameset.htm

    /people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool

    /people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping

    Try and tell us

    Thanks

    Rodrigo

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.