cancel
Showing results for 
Search instead for 
Did you mean: 

How to map an incoming message from file to two RFCs

Former Member
0 Kudos

Hi,

I am a newbie in SAP and XI. I am trying to set an incoming(outbound) file message to two RFCs. I have done correct mapping in Message Mapping by entering one SOURCE message v/s two RFCs. In Configuration in Interface Determination, I entered same outbound interface as Sender and checked the radio button for RB_SPLIT to split the message into two RFC messages. It correctly picks up correct Message Interfaces. But when I test the scenario, it shows me following error.

"System error occurred in receiver agreement"

I read the documentation on SAP Help and went thru all the possible postings for multi-mapping and splitting. But could not find the solution. I searched on 'RB_SPLIT' and 'IDOC Packaging' too. But could not find anything.

Any help will be greatly appreciated.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Atul,

I think the problem is in your Receiver Agreement. Just check your Receiver agreement and make sure you have 2 different receiver agreements configured for the 2 different communication channels and different inbound interfaces.

this help link on SDN can help you on Receiver Agreement,

http://help.sap.com/saphelp_nw04/helpdata/en/5d/112d20f6ce6c46ba66afb98d278fbd/content.htm

Hope this helps,

Regards,

Bhavesh

Answers (4)

Answers (4)

Former Member
0 Kudos

It did not help much.

I created two Inbound Interfaces in one Interface Determination by setting condition which is always 'true'. It did not report any error, but showed 'Recorded for outbound processing' status instead of 'Processed successfully' in SXMB_MONI.

Any idea?

Thanks.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Atul,

For your scenario, instead of going for the complexity of RB_SPLIT, one solution i would suggest is,

1. Create <b>two mapping programs</b>. One for each of the destination inbound RFC interfaces. The source message will be the same for both the mapping and only the inbound message will change.

2. Create <b>2 interface mapping for the same</b>. The outbound interface for this interface mapping will again be the same with only inbound interfaces changing. Select the corresponding mapping program for each interfac mapping.

3. Now , create one sender agreement, 2 receiver agreement, 2 receiver determination and 2 interface determination.

Though, it has an additional mapping program, i think this would be an easier solution to your problem.

Do let me know if you have any further doubts,

Regards,

Bhavesh

Former Member
0 Kudos

Bhavesh and Prasad,

Thanks for your responses.

In Prasad's Steps for IDs, No 5, you suggest to create two Interface Determinations. How can I create two different Interface Determinations using same Service, Interface and Namespace? The outbound interface is only one.

The requirement is that both the RFCs go to the same R/3 system using the same Receiver channel. Is it mandatory to create two different Receiver channels?

Thanks.

Former Member
0 Kudos

Hi Atul,

<i>How can I create two different Interface Determinations using same Service, Interface and Namespace?</i>

Refer the blog,

/people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service

Cheers,

Rashmi

former_member181955
Contributor
0 Kudos

Hi Atul,

File to two RFCs this is your Scenario.

<b>Steps In IR:..</b>

1.Perform Interface objects for file.

2.Import two RFCs.

3.Perform message mapping File to 1st RFC.

4.Perform message mapping File to 2nd RFC.

5.Perform Interface Mapping between File to 1st RFC.

6.Perform Interface Mapping between File to 2nd RFC.

7.Activate all objects.

<b>STEPS in ID:</b>

1.Create configuration Scenario.

2.Assign three Business Systems.

3.Create one sender(file) and two receiver comm channels(RFCs)

4.Create One Sender(file) and two receiver agreements (RFCs)

5.Create two Interface determinations

6.Create one receiver determinatio here include two business systems..

7.Activate change list..

Hope it helps you

Thanks

N.Prasad Babu

iGATE Global Solutions Hyderabad: 98490 65377