ABAP Proxy synchronous interface - access to payload

Hi,
I have a scenario from ABAP Proxy -> XI -> Web Service.
On occassion, there is an issue with calling the Web Service (unavailable for instance) and an exception is returned to the ABAP Proxy for a SystemError.
I am able to catch this exception in the proxy and output the error - for example HTTP.Exception.HTTP.Adapter.
However, I also want to use information in the response payload to output on the error as the payload contain infrmation on why the error was thrown in the target application - for example - Format of data xxx is incorrect.
I can get access to the request payload using interface/class IF_WSPROTOCOL_PAYLOAD=>GET_SENT_REQUEST_PAYLOAD but there does not seem to be an equivalent for GET_RECEIVED_RESPONSE_PAYLOAD !
Have anyone done this before - use payload information in an ABAP proxy from the response payload ?
Kind regards
Colin.

Hi,
I will need the actual payload info not the status.
I will have to debug SXI_MONITOR in CRM to see how it is obtained.
Thanks
Colin

Similar Messages

  • Web Service u0096 ABAP proxy  synchronous interface

    hi experts,
    can you suggest me how to do this scenario?
    <i><b>Web Service – ABAP proxy  synchronous interface.</b></i>

    hi,
    you can create a web service on XI
    which will call ABAP proxy (on ERP, SRM etc)
    in a synchronous way (you just need to generate the proxy class
    in TCODE SPROXY)
    then you can fill the method of your generated proxy class
    and you will have WS - ABAP proxy interface
    have a look at this to undrstand server proxy:
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • CANNOT_READ_PALOAD error with SOAP to PROXY Synchronous interface

    Hi,
       Problem with SOAP to PROXY Synchronous interface.
    In Production client, some times we are getting the below shown error in SXMB_MONI. There is no Inbound payload also.
    <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">CANNOT_READ_PAYLOAD</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Unable to read payload from the message object</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Please suggest me to resolve this.
    Thanks in advance,
    Hari.

    Hi Hari,
    In your case, check SAP Notes: 1082111 and  1060723.
    Regards,
    P.Rajesh

  • ABAP proxy inbound interface

    We are currently creating the ABAP proxy inbound interface program for the Update Goods Issuance (Serialized, Nonserialized), Inventory Count, and Fuel issuance.
    We would like to request for your help as we are new to developing ABAP XI programs. May we request for a sample program related to ABAP proxy inbound interface.

    HI Ricardo
    Proxy runtime allows only one operation for an interface. Either Sync or Async
    Moreover the error you have mostly occurs when you have not configured PI as IS or some other admin configurations. Check the thread given above
    Check these as well
    BW and XI on the same physical server
    Error in IS
    Thanks
    Gaurav

  • SAP PI 7.4 SOAP - ABAP Proxy Synchronous Webservice

    Hi Everyone,
    I am developing the following scenario:
    3rd party makes a SOAP call to SAP (via PI) to determine whether a vendor exists or not in the SAP system. The link for the call is provided by us from the Integrated Configuration.
    The request comes in, calls an ABAP Proxy to check if a vendor exists and sends a response back to the SOAP call with a 'Y' or an 'N'.
    I've read a lot about various scenarios but I'm having trouble connecting the dots as I'm fairly new to PI. I'd appreciate any help.
    I've made the following set-up based on assuming I need separate Service Interfaces for the SOAP Request & Proxy Response
    ESR
    1. Message Types
         SOAP (MT_SOAP_REQ & MT_SOAP_RESP) - PROXY (MT_PRXY_REQ & MT_PRXY_REQ)
    2.  Message Mappings
         MM_REQUEST    which maps MT_SOAP_REQ   to  MT_PRXY_REQ)
         MM_RESPONSE which maps MT_PRXY_RESP   to MT_SOAP_RESP)
    3. Service Interfaces (Synchronous)
        (SOAP Request)
        SI_IN (Inbound Interface)       with Request = MT_SOAP_REQ and Response = MT_SOAP_RESP
       (Proxy Response)
        SI_OUT (Outbound Interface) with Request = MT_PRXY_REQ and Response  = MT_PRXY_RESP 
    4. Operation Mapping
        OM_LOOKUP which maps SI_IN to SI_OUT with Request    (MT_SOAP_REQ  to MT_PRXY_REQ)
                                                                        and  Response (MT_SOAP_RESP to MT_PRXY_RESP)
    I create the ABAP Proxies for each Service Interface. SI_IN contains the required coded method to check if there is a vendor.
    I create the webservice and binding for SI_IN in SOAMANAGER
    At this point I'm somewhat unsure - what do I need to do for SI_OUT ? Do I need to create a logical port ? how is SI_OUT associated to SI_IN (apart from the Operation)  to get the response.
    ID
    In the Integration Directory I've created a SOAP_SENDER communication channel for System A and SOAP_RECEIVER channel for SAP.  For the SOAP Receiver I need to specify a URL - what should this be ? Is it meant to point to the web service for SI_IN in SICF or just to the generic http://host:8000/sap/xi/engine?type=entry 
    Do I need to use the HTTP_AAE adapter for the receiver instead of SOAP ?
    I created an Integrated Configuration for the SI_IN Service Interface with comm channel SOAP_SENDER from System A and SOAP_RECEIVER for SAP backend.  I then got the WSDL for this to provide to the 3rd Party to test (via SOAP UI)  . Again my concern is how is the SI_IN linked to the SI_OUT to achieve the response ?
    I appreciate you taking the time to go through this .  Any help is greatly appreciated.
    Thanks very much
    Gary

    I create the webservice and binding for SI_IN in SOAMANAGER
    At this point I'm somewhat unsure - what do I need to do for SI_OUT ? Do I need to create a logical port ? how is SI_OUT associated to SI_IN (apart from the Operation)  to get the response.
    >>>>No need to do anything in SOAMANAGER
    Do I need to use the HTTP_AAE adapter for the receiver instead of SOAP ?
    >>> No. Soap adapter is fine. Configure your receiver channel as explianed in the below blog (section 4.3)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70066f78-7794-2c10-2e8c-cb967cef407b?overridelayout=t…
    Again my concern is how is the SI_IN linked to the SI_OUT to achieve the response ?
    >>>>Your receiver determination and interface determination takes care of this.(receiver interface  & outbound processing tabs in ICo)

  • Message flow in SAP PI 7.31 JAVA only for ABAP Proxy synchronous scenario with Oracle DB

    Dear Experts,
    I am working on a synchronous scenario Sender ABAP Proxy <===> SAP PI 7.31 JAVA only <===> Oracle Database.I have successfully
    configured all the proxy configurations as well both Sender SOAP and JDBC receiver channels are showing no error when pinged from
    Cc monitoring in NWA.
    1.During testing at Tx SPROXY , I am triggering a message and after 5 minutes I receive an PARSING error message with 2 messages in ECC
    local IE i.e. Tx SXMB_MONI.
    Note : In NWA , I can see only 1 message that too in cancelled status.
    2.Seeing the trace of the messages I assume that the messages have not moved from sender ECC system. I am still confused with flow of message
    from the Message Audit log. Audit log of error messages.Could any one share the full Audit log of a successful message generated in SAP PI 7.31 JAVA only.
    3.I observed that the QIN Scheduler status in ECC is in INACTIVE status. There is no queue id for 2 messages generated in ECC. Does
    it should in ACTIVE status in Tx SMQR..
    Regards
    Rebecca

    Hi Thomas,
    Valuable inputs..
    1. Since I don't have any audit log for successful message, would you be able to share referring to the
    below screenshot whether the message was put into receiver JDBC adapter and JDBC adapter tried to retrieve the Select response from Oracle Database.
    2.I have done some setting in Advance mode of the receiver JDBC to increase the time out and other parameters as per SAP note but still the issue is same. If you perhaps have some experience in such scenarios, please share some input so that I can ask the Oracle Database administrator exactly what is required from our side.
    3.Regarding the slow response from Oracle , there was some suggestion that the datatype of the request and response should match the column name of the Oracle database. I did that.. Do you have any more suggestion that may be hampering the generation of the response message from the Oracle like SAP note or document.
    Regards
    Rebecca

  • Calling abap proxy synchronous ...

    Hi everyone.
    I have this scenario.
    abap proxy (request) -
    > XI (BPM) -
    > abap proxy (response).
    I'm able to send async the data using the proxy and i would like to send the response to other proxy.
    The best scenario for me would be if the proxy in sync, the BPM do some checks and finally, sender proxy returns the values.
    any idea of how to do this two scenarios?
    Regards,
    Inigo.

    Hi,
    >>>abap proxy (request) -
    > XI (BPM) -
    > abap proxy (response).
    are you sure that processing inside the BPM will take less then 30 sec?
    if not why do you want a syn call ? do you use this sync proxy call
    from an online report in r3 ?
    if you don't need a sync report do it in an async way:
    proxy - BPM - proxy (which writes the results to a table)
    and then from your report you can read from that table...
    one of the possibilities
    Regards,
    michal

  • File to Proxy Synchronous interface help

    Hi guys/experts,
    I have file to proxy scenario.
    I have created the objects in IR. When coming to ID, i got stopped in receiver agreement.
    Followings are the IR objects
    Data Types
    DT_File_Send - Sending data
    DT_File_Receive - Receive response data
    DT_Prxy_Receive - Proxy receive
    DT_Prxy_Response - Proxy response data
    Messsage Types
    MT_File_Send - Sending data
    MT_File_Receive - Receive response data
    MT_Prxy_Receive - Proxy receive
    MT_Prxy_Response - Proxy response data
    Message Interfaces
    MI_File - Outbound - Synchronous
          OUtput Message - MT_File_Send
          Input Message - MT_File_Receive
    MI_Proxy - Inbound - Synchronous
          Input Message - MT_Prxy_Receive
          Output Message - MT_Prxy_Response.
    Message Mapping
    MM_File_2_Proxy
    MM_ProxyResponse_2_File
    Interface Mapping
    IM_File_Proxy
    When coming to the intergration directory, i am able to create the objects for File to Proxy direction, but for the resposne from the proxy, when i try to create the receiver agreement, i am not able to select the message interface.
    Can anybody pls advise me how to complete the response direction..
    Thanks in advance
    Mani.

    When coming to the intergration directory, i am able to create the objects for File to Proxy
    direction, but for the resposne from the proxy, when i try to create the receiver agreement, i am not able
    to select the message interface.
    check if your development is as per this wiki:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file%2528without+bpm%2529&
    In this wiki the flow is FILE <-->XI <-> RFC .....while yours is FILE <> XI <---> PROXY......so the sender is the same....just replace the RFC with your Proxy and check.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Jun 9, 2009 4:00 PM

  • ABAP Proxy synchronous call to webservices

    Hi,
          I have the following synchronous scenario.
      SAP R/3 outbound proxy <-> SAP XI <--> Webservices.
    When I try to execute the proxy Execute synchronous,I am getting the following exception caught.
    CX_AI_SYSTEM_FAULT.
    What could be the possible reason for the exception to be thrown?
    Thanks,
    Leo

    Hi,
    This exception is thrown when there is an error in XI in a sync call.
    What does your message display show in SXMB_MONI in XI ?
    Kind regards
    Colin.

  • Error "SLD_NO_OWN_BS" while executing ABAP Proxy Interface

    Dear All,
    I am working on ABAP PROXY (INBOUND) Interface in which data from FTP is getting inserted into a ztable in SAP ECC 6.0.
    While executing the interface, file is getting picked from source location & following error is received in SXMB_MONI:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <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="INTERNAL">SLD_NO_OWN_BS</SAP:Code>
      <SAP:P1>SB1</SAP:P1>
      <SAP:P2>900</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Error while reading ID of own business system from the SLD for system SB1 and client 900</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have checked configurations & settings in both SAP PI & SAP ECC system as per previous sdn threads on same error but I am not been able to figure out the exact error.
    Please guide me in resolving this error.
    Reg,
    NJ

    Hi Nishu,
    Have a look on these threads,,,
    SLD_NO_OWN_BS error
    SLD_NO_OWN_BS
    Regds,
    Pinangshuk.

  • ABAP Proxy response not showing data in SXMB_MONI

    hi all,
    We have a scenario of web service to abap proxy,synchronous.
    when the response comes back from ABAP,the xml in SXMB_MONI is not coming fully.Only the top level xml node and the Message type node are being dispalyed.the data nodes are not coming into xi.
    when the proxy is executed in R/3,the xml is generating correctly.but after coming into xi,only the top nodes are visible with no data.
    wht could be the reason?
    Regards,
    Anu.

    Hi,
    Also set the Parameters in SXMB_ADM to see the Sync Messages in MONI
    Configuration of a Central Integration Server
    REgards
    Seshagiri

  • Increase in wait time of synchronous interface

    I am working on HTTP to proxy synchronous interface on PI 7.3
    PI uses communication channel with SOAP receiver adapter over XI protocol
    Now I am facing below error in the interface while testing after 3minutes-
          com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message (INBOUND)expired
    Can anyone please tell me how can I increase wait time in the channel.
    I have tried adding the parameter name 'XMBWS.Timeout' and parameter value '30000' to increase wait time to 5minutes. But it didnot work.

    Shwetha,
    Set property of Service "XPI Adapter:
    XI" within SAP NetWeaver Administrator -->xiadapter.inbound.timeout.default ---180000ms--(3 min)
    Executing the below mentioned steps
    1.(PI 7.3)
    Goto NWA(PI 7.3)-->configuration-->Infrastructure-->Java System Properties-->goto Services tab-->find xiadapter--> u can increase value inbound.timeout.default
    see the below screenshot :
    2.
    PI 7.0 & 7.1x
    Please check point no 2.2.7 of the below doc:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747?QuickLink=index&overridelayout=true&44478681512917
    Mutti

  • Interface ABAP Proxy - File - Synchronous - (Is it possible???)

    Hi Experts,
    I want execute ABAP Proxy which will create File in FTP. On final, i need return "OK" information to the ABAP Proxy.
    Is it possible? ABAP Proxy <-> File Synchronous? Without BPM and Custom Module Adapter. Just using RequestResponseBean???
    Tks in advance.

    Hi Raj,
    Tks. I implemented the Acknowledgements Request and changed the ABAP Proxy to Async. But the Ack returns to the ECC with the error and is not saved in the Message. The error follows below:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Update Acknowledgment Status of Request Message
      -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="PERSIST">REQUEST_MESSAGE_NOT_FOUND</SAP:Code>
      <SAP:P1>4EE24DEB4EA60650E10080000A09071E</SAP:P1>
      <SAP:P2>CENTRAL</SAP:P2>
      <SAP:P3></SAP:P3>
      <SAP:P4></SAP:P4>
      <SAP:AdditionalText></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace=""></SAP:ApplicationFaultMessage>
      <SAP:Stack>Requisição mensagem 4EE24DEB4EA60650E10080000A09071E pipeline CENTRAL versão desconhecida</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Any Idea about this error?
    Tks in advance.

  • Synchronous ABAP Proxy

    I have the following Synchronous Interface:
    SOAP <-> PI <-> ABAP Proxy (ECC)
    Message is sent to PI via the SOAP Sender adapter, PI maps this to an ABAP proxy call. The response is then return via PI to the SOAP Adapter.
    Every thing seems to work fine. However, the response message does not seem to be going back into PI. I can see the response payload on ECC (via SXMB_MONI) but it doesnt go any further than that.
    Can anybody help me with this?

    Woohooo...It worked!
    You were right. As soon as I cleared the inbound queue it worked
    Thanks.

  • SOAP error in synchronous scenario for ABAP Proxy with Oracle D/B

    Dear Experts,
    I am working in Sender ABAP Proxy <====>SAP PI 7.31 JAVA only <====> Oracle Database. My proxy configuration are working successfully.
    Apart from that, I have maintained a SOAP sender communication channel under the ECC business system with
    Transport Protocol as HTTP
    Message Protocol as XI 3.0
    Adapter Engine as Central Engine
    When I am testing from ECC at Tx SPROXY, I am receiving following error.
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.xi.routing.RoutingException: InterfaceDetermination did not yield any actual interface at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:746) at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:505) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at
    1. In XI3.0 protocol, I can not select BE but when selected HTTP 1.0 as Message protocol then I can find the BE.
    2. No Response message is shown in ECC when testing the message.
    3. How do Receiver JDBC adapter for Oracle Database is configured 
    4. What would be Message Protocol for Oracle Database i.e. XML SQL Format or Native SQL format for Select operation.
    Please guide.. All your inputs will be appreciated......
    Regards
    Rebecca

    Dear Indrajit,
    Appreciate your inputs.. Yes I have configured all the ABAP proxy configurations and there no question of missing any thing as Tx SLDCHECK in ECC is working perfectly fine.
    But still to go, some of the queries needs more input.
    1.In ID, i have created a Sender SOAP communication channel with listed details.
    Transport Protocol as HTTP
    Message Protocol as XI 3.0
    Adapter Engine as Central Engine
    Is there any parameters which I may be missing from Module tab of Synchronous SOAP Cc ?
    2. In the Cc monitoring, the JDBC receiver status shows "Database operation successfully completed" but I could not find any response data from database. The Message monitoring should have 2 messages for 1 trigger, but I could find only 1 message by SOAP only?
    Sorry to bother experts...Please answer in sequence...
    Regards
    Rebecca

Maybe you are looking for

  • Fixed Assets Mid-Month rule using non-calendar fiscal months.

    Our fiscal year variant is year dependent with twelve posting periods.  For example, period 11 for fiscal year 2007 is defined as 29-Oct-07 through 25-Nov-07 and period 12 is defined as 26-Nov-07 through 31-Dec-07. Fixed Asset depreciation keys MSTL

  • I cannot "attach a file" using gmail in firefox x 9.01

    when I compose an email, the "attach a file" just would not accept any attachment. First time it happens to me on my firefox 9.01

  • Help!!! my TV shows purchased from Itune will not load into my ipod

    I have updated software in both Itune and Ipod, still, the error message of cannot load video into your ipod because this video cannot be played in this ipod is still showing up. I have loaded the sample video and it worked. My TV shows can be played

  • Opening CS6 reverts to CC

    I had both Photoshop CS6 and Photoshop CC installed.  I dropped my CC membership after a few months.  Now, when I try to open CS6, a box always opens up saying that my CC membership has expired.  Even after uninstalling CC, I get the same thing. Why

  • New H.264/AVC encoding for cameras

    Hi All,              Please let me know, how can we activate H.264/AVC video encoding (new feature in Flash player 11 [H.264/AVC software encoding for cameras]) using actionscript 3 in AIR application, I think, it could not be by default as there are