SAP Sender System (RFC scenario)

I don't understand who will initialize process of sending a message in case of RFC sender system.
I need to configure RFC destination in SAP System, configure XI RFC Sender Channel.
Will XI invoke RFC function on sender system? or Will sender system invoke RFC function on XI?
How to set up scheduling?

hi Denis,
>>>>Will XI invoke RFC function on sender system? or Will sender system invoke RFC function on XI?
if you want to send from the SAP then you have to
invoke the RFC youself
call function
desination
in background
commit work.
then all the values will go to the XI
that you passed in your RFC call
Regards,
michal

Similar Messages

  • Help Need on SOAP (Sender) to RFC Scenario(Synchronous Communication)

    Hi All
    I have a requirement of <b>SOAP(Sender) to RFC</b> scenario(Syncronous Communication).  The scenaio goes like this........
    I have a web service through which I have to create a SAP Notification in SAP system and the Notification ID created and other details have to be returned back to the webservice from the BAPI.  I have identified the relevant BAPI for the scenario.
    I have a wsdl file which I have uploaded it.  What are the next steps to be done?
    Please let me know what all(e.g., Data types, Message Types, Message Interface)  I have to create in Integration Repository and what all configurations I have to make in Integraion Directory.
    FYI, I have a gone through a list of Blogs, but didn't get enough info.
    Please help me out in providing your valuable answers.
    Thanks,
    Vijay
    P.S. Rewards points are sure .....

    Hi Vijay,
       If at all you have uploded wsdl file for the webservice you no need to create data types for the same even for the same as RFC also.
         Create message mapping and drag the wsdl file which you have imported as External Definiations and there you will be having request and response parameters..Do the mapping accordingly(according to your requirement).
    Mapping like:
        Wsdl(Request)---->RFC (Input parametrs)
        RFC (out parameters)------>wsdl(Response)
    Create message interface with Synchronous for outbound
        No need of DT,MT if at all if you import the wsdl file.
       Hope i am clear.
      Please let me know if you have any queries..!
      Thanks and Regards,
      Chandu.
    null
    null

  • SOAP Sender to RFC Scenario WSDL File

    Hi,
    I am working on SOAP -> PI -> RFC Scenario. I generated WSDL from sender agreement and gave to the client that can consumed by the third party system. But client is not ready to consume the WSDL. He provided WSDL and asking me to use that. Could you please suggest whether WSDL given by the client can be used in SOAP -> PI -> RFC Scenario. If it is possible, could you please provide steps how it can be done?
    Thank you.
    Regards,
    Cdr.

    Thank you Hareesh & Divya,
    When we generate WSDL from PI, it gives soap action and soap address location based on the interface we use for SOAP -> PI -> RFC.
    When we import WSDL given by the client as external definition, we get messages(Structures). But where do we pass the soap action or address location. I do not see any option in the soap sender communication channel. I am not visualize the link.
    Can somebody share their knowledge if they have done in this way.
    Thank you.
    Regards,
    Cdr.

  • One Sender system (sync) and two receivers system(Sync) . Pls help

    Hello All,
    For one Sender system (sync) and two receivers system(Sync)
    as I am using BPM for it.
    CRM sender system (RFC)
    DM (RFC) and ERP Receiver systems (RFC)
    Pls let me know
    In Receive there is only two mode
    1. Async
    2. Open S/A bridge
    So do i need to choose Async mode for sender RFC.
    Pls tell me the BPM flow steps for my scenario
    Regards

    Use Open S/A bridge
    The scenario could be done wihtout bpm. Ur requirement is not clear but here could be the steps. Steps.
    Receive
    Sync send
    Sync send
    Async send
    Regards,
    Prateek

  • RFC  Scenarios Debugging

    Hi,
      I want to know the procedure for debug the RFC scenarios both Inbound and Outbound RFC's  debugging..
    soppose from a file to RFC  and RFC to File means.. how can we debug the both scenarios...
    is there any debugging Guide is availabale for  all the adapters and all the scenarios debugging procedure and steps .. please suggest  me..
    Thanks
    Babu

    Hi,
    Please refer below guide
    SAP NetWeaver Troubleshooting Guide
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd5950ff-0701-0010-a5bc-86d45fd52283
    Best way to debug RFC and SOAP scenarios
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    SAP Network Blog: Troubleshooting of ALE Process
    /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
    SAP Network Blog: Some errors in an XI production environment
    /people/prashanth.azharuddin/blog/2006/11/24/some-errors-in-an-xi-production-environment
    SAP Network Blog: Useful SAP Notes for XI
    /people/sap.user72/blog/2005/05/02/useful-sap-notes-for-xi
    SAP Network Blog: XI : RFCAdapter ReConnect Issue
    /people/community.user/blog/2006/09/21/xi-rfcadapter-reconnect-issue
    SAP Network Blog: RFC Scenario using BPM --Starter Kit
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    SAP Network Blog: Monitoring a flow in XI
    /people/sergio.locatelli2/blog/2006/10/09/monitoring-a-flow-in-xi
    Thanks
    Swarup
    Edited by: Swarup Sawant on Feb 12, 2008 6:32 AM

  • Scenario SAP R/3 --(RFC)-- XI--(RFC)-- JCo.Server

    Hello,
    I am wondering if anyone can send me some feeback for such scenario. SAP R/3 version is 4.6c, SAP XI is 3.0 and JCo are 2.0.12.
    I am having some trouble which I think are link to the fact that the SAP XI is Unicode and not the JCo.Server ... However I was thinking SAP XI will adapt, since it works well for scenario SAP R/3 (RFC)> XI (RFC)> SAP R/3.
    Thanks for your feeback.

    Hi Grégory,
    I guess I faced a similar problem,  the problem was that in the receiver RFC adapter you have to specify both an RFC target system and a system to lookup the metadata.
    The target RFC system hat to have the same unicodeness of the metadata lookup system that means in your case that if jco server is non unicode also you R3 has to be non unicode otherwhise it will not (never) work, because this is a mandatory requirement of the RFC adapter.
    In my case this was not possible so I was redirecting the RFC call to the ABAP stack of XI (where I had exposed the same function module which was simply recalling the same function module to the target system) and it worked/works.
    Regards,
    Sergio

  • Can anyone plz send HTTP to RFC scenario

    Hi everyone,
              can u guys send me the HTTP to RFC scenario? plz send the detail scenario for HTTP-XI-RFC.
    thank u in advance
           xilearner

    1.Created data types for mapping with HTTP request and response.
    2. Created messsage types and assigned corresponding data types to the message types.
    3. Created one Message Interface (Outbound/Synchronous) for HTTP type and no need to create interface for RFC. You ca use the one which you have imported from R/3.
    4. Create request and response message mapping and one Inteface mapping (with request tab and response tab) properly assigned.
    Defined the following in ID:
    1. Created HTTP business system (no communication channel)
    2. Created communication channel for receiving system (SAP).
    3. Created receiving determination and interface determination, receiver agreement, no sender agreement.
    Check this link on how to configure RFC channel.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm
    Send XML message  from HTTP client and you will see the response in the same.
    Regards,
    Sudheer.

  • Multiple clients for a RFC sender to SOAP scenario

    All,
    We have a RFC to SOAP scenario in our Development server and is working.
    The problem we are having is - we only have one XI server available. But there are different clients in Dev that want to use this scenario now. Though we create the new BS for each of these clients, the issue i see is in the RFC sender communication channel. it needs to have the program id.
    Right now we are creating a new program id for each of the clients(which translates to different RFC destination names on the ABAP side)... but that is causing a problem on the ABAP side - since the calling function is the same and they need some logic to change the RFC destination based on the client..
    Are we missing something or is there a simpler way to this?
    Thanks.

    we created the exact same way you told... just add another business system. complete the receiver determination, interface determination and sender agreement.
    It works every other time. When we checked the communcation channel monitoring - it will go to the client 210 once, and it would work. when we call the next time - it will error with a short dump in ABAP - but the error will appear on the communication channel for 250 (though we are calling from 210).
    Error in processing caused by: com.sap.aii.af.rfc.afcommunication.RfcAFWException: alternativeServiceIdentifier: party/service from channel configuration are not equal to party/service from lookup of alternativeServiceIdentifier (CPA party/service/channel ''/'UD1CLNT250'/'RFC_UD1CLNT250', lookup of alternativeServiceIdentifier for party '', schema 'TechnicalSystem' with 'UD1#210' returned party/service of ''/'UD1CLNT210')
    Any thoughts?

  • ALEAUD to sending system in ALE scenario using XI

    Hi,
    I have a quite simple ALE scenario with following components;
    SAP IS/OIL -> (CREMAS) -> XI -> (CREMAS) -> SAP Retail
    I have read both how-to-guides; IDOC-XI scenarios and handle ack. for IDOCs.
    By activating the runtime paramter ACK_SYSTEM_FAILURE, XI will send ALEAUD in case of error on XI - this works in a way.
    By using program RBDSTATE on SAP Retail - this works in a way.
    <b>Challenge 1:</b>
    In case of error on XI, the ALEAUD message sent back to IS/OIL doesn't contain neither message type or the referenced IDOC from IS/OIL;
    E1ADHDR-MESTYP
    E1ADHDR-MESTYP_LNG
    E1STATE-DOCNUM
    is missing.
    <i>Anyone with ideas?</i>
    <b>Challenge 2:</b>
    The ALEAUD from SAP Retail (using RBDSTATE) is not referring to the right IDOC from the sending system, seems to me that Retail is using it's own number range.
    <i>Anyone with ideas?</i>
    best regards
    Torstein

    Hi,
    Even I have the same problem.
    I have configured ALEAUD in Integration server. When there is an error ( sa incorect RFC Destination of Receiver), an ALEAUD message type iDoc is sent back to the sender SAP System. But i noticed that the iDoc has only data in the segment E1STATE ( with data status, statxtstamid). But the segments E1AHDHR and E1PRTOB are empty.
    The acknowledgement idoc doesnt contain any reference to the message( like the message ID) which has gone for an error. It just contains error text.
    Could you please let me know how you solved it
    Thanks & Regards,
    Vani

  • Issue while calling the RFC in SAP quality system but not in SAP Dev sys

    Hi,
    Our scenario is FIle-RFC-File.
    We are calling the RFC from XI system in Development environment. This is working fine in Development environment, but not in Quality environment.
    This changes are moved/transported to Quality environment in both XI and SAP side. But we are getting the following error in Quality system:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><b>com.sap.aii.af.ra.ms.api.DeliveryException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null></b></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Please provide the inputs, what we can check at SAP side and XI side.
    We have tried to test from XI Development to SAP quality environment, but we are getting the same error message.
    Waiting for the precious inputs.
    Thanks,
    Ramesh.

    Hi Ramesh,
    This might be because your RFC adapter would not have been configured properly. Just do a check on it,in RWB(adapter monitoring) and activate it once more in ID.
    Also check RFC comm. parameters such as host name/user id/password etc..
    Also check whether your XML document is having a mismatch with your RFC XML.
    Check with your payload ( from SXMB_MONI) and test it in your message mapping.
    All the best!
    cheers,
    prashanth
    P.S Please mark helpful answers

  • SAP WCF - Getting incorrect action when trying to send a RFC to SAP

    SAP WCF - Getting incorrect action when trying to send a RFC to SAP
    I am trying to send a rfc and i am getting this message below.
    Does anyone know the correct action i need to use?
    Event Type:        Warning
    Event Source:    BizTalk Server 2006
    Event Category:                BizTalk Server 2006
    Event ID:              5743
    Date:                     7/6/2009
    Time:                     3:02:26 PM
    User:                     N/A
    Computer:          saptestbox
    Description:
    The adapter failed to transmit message going to send port "WcfSendPort_SAPBinding_Rfc_Custom" with URL "sap://CLIENT=200;LANG=EN;@a/saptest/90?ListenerGwServ=sapgw90&ListenerGwHost=saptest&ListenerProgramId=testE1D200&RfcSdkTrace=False&AbapDebug=False". It will be retransmitted after the retry interval specified for this Send Port. Details:"Microsoft.ServiceModel.Channels.Common.UnsupportedOperationException: Incorrect Action <BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <Operation Name="_x002F_SIE_x002F_E_MM_INVENTORY_INTF" Action="http://Microsoft.LobServices.Sap/2007/03/Rfc/_x002F_SIE_x002F_E_MM_INVENTORY_INTF" />
    </BtsActionMapping>. Correct the specified Action, or refer to the documentation on the allowed formats for the Actions.
    Server stack trace:
       at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)".
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

    I am getting same error even after using the same operation name  in logical and  in action on physical port as in Binding file created by adapter
    Details:"Microsoft.ServiceModel.Channels.Common.UnsupportedOperationException: Incorrect Action <BtsActionMapping>
    <Operation Name="Send" Action="http://Microsoft.LobServices.Sap/2007/03/Idoc/3/ORDERS05//711/Send"/>
    </BtsActionMapping>. Correct the specified Action, or refer to the documentation on the allowed formats for the Actions. Note that Actions are case-sensitive.

  • RFC Adapter - Where to Register Rfc2XmbService (Sender System or XI ?)

    Experts,
    I have the following scenario:
    R3 --> RFC_ADAPTER --> XI --> SOAP --> THIRD_PARTY
    My specific question is, In which system do I need to register the Rfc2XmbService program. Is this done in the R3 system or in the XI system.
    If it is done in the R3 system then where is it done cause there is no J2EE administration tool in R3.
    Could someone explain exactly what this registration concept is.
    Thanks and appreciate any help in advance.
    - Ravi
    --- I have figured this one out already. The program needs to be registered in XI and Not the sender system.
    Thanks
    Message was edited by: ravi kumar

    Hello,
    the Rfc2XmbService registers itself when you activate the RFC adapter in the Configuration but you can preallocate it through the Visual Admin.
    Further by default are logging for sync calls not enabled, e.g. you don't see anything in SXMB_MONI.
    Therefore go to SXMB_ADM and the Integration Configuration option and under the RUNTIME specific option create an entry for
    RUNTIME LOGGING_SYNC 1 (0 is default).
    Also make sure that the rfc adapter is activate in the AdapterFramework overview. On the target system call transaction SMGW and go to logged on clients to see if you see the Rfc2Xmb Service. Then in SM59 of the R/3 system you should have an entry pointing to the Rfc2Xmb service and a test should give you an idea if it works.
    I'm doing R/3 4.6c -> XI 3.0 -> R/3 Enterprise about 20 BAPIs, no issue.
    I hope this helps.
    Stefan

  • SOAP to RFC Scenario - Error at Sender Communication channel !!

    Hi Experts ,
    I am trying to execute a SOAP to RFC scenario . At SOAP sender channel level I am getting the error in RWB .
    My findings :-
    1. Error at RWB  9/24/09 4:24:10 PM   error occured
                             9/24/09 4:24:06 PM   request received
    2. At SOAP UI client tool :
       <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>ADAPTER.JAVA_EXCEPTION</code>
                   <text>com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:UPDATE:HTTP status code401 Unauthorized
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)
         at com.sap.aii.af.ra.ms.impl.core.queue.consumer.CallConsumer.onMessage(CallConsumer.java:134)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:917)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:207)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    3.  At SOAP UI level - "requires authentication with the realm 'XISOAPApps'"
    1. I don't see any issue in authorization as i am having SAP_ALL .
    2. URL string seems to be O.K :
        http://ABC:50000//XISOAPAdapter/MessageServlet?channel=:BSer_SOAP:CC_SOAP_Sender&version=3.0&Sender.Service=BSer_SOAP&Interface=urn:ABC.com:%5EMI_CustomerInfo
    Kindly advice !!!
    Regards ,

    1. Check PI id and password is working fine.
    Check if the user you are using has SAP_XI_APPL_SERV_USER role.
    Another way is to pass id and pwd in URL
    Try to pass the User ID and Password in the URL( the URL which is given to the webservice).
    Example: http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel &sap-user=xxxx&sap-password=xxxx
    2.Provide SOAP URL like -
    http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel

  • Jco.webas.ignore_jdsr_error=1 in the sender side RFC adapter of RFC to SOAP scenario

    Hello Team,
    I am doing RFC to SOAP scenario after configuring the scenario i have checked the sender side communication channel it is not throughing any errors and it shows the status as green but it is displaying a short message
    it is the short log displayed while checking the sender side RFC communication channel it shows that "jco.webas.ignore_jdsr_error=1" can please any one suggest me how we can solve the issue.
    Regards,
    Avinash.

    Hi Avinash - I don't think that is an error instead it just displays your  system configuration.
    your RFC adapter should work i believe..
    Are you facing any issues?
    (I think the parameter is nothing but the value @ nwa/java system properties/XPI Adapter:RFC -> ignoreJrfcJdsrError(true/false))

  • RFC user in Sm59 on sender system - no access to XI

    Hello,
    we want to implement an IDOC scenario.
    So we added a RFC connection on the sender system and added a user here
    which is copied from PIAPPLUSER on our PI 7.0.
    The connection test is successful with
    - remote login
    but not successful with
    - authorization test (STRG F4).
    Message in trace was: wrong password used.
    But we are sure that the pwd is correct. We tried this with three different users and the result is for each of them the same.
    Any help is appreciated.
    Regards
    Dirk

    Steffen/ Dirk,
    Not a bug. You can find the reason for this wiered behaviour in this thead.
    Re: Problem with RFC Destination in SM59
    Regards,
    Jai Shankar

Maybe you are looking for

  • Hp officejet pro 8610 - Unable to connect to server

    Hello. I bought a printer hp officejet pro 8610. I have a home worth router Zyxel Keenetik. My laptop and smartphone access to the Internet via a router (to access the Internet proxy server is not required). I set up the printer on a wireless connect

  • Book Module format issue with Blurb

    I uploaded a book to Blurb with two separate 2 page spreads filled with one photo across the two pages. This first photo appears mismatched with the right side being slightly smaller than the left side. The second photo appears with properly matched

  • Problems Creating Custom Connections In SQL Developer

    I have the Auto-Generated Local Connections available in SQL Developer 3.2.20.09 Build MAIN-09.87, but cannot create my own connections. I've searched the forums, but haven't had an "AHA" moment. I installed the 32-Bit Oracle 11gR2 and SQL Developer

  • Subtract single digit array elements

    hi all i have created 2 int array both have the same size of 15... i don't have to fill it all in ... so it can be half of the array filt in with number and the rest will be zero's by default... so each element can have only one digit example: int[]

  • Update Termination in VA02

    Dear all, We want to Close the Service Order linked with the Sales Order Item, while SAVing the changes done in that Line Item through 'VA02'. I am doing this before saving the Document (Sales Order), using BDC. But, after my coding, control goes to