cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Target files as the item in source file

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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

thanks

Former Member
0 Kudos

Hi,

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