Outbound proxy in Inbound proxy

Hi Experts,
   I am doing two way interface. JDBC asyn - proxy-JDBC asyn
I am calling outbound proxy in inbound proxy here.
While i am calling it is giving HTTP connection error.
So can i call outbound proxy in inbound proxy ????
<SAP:Category>XIServer</SAP:Category>
  <SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
  <SAP:P1>400</SAP:P1>
  <SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>

Outbound proxy inside inbound proxy scenario usually works fine. But few suggestions,
1. Check if the message is failing in request side of asynchronous scenario. If this is the case then I think the error which you are getting is probably due to improper channel configuration.
2. If problem is not the one mentioned in point 1 above then, test the proxy in transaction SPROXY of ECC as to whether outbound proxy is called while inbound proxy is executed manually in transaction SPROXY . Once you execute the inbound proxy then go to transaction "SXMB_MONI" of ECC to check whether a message which outbound proxy is required to send to PI appears over there, if it appears there that means there is no issue on programming of proxy.
Hope it might help in finding resolution.
Thanks,
Amit

Similar Messages

  • Can I supress BPM for Asyn outbound and syn inbound proxy interface

    Hi all,
    Is there any other alternate to remove the BPM at asyn outbound and syn inbound proxy interface. Reason because I can create another outbound proxy interface at the receiver. But at receiver side we already invested huge code to develop the sync server proxy. So the intension is, with out disturbing the code Can I make the message flow with out BPM?
    Because the reason of removing BPM is for a simple interface like this I don't want to use BPM. souce is JDBC and receiver is ECC 6.0. I know with out BPM it can not be achieved but in PI 7.1 EHP 1 by any chance can we do?
    I mean during response mapping from server proxy shall we use look up function to achieve?

    This bean I have to use at sender channel right?
    Yes
    I mean is it is limited to JMS adapter?
    No
    You can find more information in the Wiki which deals with FILE  to RFC synchronous...using the above Module

  • Sync Async using proxies ( Calling Outbound proxy from Inbound proxy )

    I'm trying to generate Asynchronous Outbound message from the Synchronous Inbound message message  due to a requirement. My question is : is it really possible to develop such a scenario?. I'm getting weird error such as Kernal exception etc. Please let me know if you have developed such scenario and what should we do dfifferently in such scenarios?. Thank you for any suggestions.

    Hi,
    This error has has nothing to do with Calling Outbound Proxy from from Inbound Proxy. The scenario which you are telling is very much possible.
    It looks like there is some problem in your proxy code while calling RFC from within there or something like that. Try catching the exception and see what is the exact error or put in debug mode and see the step where exactly your code is failing.
    Use the following links for Catching Exception in Proxy
    Inbound ABAP Proxy Trace and error handling
    Handling Exceptions
    ABAP Server Proxies - Fault Handling
    Exception handling in integration processes
    ABAP Proxy and fault messages
    /people/bhanu.thirumala/blog/2006/02/07/abap-proxy--xml-to-abap-transformation
    Thanks
    Amit
    Reward point if answer is helpful

  • Calling Outboud Proxy from inbound proxy

    Hi friends,
    We have a scenarion where we need to call an Outbound proxy from an inbound proxy. I can see the payload after the successful execution of the proxy and is exactly the same that we want. But when i check it in the sxmb_moni for the status of message, it is 'InProcess' with Q.Status as STOP.
    Can any body suggest what could be the possible reasons. We are using file adapter.
    Thanks,
    Kulwant

    Hi,
    This might help you
    /people/krishna.moorthyp/blog/2005/12/23/monitoring-for-processed-xml-messages-in-abap-proxy
    Check whethere the  communication http, http service are  mentioned correctly.
    The following thread might help you
    Calling Outbound ABAP Proxies:
    Regards
    Agasthuri Doss

  • Inbound proxy with attachment

    Hi All,
    I have a scenario where in I need to pick one zip file from FTP and pass it to SAP system over proxy communication.I have searched on SDN,find blogs on outbound proxy but didnt get much information on inbound proxy with attachment.
    Or please suggest if there is any other way to pick the zip file from source and send that zip file to SAP system over proxy.
    Please provide your inputs.
    Thanks,
    Ruchi

    Hi ruchi,
    You can use PayloadSWAPBean and PayloadZipBean for attachment related configuration.
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/45/da9358a1772e97e10000000a155369/content.htm
    /people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework
    Also Please find DOCs for handiling attachment in ABAP codes(Proxy)
    Re: Inbound proxy with attachments.
    http://help.sap.com/saphelp_nw04/helpdata/en/a7/3b2a2d45a34a23b75e3b18745c63bc/content.htm
    Regards,
    Debashish

  • Message has Error status on outbound side - in ABAP inbound proxy !!

    Hi All,
    One interesting question for you guys. I have got one of the scenarios like File to ABAP inbound proxy. Message are going properly, no errors in receiving system. But on PI moni I can able in "outbound status" column in red colored flag. No all the messages couple of them with u201CMessage has Error status on outbound side ". Why please?
    Regards
    San

    Hi ,
    Please check whether the  correct data  is coming from sender side .  and check the j2ee engine runtime parameters.
    Cheers,
    Meera
    Edited by: MeeravaliDudekula on Oct 18, 2010 2:36 PM

  • What is Inbound Proxy and Outbound Proxies  - Client and Serv please help ?

    Hi Friends ,
                <b>  1.  What is exact meaning for Inbound Proxies and OutBound Proiex ?
                    2.  Is outbound proxies means sending message to IS ?
                     3.  Is Inbound proxies means receiving message  from IS ?
                   4.  Where exactly we need proxy ?
                   5. What is Sever and client Proxies ?
                     Is server  ( here servre means XI Server ? )means Inbound .
                 Then normal meaning of Inbound is to  from server right ?  Then  hwo it will bwecome as inbound ?</b>
               I have gone through many blogs but still i am not clear .Please anyboy can expalin me ?
    Regards .,
    Shyam

    Hi Shyam
    1. What is exact meaning for Inbound Proxies and OutBound Proiex ?
    2. Is outbound proxies means sending message to IS ?
    3. Is Inbound proxies means receiving message from IS ?
    Ans ::
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/18dfe590-0201-0010-6b8b-d21dfa9929c9
    How to integrate or Establish connection between SAP XI and BIW?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f12a03d-0401-0010-d9a7-a55552cbe9da
    4. Where exactly we need proxy ?
    5. What is Sever and client Proxies ?
    Ans ::
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy
    Proxies: are interfaces which will get executed in the application system.They can be created only in the system from message interfaces using the proxy generation functions.
    The biggest advantage of the proxy is that it always by passes the Adapter Engine and will directly interact with the application system and Integration engine - so it will and should give us a better performance.
    The literal definition of a proxy is an object / process authorized to act for another; an agent or a substitute. In simpler terms, proxies in the XI context are objects used to encapsulate the creation (from a sender system) or parsing of XML (at a receiver system) as well as the communication with the relevant runtime components required to send or receive those messages. The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with.
    The Proxy currently has the following components available:
    1. ABAP Proxy – Communication using XI or Web Services
    2. Java Proxy– Communication using XI (J2EE)
    JAVA Proxies:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    ABAP Proxies:
    /people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    Just refer these links u will get the answer of ur all 5 Question
    <b>Pls reward if useful</b>

  • Authorization (401) issue in SXMB_MONI (File to Inbound Proxy)

    Hi All,
    Here I am facing the authorization (401) issue in SXMB_MONI.
    The scenario is File to Inbound Proxy, The outbound proxy is working fine. but the issue with the inbound proxy.
    The below information we are getting in SXMB_MONI.
    SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">UNAUTHORIZED</SAP:Code>
      <SAP:P1>401</SAP:P1>
      <SAP:P2>Unauthorized</SAP:P2>
      <SAP:P3>(See attachment HTMLError for details)</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Could you please help me on this issue?
    Thanks in advance.
    Regards,
    Yadav

    Hi,
    Ensure you have maintained the correct password, which MUST be the same, for all the service users
    on XI. You may check all the places it should be maintained, such as Exchange Profile, SU01, SLDAPICUST, etc..
    You may check the note below (according to your release version):
    PI 7.1:
    #999962 - PI 7.10: Change passwords of PI service users
    XI 7.0
    #936093 - XI 7.0: Changing the passwords of XI service users
    XI 3.0
    #721548 - XI 3.0: Changing the passwords of the XI service users
    Also ensure that the user has the correct role as per link below:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/9f/d12940cbf2195de10000000a1550b0/frameset.htm
    Regards,
    Caio Cagnani

  • Proxy-Generierung: Fehler aufgetreten error while gnerating  Inbound proxy

    Hi Experts,
    1) i created outbound & inbound service interfaces with same MT.
    2) when i was create the server proxy first attempt its created successfully.
    3) Due to some changes in the sap pi structure ( DT ,MT,SI ). i delete the server proxy instead of regenerate proxy in SPROXY.
    4) while deleting the popup window shows the only one option "delete only root object". because i used same  DT,MT for both Service interface.
    when i create proxy  again all objects were created for the same interface but while activating the proxy gives belowerror
    "Proxy-Generierung: Fehler aufgetreten"     
    i tried with different name for the service interface this time it gives the another error like
    "un comparable parameters".
    i tried for creating proxy to another interface which is in the same name space it also gives the same error.
    even if create server proxy for other service interfaces which are belonging to another namespaces then i got the below error
    "Authorization Check failed: S_ICF_ADM with parameters ACTVT 07"
    Please advice me.
    Thanks In advance
    Edited by: katakoti on Oct 21, 2011 11:25 AM

    problem was resolved.
    we got this  because when i delete the proxy i have the all authorizations for the SPROXY tcode.
    like icm_auth =01,03,07....
    but when recreate the proxy my roles hasbeen changed by the security team according to their new roles
    in that roles i dont have authorization to create the proxy due to this i got above error.
    now i got all access so it resolved

  • Aysnch Proxy calling from Inbound Proxy

    Hello Experts,
    My scenario:-
    Legacy sending File to Inbound proxy and from Inbound proxy I am calling the outbound proxy method to send the data back to Legacy system.
    Its like File request -Inbound Proxy- Outbound Proxy Response- File.
    FileRequest-Inbound Proxy----message in R3 as well in XI moni is successful.
    File Outbound response-File-----message in R3 is coming as empty and because of this the message fails in Xi moni.
    I tried to debug the scenario using test tab with the moni payload, I am able to see the data populated in debugging mode, But after the Outbound method is called the response message is coming is empty. commit work is also used inside outbound method.
    I tried every possible ways,but not getting any clue.
    chirag

    Hi,
    Just check...........in the inbound proxy code, the structure of the response msg is updated as the current structure of response msg.......may be you are filling the data in the old structure of response msg and then asssinging it in the outbound proxy call.......you need to fill the data in the new structure of response msg in your inbound proxy code.
    Regards,
    Rajeev Gupta

  • Testing Inbound Proxy

    Hi,
    I hve created one inbound asynchronous proxy at my CRM end with a fault message type. NOw , I wanna test this proxy by sending message from XI (Test message in component moni in RWB).
    HOw can i do it?
    The appraoch I am following is  by creating an outbound I/f at XI Business system with HTTP Adapter in its CC.
    Plz help if anyone of you has worked on smthing like this.
    Thanks,
    Steffi

    yes you do. Any interface flow in XI needs to have an outbound interface and an inbound interface.
    Your Inbound proxy which you have implemented in your SAP system , how will the call start to it. Which is the application that triggers the call , in other words what is the sender system?
    Irrespctive of whether you want to test your configuration using a HTTP Client or the RWB you need to have the Outbound Message interafce in XI and also the entire Configuration in Integration Directory.
    If you just want to test yoyur Proxy code, then the blog by Michal should really help.
    Regards
    Bhavesh

  • Inbound Proxy Error - JDBC to PROXY Scenario

    Hi experts,
    I am getting the following error while activating Inbound Proxy.
    Error when creating service node. [unknown]You are not authorized to use function Netzwerkadministration
    Exception of class CX_SRT_WSP_ICF
    Regards,
    Sudheer

    Hi Experts,
    Thank you for your replys.....Problem got solved......:)
    Some authorisation was missing...Now it was fine and I can activate Inbound proxy......:)
    Once again Thank you for your replys.....:)
    Regards,
    Sudheer

  • Issue while inserting a BDC program in Inbound Proxy.JDBC-- PI-- SAP.

    The scenerio is jdbcsender-sappi-inboundproxy(ECC6.0).
    The issue is related to SAP Plant Maintenance Module where  We have a requirement for creating Maintenance item
    programmatically from (SQLDatabase)Legacy Data for one of the interface.
    since there are no standard BAPIS/Idocs or function modules available from SAP side for creating the maintenance item. So I
    have written BDC program and with the help of submit statement in inbound proxy program, I am calling BDC program for
    creation of the maintenance item.
    When I tested the program independently on proxy side  the Maintenance Item is getting created successfully but when I
    executed from end-to-end ie.  SQLDATABASE->SAP PI-->SAP. The message is getting strucked into the queue and queue  got stopped on SAP.
    ECC side and the status of the message is scheduled state  on SXMB_MONI  transaction of SAP ECC.
    As the message  is in scheduled state multiple number of Maintenance Items are getting created with the same values.
    Has any one of our SAP friends, encountered this type of issue while inserting a BDC program in inbound proxy, please help 
    in fixing this issue. FYI... I am using sap pi7.0 with service pack 24 and ecc6.0
    Waiting for your kind expert guidance...
    cheers,
    Ram

    Raj,
    Thanks for the reply. I have tried registering the queues but still the same problem. the message got stuck in the queue of ECC and showing below message in queue.
    function module                                    StatusText
    SXMS_ASYNC_EXEC                  connection closed (no data)
    I have checked in the forums especially  for this issue but no one has provided the answer for this.
    Thanks and Regards
    Ram

  • Special character " (quote) in inbound proxy

    Hi folks,
    We have a scenario in which inbound proxy is implemented on SAP side. I am getting following error:-
    Error during XML => ABAP conversion (Request Message; error ID: CX_ST_DESERIALIZATION_ERROR; (/1SAI/TXS9457077FA0DEC03F30D0 XML Bytepos.: 988 XML Path: MT_SLM_INT30_LUPReviewFromLUPS(1)Title(16) Error Text: Data loss occurred when converting PROPOSED 8" U/G HRDH & ROUTE Kernel ErrorId: CONVT_DATA_LOSS)) An error occurred when deserializing in the simple transformation program /1SAI/TXS9457077FA0DEC03F30D0 Data loss occurred when converting PROPOSED 8" U/G HRDH. KHUFF GAS WELL-1050 & COMMUNICATION ROUTE FOC TO HRDH RH-K6}
    Could you please suggest me what is wrong in the data PROPOSED 8" U/G HRDH & ROUTE. I guess it is due to the use of " in the data. Could you please help me in this?
    Regards,
    Sami.

    Hi,
    The problem was with the length of that field. That field was created in XI with max length 80. During proxy generation, corresponding abap field was created with 80 char. In the message, data for that field was 81 characters At runtime, when proxy runtime tried to map the xml to corresponding abap object, it failed.
    While testing in Sproxy transaction when tried to execute after removing quote(") it was successful, as length was reduced to 80. So i went under impression that it is not working because of quote(").
    Thanks for your rersponses.

  • Data is not showing in R/3 ztable whlie creating XI inbound proxy.

    Hi experts,
        I am creating an XI inbound proxy for zxx_stockyard_price_ib_dt ,
    I created Ztable(this structure contains both filename and data structure)  in R/3 and i am writing  a code in sproxy to fetch the data from XI to R/3, R/3  is to fill and store the data in a ztabe .
    XI data file is ok, however , when executed ,the input file of XI is not reflecting in the R/3 Ztable,
    I need a help in this scenario,
    here is the peice of  code,
    METHOD zxx_ii_stockyard_price_ib_mi~stockyard_price_ib_mi.
      DATA : it_zxx_stockyard_price_ib_dt        TYPE  table of zxx_stockyard_price_ib_dt ,   " input batches from file
             wa_zxx_stockyard_price_ib_dt        TYPE zxx_stockyard_price_ib_dt         ,
             i_zrva_trv_interfa                  TYPE  TABLE OF zrva_trv_interfa ,
             wa_zrva_trv_interfa                 TYPE  zrva_trv_interfa.
    ******fill input internal table from XI
      wa_zxx_stockyard_price_ib_dt = input-stockyard_price_ib_mt.
    *fetch the records from XI.
      LOOP AT it_zxx_stockyard_price_ib_dt INTO wa_zxx_stockyard_price_ib_dt.     " looping input data of XI nd moving the data to R3.
        MOVE-CORRESPONDING wa_zxx_stockyard_price_ib_dt TO wa_zrva_trv_interfa.
        APPEND wa_zrva_trv_interfa TO i_zrva_trv_interfa.
       Modify zrva_trv_interfa FROM WA_zrva_trv_interfa.
      ENDLOOP .
      IF NOT i_zrva_trv_interfa IS INITIAL.
        LOOP AT i_zrva_trv_interfa INTO wa_zrva_trv_interfa.
          MODIFY zrva_trv_interfa FROM wa_zrva_trv_interfa.
          CLEAR wa_zrva_trv_interfa.
        ENDLOOP.
      ENDIF.
      FREE i_zrva_trv_interfa.
    ENDMETHOD.
    when execute and debugged i found the values are not showing in internal table i_zrva_trv_interfa (loop at i_zrva_trv_interfa), where i am going wrong?

    > here is the peice of  code,
    >
    > METHOD zxx_ii_stockyard_price_ib_mi~stockyard_price_ib_mi.
    >   DATA : it_zxx_stockyard_price_ib_dt        TYPE  table of zxx_stockyard_price_ib_dt ,   " input batches from file
    >          wa_zxx_stockyard_price_ib_dt        TYPE zxx_stockyard_price_ib_dt         ,
    >          i_zrva_trv_interfa                  TYPE  TABLE OF zrva_trv_interfa ,
    >          wa_zrva_trv_interfa                 TYPE  zrva_trv_interfa.
    >
    > ******fill input internal table from XI
    >   wa_zxx_stockyard_price_ib_dt = input-stockyard_price_ib_mt.
    >  
    I think here at this place you have problem. As per your code you have moved the input-stockyard_price_ib_mt to wa_zxx_stockyard_price_ib_dt BUT you have not appended to the internal table it_zxx_stockyard_price_ib_dt.
    If I am wrong then make sure it_zxx_stockyard_price_ib_dt is filled correctly before you loop on it.
    also add the below check befor looping.
    IF NOT it_zxx_stockyard_price_ib_dt is INITIAL.
    > *fetch the records from XI.
    >   LOOP AT it_zxx_stockyard_price_ib_dt INTO wa_zxx_stockyard_price_ib_dt.     " looping input data of XI nd moving the data to R3.
    >     MOVE-CORRESPONDING wa_zxx_stockyard_price_ib_dt TO wa_zrva_trv_interfa.
    >     APPEND wa_zrva_trv_interfa TO i_zrva_trv_interfa.
    > *    Modify zrva_trv_interfa FROM WA_zrva_trv_interfa.
    >   ENDLOOP .
    ENDIF.    "IF NOT it_zxx_stockyard_price_ib_dt is INITIAL.
    >
    >   IF NOT i_zrva_trv_interfa IS INITIAL.
    >     LOOP AT i_zrva_trv_interfa INTO wa_zrva_trv_interfa.
    >       MODIFY zrva_trv_interfa FROM wa_zrva_trv_interfa.
    >       CLEAR wa_zrva_trv_interfa.
    >     ENDLOOP.
    >
    >   ENDIF.
    >
    >   FREE i_zrva_trv_interfa.
    >
    > ENDMETHOD.
    >
    >
    > when execute and debugged i found the values are not showing in internal table i_zrva_trv_interfa (loop at i_zrva_trv_interfa), where i am going wrong?
    Regards,
    Sarvesh

Maybe you are looking for

  • Question about returning online items...

    Just to confirm, the 15-day timeframe begins when the item is delivered to the residence, correct? Not when the order is initially placed?

  • Binding ADF UI components to managed beans instead of using bindings

    Hi All, We are working on a ADF based development project and we have complex data input forms. We have close to 200 input forms for different products and each form has different details. Requirement is to store the data captured in the input forms

  • Local host name already in use

    I routinely get a message saying "local host name is already in use on this network. The name has ben changed to...."

  • How to disable auto detect browser settings

    When I want to start scan to Optimize Internet in "Easy Solve" feature of Comcast. It says DISABLE AUTO-DETECT BROWSER SETTINGS to enable scan running. Please send me the answer.

  • Sequences are missing

    Finaly I got Oracle Model but there is no Sequences and trigers were crerated for MS SQL Identity columns. What do I do wrong ?