cancel
Showing results for 
Search instead for 
Did you mean: 

Multi Mapping

Former Member
0 Kudos

When configuring my mapping I have changed the occurence on both the source and target message types to 0..1.

This is fine and my scenarios works fine....

The problem is when you do this you now get the following at the top of the header

<xml version="1.0" encoding="UTF-8" ?>

<ns1:Messages xmlns:ns1="http://sap.com/xi/XI/SplitandMerge">

<ns1:Message1/>

</ns1:Messages>....

So unless I add these fields to the top of my header then it wont work... the messages come out blank.... Is there a way around having to add this header to every File that we send?

Basically it is the mapping that fails really with out this header? When I say fail I dont mean read flag fail I just mean that forsome reason no feilds get written?????

Message was edited by:

SAP XI

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Ok guys I tried but it still doesnt write the target file with out that header.... I am doubtful as to whether XI can do this sort of scenarios without BPM?

Former Member
0 Kudos

if yoiu made your source Message 1 to 1 then you should get error because their should not

no extra line xml required here .

<ns1:Messages xmlns:ns1="http://sap.com/xi/XI/SplitandMerge">

<ns1:Message1/>

these xml are not required if you make source 1 to 1

try put the file again from first.

Regards

Sreeram.G.Reddy

Message was edited by:

Sreeram Reddy

Former Member
0 Kudos

Hi,

tell how many source msg are in your scenario.

Thanks,

Rajeev Gupta

Former Member
0 Kudos

dont make our source mapping 0 to unbounded make it one to one only

Regards

Sreeram.g.Reddy

Former Member
0 Kudos

OK I will try to make the source only one and see what happens?

Former Member
0 Kudos

Hi,

see in msg mapping test tab, you will have to put

<ns1:Messages xmlns:ns1="http://sap.com/xi/XI/SplitandMerge">

<ns1:Message1/>

explicitly by yourself to test your mapping......

dont worry when this scenario will be invoked by putting of source file, then XI will automatically put these namespace tags for you.

Thanks,

Rajeev Gupta

Message was edited by:

RAJEEV GUPTA

Former Member
0 Kudos

Rajeev I too thought that was the case but the problem is that my mapping is not complegted succesfully in this case... Please see me message above

Former Member
0 Kudos

Hi,

how many source msg you are having.....if you have more than one source msg interface, then you will have to use BPM......you will make abstract msg interfaces for all your source msgs and target msgs.......

see if you have more than one source msg in your scenario, then you will have to use BPM for it......

Thanks,

Rajeev Gupta

Former Member
0 Kudos

dropping of a file to the specified loaction and having xi poll and pick it up then drop off to another location... but XI doesnt seem to be adding it :-)....

I am on SP9 does that make a difference?

Former Member
0 Kudos

My outbound message is a s normal with out that header but my inbound message is empty only with this header

<xml version="1.0" encoding="UTF-8" ?>

<ns1:Messages xmlns:ns1="http://sap.com/xi/XI/SplitandMerge">

<ns1:Message1/>

</ns1:Messages>....

Former Member
0 Kudos

Is there something special I need to do in my mapping or comm channel configurations?

Shabarish_Nair
Active Contributor
0 Kudos

is it a N:M mapping ?

Note that only then you need to give 0-unbounded in both the source and target.

Also note that in the interface mapping too the same settings for the occurance need to maintained. Can you confirm on the same ?

Former Member
0 Kudos

I try to do the same in the interface mapping but I get an error saying that this is not possible as it is not an abstract interface?????

Shabarish_Nair
Active Contributor
0 Kudos

note that in case of N:M mapping you need to use abstract interfaces and refer the transformation in BPM.

Former Member
0 Kudos

Hi,

I think this is possible only from SP14. Go thro this blog.

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Regards,

P.Venkat

Former Member
0 Kudos

you see we really dont want to use BPM...

My mappping is working at the moment and the scenario works perfectly as long as I add the above mentioned header... problems arise when I will not add the header... so I guess my question is is there away of configuring so you dont have to add this header?>

Former Member
0 Kudos

Hi,

this is the problem.....you cant do anything in comm channel for it......so you will have to use BPM for it.

Thanks,

Rajeev Gupta

Shabarish_Nair
Active Contributor
0 Kudos

note that

<ns1:Messages xmlns:ns1="http://sap.com/xi/XI/SplitandMerge">

<ns1:Message1/>

is automatically created by XI itself.

How are you testing the scenario ?