RFC-SOAP scenario

Hi ,
We are working on SAP to CRM Integration RFC to SOAP, in this Inovice interface, We will trigger the interface in XI, it has to fetch the records from ECC system and update in CRM system. When we are trying to trigger this interface in xi based on From and TO Dates. it is not fetching any records , it is showing zero records in Moni. when we tested the RFC in ECC system giveing the From and TO Dates it is fetching some records, through xi it is not fetching any records.
Please let me know the reason, why data is not fetching.
thanks in adavance.
regards,
Pasi

Hi Pasi,
when we tested the RFC in ECC system giveing the From and TO Dates it is fetching some records, through xi it is not fetching any records.
A function module, when imported to XI/PI, consists of three messages, namely: Request, Response and Exception. When you are executing the function module in the SAP  system, you will be getting a response because the function module is located in the system itself and that the values are located in the SAP system.
When you send the request to SAP PI, it should not be able to retrieve the values because
1. The function module is not in SAP PI
2. The values that will be retrieved is also not in SAP PI
So as a solution, you need to create a function module that will call the fm in SAP and send its output to SAP PI.
Hope this helps,
Mark

Similar Messages

  • Synchronous RFC -- SOAP Scenario: problem with SOAP Response/Fault Mapping

    Hi,
    I've a synchronous RFC --> PI --> SOAP Scenario. The problem is that the message structure of the sending RFC doesn't match the Webservice Structure.
    The (SAP standard) RFC has just a Request / Response message structure. Part of the Response Message structure is a exception structure.
    The Webservice has a Request / Response message structure and in case of an error I get a SOAP:Fault.
    Problem now is that I cannot configure that scenario without usage of BPM as I will have to map SOAP:Response or SOAP:Fault to the RFC Response structure.
    Has anybody another idea to do that synchronous scenario (with usage of message mapping) without BPM?
    BR
    Holger

    1)
    you maus define 3 mapping.
    1)request
    2)response
    3)Fault
    in Interface mapping define at response boths (2-3) mapping. its clear??
    2)
    otherwise sometjhing is not clear, why do you want fault?? why dont you  get only response message. we implement this kind of response:
    <response_MT>
    <ID> (error ID)
    <system> (target system) 
    <error> (Error Description)
    </response>
    by this way fault message is not needed. but if you must have it just follow the top of message else, propose second.
    Thanks
    Rodrigo
    Thanks
    Rodrigo
    Edited by: Rodrigo Pertierra on Feb 25, 2008 11:52 AM

  • ASync RFC -- Sync RFC -- SOAP scenario: do I need BPM?

    Hi,
    I have this scenario. ASync RFC --> PI --> Sync RFC --> PI  --> SOAP scenario.
    Here are the details.
    1. users run async RFC and it will pass data to PI.
    2. PI will call Sync RFC with received data and get the data.
    3. PI now calls web service with received data from #2.
    Do I need BPM to implement this scenario.
    Thank you.
    -Won

    I'm still wondering if it's possible to perform my scenario without using RFC lookup or BPM.
    Yes, it is possible.
    I want to see if PI supports sequence of calling RFC, JDBC, web service, etc and pass data to
    the next call in sequence... without BPM...
    Yes, PI supports that. Please make a search on SDN, there are numerous blogs / posts which talks about A/S bridge without BPM.

  • How to configure EOIO for async RFC ----- SOAP scenario

    Hello Experts,
    I have Async. RFC----->SAOP secnario. Problem is that when the target system is down the PI system do not recoginze it and send the message successfully to target system, where the target system is down and do not show those transaction in it.
    I got the impression that , I have to make the QoS as EOIO and set up the queues in the PI.
    So, I checked both the comm channel RFC Sender and SOAP recevier but i was not able to find the option where we can make the QoS to EOIO.
    Do we need to mention the QoS in the SOAP URL in SOAP recevier comm channel . if yes please anyone can give me an example of that.
    Or do we have other option in PI to identify that target system is down and we can queue up the msgs in PI.
    I would appreciate your responses.
    Thanks.

    Problem is that when the target system is down the PI system do not recoginze it and send the message successfully to
    target system, where the target system is down and do not show those transaction in it
    No need to change the Qos in order to know the status of the target system.
    Just configure alert for Adapter Engine...when the SOAP channel tries to send the message and if the target system is down and alert will be generated (Connection Exception: Connection refused).
    This will indicate that the Target system is down....now it dpends on your business on what to do in such a case....to cancel the message or to restart it (from XI/ PI)
    Making QoS as EOIO will cause the entire queue to get blocked...and hence the following messages will also get blocked and wont be delivered even if the target system is up and running.
    Regards,
    Abhishek.

  • RFC-SOAP (B2B)

    Hi....All,
    1) I am doing RFC-SOAP Scenario (B2B), we r getting the response from target(soap) system to XI, from XI we want to send the response to sap system inbox.. how we will send the response from xi to sap inbox.
    pls suggest me..its very urgent?
    2) for RFC-SOAP Scenario WSDL File required or not, pls suggest me...
    if anybody is having the ex scenario pls send it to me that is very great help for me..
    ****for helpful answers i will assign the points*****
    regards,
    Pasi.

    >
    > 2) for RFC-SOAP Scenario WSDL File required or not, pls suggest me...
    To create the message/data structure in IR , which you want to send it  to target system, there are two ways
    1) Manually create it
    OR
    2) Import WSDL file through External Definitions, it will automatically created.
    For communicating( in ID) no WSDLis required only URL is required to communicate with Web Services which is mentioned in WSDL file or you can ask it from client directly.
    Regards,
    Piyush

  • Rfc-soap

    Hiu2026All,
    I am trying to do RFC-SOAP scenario with out using WSDL file, is it possible or not ?
    Or I want to change the scenario.
    if posible how i will procedd pls suggest me
    thanks in advance,
    Jain.

    Hi JAIN,
         If you don't have the WSDL( containing both request and response structures), You must be having the individual request and reponse XSDs right which should be imported in your external definitions.. You can procede with them.You don't need to change the scenario.
    In the following blog you can see this and the usage of XML spy too.
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    Thanks,
    Vijaya.

  • SOAP to RFC - Sync Scenario. How to find where the response is going to?

    Hello All
    I have a SOAP to RFC sync scenario.
    In SXMB_MONI,  i see that both the initial message and the response message are successfully processed.
    But, the SOAP sender is not receiving the response message.
    How can i trouble shoot this scenario? How can i findout what is going wrong?
    Most importantly, How can i find out the web address of the SOAP sender? I do not see it anywhere.
    Thanks

    Hi Chandra,
    Please check this blog.
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    You can by pass your message through a TCPIP gateway , this will help you to see the message contnet and the SOAP header information.
    TCPIPGW application is availabel in one of the SAP notes for Monitoring SOAP adapter. and 2 SAP SDN PI  blogs are also there on how to use this application...
    Regards
    Sunil.

  • RFC to SOAP Scenario error

    Hello ALL
    I am trying to working in RFC to SOAP scenario in sap pi 7.31 single stack system.with help of blog **************** - Scenario on RFC to SOAP
    i am trying to pass input values from ECC through RFC  to web service .
    while sending data using  function module from ECC system i got following error
    thnx in advance

    Hi Ganesh,
    are you getting any error is SM58? Please check the below blog for configuration
    Michal's PI tips: How do you activate ABAP Proxies with AEX - simplified version
    IDOC_AAE To File with all Configurations
    the below discussion will be useful
    RFC to FILE(7.3) single stack

  • Rfc  to soap scenarios

    hi expects ,
         can any body send me the rfc to soap scenarios examples.please help me.

    Hi Santosh,
    Check the following link.. hope it will help u..
    Configuring the  Synchronous scenario in XI
    Regards,
    Rohit.
    Reward points if helpful.

  • RFC TO SOAP SCENARIO

    Dear Experts,
    I am facing the Following error for RFC to SOAP Scenario, i Tried
    1. Full Cache Refresh
    2.Delete and create Sender Agreement Again
    3.Specifying the Program id Again
    yet the Scenario is not Working, could you please help me in Resolving this at the Earliest
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fromService 'ISU64', toParty '', toService '', interface 'YGVK_SEND_WS_TO_WS', NS 'urn:sap-com:document:sap:rfc:functions' for channel 'CC_YGVK_SENDER_WS_TO_WS' (channelId f1219fd41be734a2a72cd3ddcb779475)
    Regards,
    Vijay Karthik G

    Hi,
    copy the sender agreement to the same one but in party field
    remove the " * " (it has to be empty)
    test it and let me know
    Regards,
    Michal Krawczyk

  • RFC  to SOAP Scenario -- Delivery Exception

    Hi All,
    I am working on RFC to SOAP scenario.
    On executing a program in the SAP system, the system is throwing a dump stating                                                   "com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML".
    I feel that the error is because of the response not being sent back by the webservice. On executing the webservice independently, it is working fine i.e. sending back the response.
    Can anyone suggest the possible reasons for this error and what needs to be done to rectify this?
    Thanks,
    Ravi Kiran

    the return from the Web service must have been an HTML(may be an error page or something)...What kind of authorization does this WS look for ?
    Pls check these threads...
    SOAP Receiver Adapter Proxy Settings
    Receiver SOAP Adapter Error: invalid content type for SOAP: TEXT/HTML

  • ERROR During call of SOAP with a SOAP- RFC- SOAP Synchronous scenario

    Hello Experts,
    I've recently created a SOAP->RFC->SOAP synchronous scenario but every time I'm invoking the SOAP via XMLSpy then i will hang and send a timeout error. Also a log in XI was generated as shown below.
    I hope you could help me on this one.
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB
    Date and Time          28.09.2010 09:31:23
    Short text
         SQL error in the database when accessing a table.
    What happened?
         The database system detected a deadlock and avoided it by rolling back
         your transaction.
    What can you do?
         If possible (and necessary), repeat the last database transaction in the
          hope that locking the object will not result in another deadlock.
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
          in
         procedure "DELETE_LUW_PACKET" "(FORM)", nor was it propagated by a RAISING
          clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         The database system recognized that your last operation on the database
         would have led to a deadlock.
         Therefore, your transaction was rolled back
         to avoid this.
         ORACLE always terminates any transaction that would result in deadlock.
         The other transactions involved in this potential deadlock
         are not affected by the termination.
    Regards,
    Alfred

    Normally such an error comes when the DB of SAP PI is full.
    Contact your BASIS or ADMIN team and ask them to free the DB space.
    Regards,
    Abhishek.

  • 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-to-SOAP-Scenario: XIServer:NO_MAPPINGPROGRAM_FOUND

    Hey guys,
    We've implemented in SAP PI 7.11 a RFC-to-SOAP-Scenario. The whole scenario is sync. WSDL and RFC are imported objects.
    Now we're going on to test in backend and call the related remote function module via se37.
    The error message is (from xsmb_moni)::
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
      <SAP:P1>Object ID A2DC458230C93030AE8B43396EEC43DB Software Component 83222F30FC9011DF8643DD3AC3E93CB3</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Mapping program is not available in runtime cache: Object ID A2DC458230C93030AE8B43396EEC43DB Software Component 83222F30FC9011DF8643DD3AC3E93CB3</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    What we've already done:
    -> Cache refresh
    -> server restart
    -> soap fault mapping
    -> dummy changes
    -> mapping is available in sxi_cache
    -> function module is not dumping in backend
    Any ideas how we can go futher with this?
    Thank you very much and greetings,
    Stefan

    FYI...
    Apparently, this error message can sometimes be misleading.
    I found in another thread that this message came after a short dump in the ABAP function. After viewing ST22 in our backend system I noticed short dumps corresponding to the times when I make the SOAP call.
    [NO_MAPPINGPROGRAM_FOUND SOAP RFC Adapter]
    We can call SE37 with the same parameters and there is no ABAP error. So the search for root cause continues, but maybe this info will help someone.
    -Aaron

  • Error RFC to SOAP Scenario

    Hi Experts,
    I am getting an error while dealing with RFC to SOAP scenario::
    soap fault: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: . at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
    IS it problem from the webserver in sending the response?
    Please suggest.
    Thanks & Regards,
    Sushama

    Hi Suraj,
    Thanks for the imputs.
    We are given with the webservice by separate team, also I am accessing the application via Citrix. I cant test the WS outside the client network and in client desktop they haven't installed Altova Xml Spy
    Request and response both are generated in Moni. It seems problem in receiving response only ?? WS url is also correct.
    Regarding Receiver Soap parameters:
    I have checked adapter specific identifiers and Variable transport binding.
    Please suggest, if this is problem with the WS, I need to check with the team.
    Thanks & Regards,
    Sushama

Maybe you are looking for

  • How can others open more than one form? [Was: Sandra]

    How do you use Forms Central? I am the only account that can open more than one form. I have added all the people in contacts. When they login, they have the upgrade option for more than one form. We have an order number and end user id. Thanks for t

  • Extreme base station with BT homehub

    Hi I wonder if anyone can help. I have a BT homehub that as result of contention needs to be attached to the first phone point into house. I want to be able to get my Imac to connect wirelessly to the BT hub via airport. I then want to use the ethern

  • Switching icloud accounts on an ipad

    Hi, Im wanting to switch an icloud account on an ipad, the ipad belonged to my mother but now im using it. What I want to do is make a new icloud account for this ipad (and an email) and add my Apple ID, to do this would I need to go into the icloud

  • Differences of GLs in FSV and BI Report

    Dear Friends, Every month when BI Report is downloaded, it leads to differences in some of the GLs in BI Report in comparison with FSV. I want to find a permanent solution to this. Please suggest. Regards Sridhar

  • How can i unlock my iphone 5s recently on lost mode?

    How can i unlock my iphone 5s which i recently put on lost mode?