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

Multiple Target files as the item in source file

Hi all ,

I am new XI ,my scenario is File to File and my data type structures for source and target are as follows

_Data type for source: _

Source

Header 1:unbound

org 1:unbound

order 1:unbound

Item 1:unbound

itemno 1:unbound

matno 1:unbound

Data type for Target

Target

org 1:unbound

order 1:unbound

itemno 1:unbound

matno 1:unbound

In declaration of target data type occurrence of all child nodes are 1:unbounded. And I have used it in Message type and in message mapping for my target message type occurrence is showing as 1:1.

My objective is to replicate this entire Target as the no of times the Item is occurring in source ie for multiple items in source I want multiple target files. For this I have mapped item node of source to Target(parent node). But in mapping test it is only displaying one Target structure for multiple nodes in source. Please Help me in solving this issue .

Full Points will be awarded

Thanks & Regards

Satish.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2008 at 05:09 AM

    Hi,

    If you want multiple Targerts you need to use UseOneAsMany.

    check below link

    http://help.sap.com/saphelp_nw70/helpdata/en/38/85b142fa26c811e10000000a1550b0/content.htm

    Thanks,

    RamuV

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2008 at 09:19 AM

    Hi,

    Map source order to Targer Order then how many times source order comes then that many number of times the target repeated.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2008 at 09:23 AM

    how you are testing the occurance of the messages ? in message mappings or by giving the XML files ?

    thanks

    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.