Skip to Content

RFC Sender Configuration in Asynchronous Mode

Hi,

I need to Configure a Scenario in such a way that when i Execute RFC the Output should be Sent to File by using XI.

Configuration Done by me.

Imported RFC. Created a File Data type, Message Type, Inbound Asyn Message Interface, Created an Outbound Message interface for RFC Response. Done Message mapping and Interface mapping.

Created Sender Aggrement,Receiver Aggrement,Receiver Determination,Interface Determination also.

when i execute the RFC from Abap Report. it is throwing an Error

"senderAgreement not found: lookup of binding via CPA-cache failed for..."

So i created an Sender Aggrement as

Service: SAP Business System

Interface: RFC name

Namespace: urn:sap-com:document:sap:rfc:functions

it gave new Error that No Receiver Determination.

So can Any one say

How can i do Message and Interface Mappings for this since RFC is Sync and File is Asyn?

If i create an Message Interface with RFC and File in Syn Mode it is giving an Error

"Message interface Message Interface Bapi_File_Abs_Syn | urn:
test8_RFC references an RFC message and a non-RFC message"

So please Suggest Me How to Create this Scenario.

Thanks in Advance.

Sriram

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jan 05, 2007 at 06:26 AM

    Sriram,

    You would need to create 2 Message Interfaces , both of them ASYNCH.

    Create the Message Interface for RFC --> Otound Asynch and use the RFC request as the corresponding message Type.

    Create the Message Interface for File --> Inbound Asynch.

    Create 1 message mapping between the RFC request message and the File message type

    Create 1 interface mapping ( between the Asynch Message Interfaces ).

    Make sure that you have 1 sender agreement ,. 1 receiver determination, 1 receiver agreement and 1 intreface determination.

    Also, make sure that only one sender RFC adapter uses the program id used in the TCP IP connection.

    Regards

    Bhavesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2007 at 11:06 AM

    Hi,

    Just do the below steps,

    Imported RFC.

    Created a File Data type, Message Type, Inbound Asyn Message Interface - these are all for Response

    Create the Message Mapping BAPI.Repsonse to Response Message type which is created you.

    Create the Interface Mapping Source is Directly select the BAPI Target is Inbound Async interface (BAPI you can use ASYNC/SYNC)

    Created Sender Aggrement - Sender R/3 Busines system , Interface is RFC , RFC Namespace and Communcation channel

    do the rest all steps...Receiver Aggrement,Receiver Determination,Interface

    Above all the steps i tried i am geeting some DeliveryException error..i am finding the solution how to resolve that also..

    Don't create for the Source Outbound Interface..directly use BAPI.

    Regards,

    Venu.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Sri Ram Devarapalli

      Hi,

      Create the Interface Mapping Source is Directly select the BAPI Target is Inbound Async interface (BAPI you can use ASYNC/SYNC)

      How can u Select Reponse type Directly - Directly select only BAPI That's all.

      (BAPI_COMPANYCODE_GETDETAIL - Source Interface)

      Create the Message Mapping - BAPI.Response Source Target is your Message type. (Once Drag the BAPI you will see three message types select Second one BAPI.Response)

      I did same thing...

      Regards,

      Venu.

  • Posted on Jan 05, 2007 at 11:32 AM

    Hi Sriram,

    I am sorry to have to say that none of the replies to your question so far is right.

    Do not create a message interface for RFC, use the imported RFC for routing and mapping.

    When you have an async RFC, so you just map the request, there is no response tab, when the target is async.

    Regards

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.