cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel Communication

Former Member
0 Kudos

Dear All,

Can we send data to more than two systems parallely without using BPM?

Regards,

Ashish

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

yes it can be possible with interface mapping..enhanced option..

see below links

http://help.sap.com/saphelp_nw04/helpdata/en/43/85f02c92266fcce10000000a1553f6/frameset.htm

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

Regards

Chilla..

Former Member
0 Kudos

Dear All,

In my parallel processing I am getting the folllowing error in sxmb_Moni

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

- <!-- Request Message Mapping

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="MAPPING">GENERIC</SAP:Code>

<b><SAP:P1>Split mapping created no messages</SAP:P1></b>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<b> <SAP:Stack>Split mapping created no messages</SAP:Stack></b>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

My scenario where i am sending data from 1 file sender to 2 file receivers:

It has 1 Sender A, R.d and I.d and 2 receiver agg.

I tested my mapping in interface mapping and it works fine.

Please advice.

Regards,

Ashish

Shabarish_Nair
Active Contributor
0 Kudos

Are you using multimapping to split the message ? do ref: /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Also note that in case of your receiver determination you can add multiple receivers and with the help of XPATH route it to the specific receiver !!!

Ex:

/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

Former Member
0 Kudos

Is theer a need for XPATH heer as I want to send the same message to 2 receivers.

Regards,

Ashish

Former Member
0 Kudos

Hi Ashish,

from SXMB_MONI msg incoming msg payload, just copy paste the source XML in msg mapping test tab and see if what output you are getting in target.....if you dont get your desired output in msg mapping tab, then change your mapping.

Thanks,

Rajeev Gupta

Shabarish_Nair
Active Contributor
0 Kudos

if its the same message then you dnt need any XPATH defined !!!

Former Member
0 Kudos

Hi Ashish,

for sending the same msg to 2 Different receivers, you dont need XPATH....

Just in receiver determination, add your receivers and tell the target msg interface to them.....

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Asish,

you dont require Xpath if you dont have any condition .

you just specify both the receivers in the reciver determination and interface determination .

regards

Sreeram.G.Reddy

bhavesh_kantilal
Active Contributor
0 Kudos

Ashish,

All you need to do is add the 2 receivers in your Recieevr Determination and then create the corresponding Interface Detrermination and Interface Mapping for the each of the inbound intrefaces.

If you do not have any conditons, no need to add conditions in the Receievr Determination.

Regards

Bhavesh

Former Member
0 Kudos

The error I am getting is :

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

- <!-- Request Message Mapping

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="MAPPING">GENERIC</SAP:Code>

<SAP:P1>Split mapping created no messages</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Split mapping created no messages</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Please advice

Regards,

Ashish

bhavesh_kantilal
Active Contributor
0 Kudos

Ashish,

Can you give details on what you are trying currently?

Regards

Bhavesh

Former Member
0 Kudos

I have 3 Business services:

1 sender 2 receiver

3 interfaces

1 OB and 2 IB

one message and interface mapping with 1 source and 2 destination messages and interfaces respectively.

Regards,

Ashish

Former Member
0 Kudos

Ashish,

Can you give some details about the mapping you have done. Have you done multi mapping? Changed the oocurance of the msg in Msg and Interface mapping?

Also make sure the max occurance of msg is not set to 0 for target msg.

Regards,

Jai Shankar

bhavesh_kantilal
Active Contributor
0 Kudos

Ashish,

><b>

1 sender 2 receiver</b>

Multimapping without BPM will work only if you have 1 receiver and multiple Inbound Interfaces for that receiver.

In your case,

1. Either add the 2 receivers and have the 2 different interface mappings for each of the inbound interfaces

2. Create just one Receievr Servvice and then use Enhanced Receievr Determination.

Refer to the blog "Mutli Mapping without BPM - yes it is possible" by Jin Shin for the 2nd option

Regards

Bhavesh

Former Member
0 Kudos

Bhavesh I made the following changes:

1 Rec Business Service

1 Sender busines Service

1 message mapp (source occurance 1 and for both destination messages occurance 0 to unbounded)

1 interface mapp (source occurance 1 and for both destination messages occurance 0 to unbounded)

1 sender interface

2 receiver interface

1 S.A

1 R.d

1 I.D

2 R.A

still I am getting the following message:

<i><b> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Request Message Mapping

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="MAPPING">GENERIC</SAP:Code>

<SAP:P1>Split mapping created no messages</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Split mapping created no messages</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error></b></i>

The oubiund message that I have put in the root folder of FTPis

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

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

<ns0:Message1>

<ns1:ASH_MULTI_Message1 xmlns:ns1="http://ASH_MULTI">

<age>21</age>

<name>Ashish</name>

<location>Melbourne</location>

</ns1:ASH_MULTI_Message1>

</ns0:Message1>

</ns0:Messages></b></i>

Please advice

Regards,

Ashish

Message was edited by:

Ashish Goyal

Former Member
0 Kudos

Hi,

It is very clear as Bhavesh said , maitain two mappings and two interface mappings ,

One sender msg to one receiver (here in message tab add two messages and occur 0..unbound for each map from left side to msg1)

One sender msg to second receiver (here in message tab add two messages and occur 0..unbound for each map from left side to msg2)

Create Interface mappings two.

In ID as explained above Receiver determination just take extended option and take the interfacemapping.similarly create second also..

Regards

Chilla..

prabhu_s2
Active Contributor
0 Kudos

is ur message mapping test working fine?

bhavesh_kantilal
Active Contributor
0 Kudos

Ashish,

Once again you are trying a 1:N mapping with multiple Receievrs. Dont think it will work.

You will have to use a 1:1 mapping for each of the receivers.

Regards

Bhavesh

Former Member
0 Kudos

But bhavesh I have only 1 receiver and 1 sender now. the receiver receives 2 inbound interfaces. and I am using <i><b>extended</b></i> functionality in interface mapping and <i><b>maintain order at runtime</b></i> is unchecked.

When i declare the receiver Business Service, I have mentioned 2 inbound interface under the 'Receiver' tab.

now this should work without BPM

Please advice.

Regards,

Ashish

Message was edited by:

Ashish Goyal

Former Member
0 Kudos

Hi,

You have One sender interface,two receiver interfaces

mapping one

Sender Msg1 to receiver Msg1 ( required filed mapping)

mapping two

Sender Msg1 to receiver Msg2 ( required filed mapping)

Same in interface mapping ..

Do the ID.with two different configurations with two diffrent interfaces.

Regards

Chilla..

Former Member
0 Kudos

Dear Chandra,

As I have mentioned before, i have:

1 Rec Business Service

1 Sender busines Service

1 message mapp (source occurance 1 and for both destination messages occurance 0 to unbounded)

1 interface mapp (source occurance 1 and for both destination messages occurance 0 to unbounded)

1 sender interface

2 receiver interface

1 S.A

1 R.d

1 I.D

2 R.A

still I am getting the following message:

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

- <!-- Request Message Mapping

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="MAPPING">GENERIC</SAP:Code>

<SAP:P1>Split mapping created no messages</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Split mapping created no messages</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

The oubiund message that I have put in the root folder of FTPis

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

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

<ns0:Message1>

<ns1:ASH_MULTI_Message1 xmlns:ns1="http://ASH_MULTI">

<age>21</age>

<name>Ashish</name>

<location>Melbourne</location>

</ns1:ASH_MULTI_Message1>

</ns0:Message1>

</ns0:Messages>

Please advice

Regards,

Ashish

prabhu_s2
Active Contributor
0 Kudos

when u test the mapping are u able to get the target strucutre filled?

Former Member
0 Kudos

HI,

OR else please follow the below link..

Without BPM

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

With BPM

/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

Regards

Chilla..

Points rewarded if it is usefull...

<i></i>

Former Member
0 Kudos

Yes Prabhu, testing is fine.

prabhu_s2
Active Contributor
0 Kudos

what is the scenario u r using?

prabhu_s2
Active Contributor
0 Kudos

check for Tags like <messages> .. may you need to remove them from your source adn test it.

Former Member
0 Kudos

File to File

Former Member
0 Kudos

Sorry Prabhu I didn't get you <i><b>check for Tags like <messages> .. may you need to remove them from your source adn test it.</b></i>

bhavesh_kantilal
Active Contributor
0 Kudos

Ashish,

><i>The oubiund message that I have put in the root folder of FTPis

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

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

<ns0:Message1>

<ns1:ASH_MULTI_Message1 xmlns:ns1="http://ASH_MULTI">

<age>21</age>

<name>Ashish</name>

<location>Melbourne</location>

</ns1:ASH_MULTI_Message1>

</ns0:Message1>

</ns0:Messages></i>

the message should be without the MESSAGE Tag's,

<b><ns1:ASH_MULTI_Message1 xmlns:ns1="http://ASH_MULTI">

<age>21</age>

<name>Ashish</name>

<location>Melbourne</location>

</ns1:ASH_MULTI_Message1></b>

Try this message and let us know.

Regards

Bhavesh

prabhu_s2
Active Contributor
0 Kudos

remove the message1 tag and check

Former Member
0 Kudos

It's working guys, thanks a lot Prabhu and Bhavesh.

Regards,

Ashish

prabhu_s2
Active Contributor
0 Kudos

prabhu_s2
Active Contributor
0 Kudos

hi ashish

do close the thread if the post is anwsered !!!

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Ashish,

yes you can.

use multiple receivers in your reciever determination or use multiple inbound interfaces in your interface determination.

Just make sure you deselect the option "Maintain Interface order at runtime" in your Interface Determination.

Regards

Bhavesh