cancel
Showing results for 
Search instead for 
Did you mean: 

RFC1 To RFC2 Scenario Issue

Former Member
0 Kudos

Hi,

I am doing a RFC1-Async to RFC 2-Async scenario. I don’t have Business systems instead I am using business services.From SAP r/3 system RFC1 is executed and RFC1.response is sent to XI server. RFC1.response is mapped to RFC2.request.RFC2.response is not required. I definitely need to have MM to have validation as per the requirement.

Can some one help me how to configure this scenario?

Thanks in advance….

Regards

Mohammad

Accepted Solutions (0)

Answers (5)

Answers (5)

vikas_agarwal
Contributor
0 Kudos

Hi,

Since you are using Business Service, create your own Interface(Outbound and Inbound).

For Outbound asynchronous use RFC1.response and for Inbound asynchronous use RFC2.request

Do the message mapping and interface mapping accordingly.

In ID configuration will be same as any normal scenario.

Regards

Vikas

Former Member
0 Kudos

Hi,

if i do that way, the message from r3 sys is not reaching XI becoz of different message type structure.

nisarkhan_n
Active Contributor
0 Kudos

Import the 2 RFC's into IR...

create the MM btween the 2 RFC

create the IM and select the MM

Goto ID:

create the SA, RD, ID and RA.....

Former Member
0 Kudos

hi azai,

Since ur sender and reciever system is r/3 , so u should use business systems as reciever and sender.But i guess u can do it with business service also.for test purpose..but u have to include the outbound and inbound interface name in the business service.

ur Scenario is RFC-XI-RFC..

IR

1)import 2 RFC's

2)create message mapping (RFC1.request to RFC.request)...since ur scenario is asynchronous..u dont need to use <b>response</b>

3)create Interface mapping...

ID

1)receiver dtrmination

2)Interface deteremination

3)sender agrrement

4)receiver agrrement

regards

biplab

Former Member
0 Kudos

Hi Biplab ,

2)create message mapping (RFC1.request to RFC.request)...since ur scenario is <i></i>

RFC1.request is what r3 system triggers. XI receive RFC1.response and will map to RFC2.request. For these how will you create Interface Mapping. As both the bapi's are synchronous.

I mean in Interface Mapping when you select the source interface as RFC1 and target interface as RFC2 and click on the Read Interface. U will get RFC1.request to RFC2.request and RFC2.response to RFC1.response. but this is not my requirement is. RFC1.response to RFC2.request is my requirement.

I hope i am clear.

former_member192892
Active Contributor
0 Kudos

Hi Shaik,

Create a new message interface for the BAPI response of RFC1 and the BAPI request of RFC 2 using the message type from the RFC

Former Member
0 Kudos

hmmm.. ok not a problem....select ur <b>source interface as RFC1.response

and target interface as RFC2.request .</b>But before that...u have to create a Message mapping between <b>RFC1.response and RFC2.request .</b>

Former Member
0 Kudos

hi Varun,

if i go ahead with ur idea, then when i trigger the RFC1 from R3 system ,the message is not hitting XI server becoz of different message types.

Former Member
0 Kudos

hi biplab,

How is that possible biplab. when u select the source interface there is no option of picking RFC1.response and RFC2.request. when u select the BAPI's and click on the read interface there it will show as rfc1.request to rfc2.request and rfc2.response to rfc1.response.

that is what my problem here is.

Former Member
0 Kudos

<b>How is that possible biplab. when u select the source interface there is no option of picking RFC1.response</b>

its possible!!! Donot drag and drop ur RFC...use the option "<b>Search for Repository object</b>" ->there u can see request and resopnse for all RFC ....

Just try with that. it will work!!! and let me know if u face any problem!!!

Former Member
0 Kudos

hi biplab,,

I am in interface mapping, source interafce using the Search option - imported objects- there i can see the BAPI name only. there is not BAPI.response under the objects.

I have the same problem. can u tell me is there any way round.

thanks

Mohammad

former_member192892
Active Contributor
0 Kudos

Hi Shaik,

This post should be of some help...Instead of file receiver, use RFC

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

Thanks

Varun

Former Member
0 Kudos

U cannot use Business Service for RFC to RFC scenario. U have to use Business System WebAS ABAP for it.

Regards,

Shabari

Former Member
0 Kudos

Dear Shabari,

thanks for ur response. With the Business Service also i am able to get the message in XI from SAP r3 system.

as i am getting RFC1.response from r3 syetm and that needs to map to RFC2.request. In IM i am not able to find MM for this messages.

prateek
Active Contributor
0 Kudos

I think the the end to end scenario wont work without a Business System.

Have a look at SAP Note 730870 - Q15

<i>A RFC sender channel is located beneath a service within the Integration Directory. Within this service choose "Service" -> "Adapter-Specific Identifiers". The values in the fields "R/3 System ID" and "Client" has to be maintained with the correct values of the system, that sends the RFC call to the RfcAdapter.<b> It normaly only makes sense to have these values filled for services of type "Business System"</b>. If maintained in SLD, this fields will be filled automaticaly for services of type "Business System" and can be updated with the button "Compare with System Landscape Directory". </i>

Regards,

Prateek