Outbound proxy

hi all,
how do we push a complete table with multiple entries via outbound abap proxy?
regards,
keerthi

Hi,
On XI side create, <i>data type</i> which is a table, then create appropriete message type and interface type.
On the R/3 side, generate the proxy and then write the program that invoke a method either execute_asynchronious or execute_synchronious (depends on quality of service) and pass internal table type <i>data type</i> as an "OUTPUT" parameter to the method.
Regards,
Jakub

Similar Messages

  • ABAP Outbound Proxy: some messages stuck in CRM system

    Hi all,
    we've a strange issue with a ABAP Outbound proxy we've generated in our CRM 5.0 system (asynchronous interface).
    Sometimes messages stuck in the CRM system. They are in status 'Scheduled' (green flag) in SXMB_MONI in the CRM system. When I have a look at the corresponding queue, there's no message within. Status in SMQ1 and SMQ2 is fine, too. All queues are registered. When I reprocess such a message manually in SXMB_MONI in CRM with the restart button, they're sent fine to XI.
    Please note: it's NOT a general issue with that outbound proxy. In most cases the messages are sent immediately, just in some cases the messages stuck and I don't know why.
    Is it possible to restart such messages automatically? I just know the report RSXMB_RESTART_MESSAGES, but that one just restarts messages in Error status. But the ones we have aren't in error status so they cannot be selected with that report.
    Any idea where could be the problem / we should check?
    BR
    Holger

    On which SP r u working correctly. May be an SP upgrade could help.
    Regards,
    Prateek

  • Outbound Proxy is generating Mapping Transformation XSLT error in SPROXY Test

    Hi,
    I have searched already online but i am unable to find anything relevant.
    The scenario is that I have an Inbound proxy for processing the incoming payload and in this code the call is made to the oubound proxy method and i am gettin the MAPPING.TRANSFORMER_EXCEPTION Exception occurred during XSLT mapping of the application
    CALL METHOD outbound_obj->shipment_status_notification_o
    EXPORTING
    output = wa_orders_request_out
    IMPORTING
    input = wa_orders_response_out.
    We just updated the orders_request_out  with a single field and activated and regnerated the proxy in ECC and i can now see the updated structure.
    However, if i take the payload from production and just pass the payload in debug to the above method call  in both Dev and QA with the added field, I am getting the above error.
    I cannot do the proxy debug in production unfortunately so i cannot see if this is happening only in Dev and QA.
    Can anyone please help me as this is urgent and If i can get past this error  i can actually test if processing is working as expected?
    Regards,
    Archana

    Hi Mark,
    I have checked the data type and the field occurrence is 0.1
    The change was made only to the request structure as based on this field value some selection needs to be made. The Response structure was not changed at all.
    I have regenerated the outbound proxy as well and surprisingly even though it was not modified it still did not give me a message that the proxy object has not changed. I had to activate it as changed to inactive.
    I am also not sure why that happened.
    Regards,
    Archana

  • Outbound Proxy - No XML message seen !!!!!!!!!!

    Hi All
    I am trying to use outbound ABAP proxy from an R/3 system . I have written  a Z program to triger the execute_asynchronous method of the proxy generated. Now when i go to see the SXMB_MONI txn to see any XML message flow i dont see anything .
    Any pointers so to what need to be perfect to see a XML message is the monitor for an outbound proxy??
    Thanks in advance for your help
    rohan

    Hi,
    Generally the message goes in the schedule mode when the target system is not available or the connection to target system is broken. Pl check the target system.
    You can use this weblog as checklist.
    /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
    Thanks,
    Prateek
    Message was edited by: Prateek Shah

  • Outbound Proxy - XI - File scenario. Outbnd proxy not callin XI.

    Hi All,
    I have a requirement where I have to develop a Outbound Asynch Proxy-> XI -> File scenario.
    For this I have crated an Outbound Asynch proxy and called this proxy from a report in ABAP.
    When I execute the report, i am unable to see the message in XI Moni.
    But when I try to emulate the same scenario by passing a message from the RWB Test Page, the message is flowing to the file successfully.
    It seems that the problem is just that the ABAP report is unable to call the XI by executing the outbound proxy method.
    The code for the report is as below:
    *& Report  Z_ASYNCH_PROXY
    REPORT  Z_ASYNCH_PROXY.
    data prxy type ref to ZFUJCO_SI_TEL_NUM_RFC_RESP_ASY.
    data out type ZFUJMT_TEL_NUM.
    out-MT_TEL_NUM-TEL_NUM = 'test_proxy'.
    create object prxy .
    TRY.
    CALL METHOD prxy->si_tel_num_asych_in
      EXPORTING
        output = out
    commit work.
    CATCH cx_ai_system_fault .
       DATA fault TYPE REF TO cx_ai_system_fault .
        CREATE OBJECT fault.
        WRITE :/ fault->errortext.
    ENDTRY.
    Please tel me how to find out that where the message is getting stuck and resove this.
    regards,
    Piyush

    Hi All,
    Thanks a lot for ur inputs.
    i was able to resolve it.
    The pointers are:
    - The message was gettting stuck in the queues XBTS0009 of the Bus system. I chekced it in SXMB_MONI of bus syst.
    - i activated the queues usung SXMB_ADM -> manage queues
    - The HTTP destinatin was not maintained for the connectino to the PI Url. In fact the url was hardcoded in the sicf -> xi-> engine
    I maintained this using
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID1803326050DB10288658103888810737End?blog=/pub/wlg/3022
    Thanks for all your help.
    regards,
    Piyush

  • SRM XI standard content ...SRM Server 7.0 - Outbound proxy not working

    Hello All,
    we have integrated SRM SUS with ECC 6.0 using XI standard content XI SRMSERVER IC 7.0. With same configuration, Purchase Order has been send from ECC to SUS and PO is created successfully in SRM SUS. But, while confirming the purchase order, its not generating outbound proxy message.
    And when we check the interface PurchaseOrderConfirmation_Out(i.e dobule clicking) in SPROXY transaction of SRM SUS, getting the following LOG:
    1. Logical port template is inconsistent, regenerate it and activate it
    2. cannot create LPT without DT profiles
    3. Regernate proxy(inactive version incorrect)
    Let me know if you have any suggestions.
    Regards,
    Sreenivas.

    Hello Srinivas,
    1.Check your Port creation from ECC to XI  2 SRM.
    2. Activate your proxies properly and check whethar your proxy communication working properly or not.
    check this links for your reference.
    MM -XI-SUS
    MM System - XI - SUS
    MM-XI
    How to integrate MM using XI
    SRM-XI
    SRM  and XI Integration
    http://service.sap.com/~sapidb/011000358700002897342004E/CCMConfig10_01_05.pdf
    http://service.sap.com/~sapidb/011000358700003992672005E/Config_Guide_CCM200_640doc.pdf
    http://service.sap.com/~sapidb/011000358700002897402004E/ServiceProcurementNEW.pdf
    http://service.sap.com/~sapidb/011000358700002897382004E/Plan-DrivenwithSInew.pdf
    SRM and XI
    Is there pre-configured message mapping for SRM Content?
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    SRM XI scenario
    Which version of SRM needs XI?
    SRM  AND SAP XI
    XI with SRM 4.0
    Regards,
    Mahesh

  • SPROXY error testing outbound proxy interface

    Hi,
    I am trying to test an outbound proxy interface using SPROXY but am getting the following error:
    Apart from the above messages there is no more help available. When I try testing the generated XSLT program using SXSLT_TEST it gives an error "No valid XSLT program supplied". I have checked and the auto generated XSLT program does exist.
    Any help appreciated.
    Thanks
    Che

    Hi Che Eky,
    Check out below helpful thread & doc:
    SERIALIZE_APPLICATION_DATA Conversion error ABAP => XML: Request Message
    Serialization issue in abap proxy
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a89312f8-0b01-0010-86b3-fdd7178e0534?QuickLink=index&…
    Regards,
    Krupa

  • Outbound Proxy error when triggering from SPROXY

    Hi Everyone,
    I was working on outbound proxy from ECC to PI. I have generated the proxy and activated. When I am trying to test the proxy manually from SPROXY the message is not getting triggered to SXMB_MONI in ECC itself. But I didn't get any error message as well. When I am executing the proxy from SPROXY I was getting below message in the status bar. So can anyone help me with the possible solution why the message is not getting triggered.
    Below is the options I have selected while executing the proxy.
    This was the status message which was giving after execution of proxy from SPROXY. The same status was giving for all the Proxy interface which ever is executing from SPROXY.
    Regards,
    Kankipati.

    Hi Kankipati
    can you please try Commit work  by navigating on test proxy screen .
    Extra- Trigger Commit work .
    Follow the below link .
    SAP PI Reference: SAP PI ABAP Proxy Outbound settings, Triggering message to SAP PI(When many sap pi systems)
    Best Regards
    Srinivas

  • 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

  • Outbound Proxy is triggered from CRM 4.0,  tag is missing in the payload

    Hi,
    A Outbound Proxy is triggered from CRM 4.0, one of the tag is missing in the payload. I had checked the SXMB_MONI in CRM and in XI as well both seems to miss that. I checked the BADI which triggers this PROXY the data is rightly populated to the PROXY method. Also, this problem is not occuring regularly but few times it misses the same tag. The occurrance defined in the datatype is 0 to 1. Can anyone help why this is happening..
    Many Thanks..

    This could rather be a logical error. May be the logic is not populating the XML tag on those occassions. I would suggest to debug in that direction.
    VJ

  • How to get tables to create outbound proxy for simple report

    hi all,
    i have a simple report where iam displaying 5 fields  from mard and makt.for thios report i want to create outbound proxy.
    i have created the proxy
    but my question is which tables i have to use to write code in se38 for outbound .i have seen one example but it is not clear from where he got that tables.
    helpme.
    tahnk u.

    <Link to blocked site removed by moderator>
    Edited by: Vinod Kumar on Sep 26, 2011 3:31 PM

  • 3 sap(integrate legacy with XI - Inbound and outbound proxy

    We are planning to  have 3 sap (SRM,BI  and CRM) systems  to integrate with legacy systems . All the systems have inbound  as well as outbound proxy calls. I have few questions:
    1.What are the different steps to be configured to make this scenario work  with one XI instance .
    Does any one have this kind of scenario.
    I know we can do it without proxy calls .
    Awarded for appropriate solution.
    Thanks,
    Satya.

    ECC < -
    >
    SRM     <-->      XI    <--
    >     Legacy
                            --        >
    BI <-
    This is my scenario. The communication with all SAP Systems  using proxy . Where do u specify in the Inbound that it should go to the Respective system. At SXMBP_ADM level or configuration level in (IR&ID) . Can u please send me the exact details ?
    Let me know if you have this kind of scenario?
    Thanks,
    Satya.

  • Triggering Outbound proxy through Output type

    I am sending sales order Acknowledgement to a file sytem from SAP. For this I am using a outbound proxy. I have a output type say ZCCS created in SAP . My question is how will the outbound proxy will get triggerred.
    what should be the medium type(Print,Mail,External send ...etc) in the output type. & where do I write my outbound proxy code ( I mean should it be a executable program).
    Message was edited by: SACHIN KAGLIWAL

    Lets say you want to send the data whenever you kick off your Print program. just call the proxy method in your ABAP program and it will be kicked off. Or write an ABAP program, use SUBMIT command.
    regards
    Shravan

  • Error while triggering Synchrous outbound proxy

    Hi,
    While triggering synchronous outbound proxy from a abap program,it is throwing an system fault message. the system fault message is "Application Integration system error".
    Please help me how to avoid this error.
    My code is as below.
      TRY.
        CALL METHOD proxy=>execute_synchronous
          EXPORTING
            output     = op_message
          IMPORTING
            input      = ip_message.
        CATCH cx_ai_system_fault into LO_SYS_EXCEPTION.
          CALL METHOD LO_SYS_EXCEPTION->IF_MESSAGE~GET_TEXT
            RECEIVING
              RESULT = TECHNICAL_EXCP_MESSAGE.
        CATCH cx_ai_application_fault .
      ENDTRY.

    Hi Ashwini,
    Quite possible, there is something missing in the partner profile. There are several threads already in SCN with the same problem. Please refer below and see if it is helpful:
    http://scn.sap.com/thread/319852
    Entry in outbound table not found: Error Status... | SCN
    Idoc Error Status "Entry in outbound table not found "
    Regards,
    Abhishek

  • EJB - inbound and outbound proxy

    I have implemented inbound and outbound proxy to transfer file. In proxyFTPClientREQIB method of ProxyFTPClientREQIB_PortTypeImpl class I want to invoke outbound proxy that sends structure to XI. I have a problem with context, because after invoking outbound proxy method from inbound proxy there is an incorrect context (concatenation of EJB inbound context and EJB outbound context: ejbContexts/bcc.com.pl/MonaApp/bcc.com.pl/MonaApp/ProxyFTPClientREQIB_PortTypeBean and localejbs/bcc.com.pl/MonaApp/ProxyFTPClientRESOB_PortTypeBean)
    Context ctx = new InitialContext();
    proxyFTPClientRESOB_PortTypeLocalHome = ProxyFTPClientRESOB_PortTypeLocalHome) ctx.lookup("localejbs/bcc.com.pl/MonaApp/ProxyFTPClientRESOB_PortTypeBean");
    proxyFTPClientRESOB_PortTypeLocal = proxyFTPClientRESOB_PortTypeLocalHome.create();
    Error:
    Path to object does not exist at localejbs, the whole lookup name is ejbContexts/bcc.com.pl/MonaApp/bcc.com.pl/MonaApp/ProxyFTPClientREQIB_PortTypeBean/localejbs/bcc.com.pl/MonaApp/ProxyFTPClientRESOB_PortTypeBean.
    What should I do to avoid concatenation of contexts?

    Hi Julia,
    the correct call is:
    ... ctx.lookup("java:comp/env/ejb/ProxyFTPClientRESOB_PortTypeBean");
    The Reference to the JNDI name is done in the ejb-jar.xml:
    <ejb-local-ref>
      <ejb-ref-name>ejb/ProxyFTPClientRESOB_PortTypeBean</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <local-home>YourLocalHomeInterface</local-home>
      <local>YourLocalInterface</local>
      <ejb-link>ProxyFTPClientRESOB_PortTypeBean</ejb-link>
      </ejb-local-ref>
    Hope that helps,
    Stefan

  • Doubt in Synchronous outbound Proxy.

    Hi,
    I am an abaper & new to Proxies.
    In My system there is an outbound synchronous proxy.
    Proxy Name : ZCO_DUPLICATE_CHECK_SEND_OUT_S
    Method name: DUPLICATE_CHECK_SEND_OUT_SYN
    Method Parameters: INPUT & OUTPUT.
    Can i create a report using this proxy by calling
    DATA : CL_DUPLICATE_CHECK_DATA TYPE REF TO ZCO_DUPLICATE_CHECK_SEND_OUT_S .
    TRY.
        CREATE OBJECT CL_DUPLICATE_CHECK_DATA.
        CATCH CX_AI_SYSTEM_FAULT.
      ENDTRY.
    TRY .
    CALL METHOD CL_DUPLICATE_CHECK_DATA->DUPLICATE_CHECK_SEND_OUT_SYN
          EXPORTING
            output = gto1
         IMPORTING
            input  = gti1
    CATCH cx_ai_system_fault.
    ENDTRY.
    Now my doubt is
    Will the input parameter give me exact structure i.e. returned table contents or i need to write inbound method for that?
    How can i check that the proxy is working fine? i.e. Data is being sent to PI?
    TIA
    vikash

    Hi Vikash,
    As others mentioned please check sxmb_moni and see what are you getting out from SAP. Also worth looking at this thread:
    Asychronous outbound Proxy test with SPROXY
    Regards,
    ---Satish

Maybe you are looking for

  • How to use Native SQL String

    Hi all, How do i use Native SQL String in the Reciver JDBC Adapter. Do i need to change the message format could u suggest me some blogs on the same. Also please can anyone let me knw if i can use this for stored procedure.

  • Structure of  xml

    How do I format the structure of xml from: <root><news><title>title text</title><body>body text</body></news></root> to: <root> <news> <title>title text</title> <body>body text</body> </news> </root> //code var news_xml:XML = new XML(); news_xml.igno

  • User name on report

    Hi list! How to display user name (user login) on Oracle BI Publisher generated reports (in page footer for example)? Problem is how to get this information (login). Thank you in advance for answer Karol

  • Why is my Aperture 3 Library 50% larger than my iPhoto Library?

    So I have the latest iPhoto and I bought Aperture 3 (unlocked the trial). I imported my iPhoto Library into Aperture 3 with faces disabled and the preview option off. once it was imported, I turned on Faces and let it do its thing. As of right now, m

  • Dynamic Column Header On Table Control

    Dear Friend    How I can set Dynamic Column Header Text On Table Control Regards Supperkorn