cancel
Showing results for 
Search instead for 
Did you mean: 

Confusion with multimapping(1:N) without BPM.

gagandeep_batra
Active Contributor
0 Kudos

Hi All,

i am trying to do FILE to FILE multi mapping  sender file have multiple records i need to split that record in multiple file based on the some key field,

all same key values are in one file e.g. all records belong to same location in single file.

i try with following link also but it is creating single file at end i need to generate multiple messages.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/600b455f-01cd-2b10-0cab-a50e47a8f...

then i try other way also using simple multimapping technique define in  following blog also but it generate only one message  because of occurrence is 1 as in screent shot can any one tell me how to change the occurrence.

http://scn.sap.com/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it-s-possible

i am using PI 7.0

Regards

Gagan

Accepted Solutions (1)

Accepted Solutions (1)

gagandeep_batra
Active Contributor
0 Kudos

Thanks for all to help.

Problem is solved , in mapping i tried to create a new message1 node for each new message whose occurrence is  1..1  which is not possible and use split  by value function in message root node so i remove the split by value function and create all message under Message1 node. 

Regard

Gagan

Answers (3)

Answers (3)

former_member201264
Active Contributor
0 Kudos

Hi,

You can Try with this screenshot.

Regards,

Sreeni.

gagandeep_batra
Active Contributor
0 Kudos

Hi Sreenivasulu,

i my case target structure is single type only the, difference is i need to generate multiple files from single file.

i try with createif function also it is generating single message not multiple....

any other idea??

Regards

Gagan

anupam_ghosh2
Active Contributor
0 Kudos

Hi Gagandeep,

                     Try with java mapping. Check this article for further reference http://wiki.sdn.sap.com/wiki/display/XI/Multi-Mapping+using+Java+Mapping

In case you are still facing problems please provide the sample input and output XML.

Regards

Anupam

gagandeep_batra
Active Contributor
0 Kudos

Hi Nabendu and Satish,

Thanks for reply,

But i have already set this thing , i am using pi 7.0, you can see the screen shot have Messages and Message nodes that only available if we set the message to multiple occurrence,,,,

any other thing i may miss ,,,,,,,,,

Regrads

Gagan

nabendu_sen
Active Contributor
0 Kudos

Hi Gagan,

Go to Signature tab of Message Mapping and change it to 0-unbounded.

Former Member
0 Kudos

Hi Gagan,

If you are in PI 7.0 in message mapping->messages tab->change the occurence in target messages.  See the below screen shot.

Thanks,

Satish.