EXECUTE_ASYNCHRONOUS in ABAP Proxy

hi,
i have created a proxy and activated the proxy.
Now i want to implement the function module in the EXECUTE_ASYCHRONOUS method.
Where should i call the function module in the Proxy?
TIA,
Tirumal

Moorthy -
I checked these blogs and i have followed the first blog in your reply.
I am not able to add the code to add the function module.
when i double click on the method EXECUTE_ASYNCHRONOUS, it says you cannot edit the objects.
any reason why i am not able to write the proxy code?
- tirumal

Similar Messages

  • ABAP proxy code using internal table

    Hi XI guru's,
    Good Afternoon,
    My Scenario is ABAP Proxy to file using ztable.
    i am getting data from Sap R/3 data base as Ztable. using this Ztable i have to write ABAP Proxy code. I generated ABAP Proxy and mentioned all below.Please send me ABAP Proxy code using this details. This is very urgent. Please help me.
    ABAP proxy class:   zco_mioa_tata
    structure              :   zmt_tata
    structure                :   zdt_tata
    structure                :   zdt_tata_employee
    Table                :   zdt_tata_employee_tab
    Ztable                :   zcnu_proxy_table
    outbound structure:
    mt_tata
        employee
    thanks and regards
    sai

    Sai,
    I guess this will help you.
    1. Proxies can be a server proxy or client proxy. In our scenarios we require proxies to send or upload the data from/into SAP system.
    2. One more thing proxies can be used if your WAS ≥ 6.2.
    3. Use Tcode SPROXY into R/3 system for proxy use.
    4. To send the data from R/3 system we use OUTBOUND PROXY. In Outbound proxy you will simply write an abap code to fetch the data from R/3 tables and then send it to XI. Below is the sample code to send the data from R/3 to XI.
    REPORT zblog_abap_proxy.
    DATA prxy TYPE REF TO zblogco_proxy_interface_ob.
    CREATE OBJECT prxy.
    DATA it TYPE zblogemp_profile_msg.
    TRY.
    it-emp_profile_msg-emp_name = 'Sarvesh'.
    it-emp_profile_msg-empno = '01212'.
    it-emp_profile_msg-DEPARTMENT_NAME = 'NetWeaver'.
    CALL METHOD prxy->execute_asynchronous
    EXPORTING
    output = it.
    commit work.
    CATCH cx_ai_system_fault .
    DATA fault TYPE REF TO cx_ai_system_fault .
    CREATE OBJECT fault.
    WRITE :/ fault->errortext.
    ENDTRY.
    Receiver adapter configurations should be done in the integration directory and the necessary sender/receiver binding should be appropriately configured. We need not do any sender adapter configurations as we are using proxies.
    5. To receive data into R/3 system we use INBOUND PROXY. In this case data is picked up by XI and send it to R/3 system via XI adapter into proxy class. Inside the inbound proxy we careate an internal table to take the data from XI and then simply by using the ABAP code we update the data inot R/3 table. BAPI can also be used inside the proxy to update the data into r/3.
    I hope this will clear few doubts in proxy.
    Just go through these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    ABAP Server Proxies By Siva Maranani
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    File to R/3 via ABAP Proxy with good example
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
    Generating java proxies..
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
    Synchronous Proxies:
    Outbound Synchronous Proxy
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
    Inbound Synchronous Proxy
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2bcreation
    Regards,
    Sarvesh

  • Writing trace to ABAP proxy

    Hi Friends,
    is there any way to write trace message in ABAP proxy (server proxy).
    I have a case where during processing of the inbound proxy i want to populate some information messages as trace, which can then be seen from SXMB_MONI-trace of the message.
    I saw that only fault messages can be raised. But how to write a normal trace .
    Any help will be useful  -& rewarded with points.
    thanks
    PSD

    Hi Prabhu,
    just as in message mapping we can write a trace in udf , i want to do the same for ABAP inbound proxy message.
    So when user logs on to the SAP R/3 system & sees the  message trace (in SXMB_MONI), he should be able to see the information messages triggered from within the inbound proxy method (EXECUTE_ASYNCHRONOUS) .
    My business requirement is , i am creating a Handling unit using the data in the proxy msg .
    So  i want to log all the HUs created during the processing of the inbound proxy message in R/3.
    So trace in SXMB_MONI should be as follows :
    " HU <1> created"
    "HU <2> created "
    ...& so on.
    This way the user can see the message trace & figure out all the data that was processed & what was the end result.

  • File to ABAP Proxy (problem with inbound queues in R3)

    Hi,
    In File-XI-ABAP proxy scenario, XI is successfully picking up file and sending it to R3.
    But in R3, an inbound queue is created in SMQ2 transaction code and I solved the same to automatically process the Queue by registering that in SMQR transaction code. But even though the inbound queue doesn't appear in SMQ2 (which means that it is processed successfully) it doesn't call the method EXECUTE_ASYNCHRONOUS. Can anyone help me whether I need to do any settings to run that method?
    Also can anyone help me, after the inbound queue is successfully processed in SMQ2 transaction, what would be the next step to watch what exactly that queue has done?

    Hi,
    Please check the program code for Server ABAP proxy.
    This will show you the trigerring of Proxy on inbound side.
    ABAP Proxy inbound program - sales order creation - Community Profiles - Wiki
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2bcreation
    For Queues, you can go to SMQR and check for the register queue. Select and double click on it. If anything is stuck up then you can see in it. Even same with SMQ2
    Thanks
    swarup

  • SAVE_STYLESHEET RC_6 error in ABAP proxy- CRM

    Hi,
    I developed a POC with just 2 fields in DT,for sender SOAP adapter and reciver ABAP proxy. It is running successfully.
    But when i developed a actual scenarios with big structure it is giving the following error.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Inbound Proxy
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">STYLESHEET_GENERATION_FAILURE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Attempt to generate transformation required for rendering/parsing failed (, class , method ) STYLESHEET_GENERATION_FAILURE Attempt to generate transformation required for rendering/parsing failed (SAVE_STYLESHEET RC_6, class ZII_HSBP_IN_MI, method EXECUTE_ASYNCHRONOUS /1SAI/TXS) Attempt to generate transformation required for rendering/parsing failed (SAVE_STYLESHEET RC_6, class ZII_HSBP_IN_MI, method EXECUTE_ASYNCHRONOUS /1SAI/TXS)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The only difference in both cases is, i developed everything in client 120 for POC. For actual scenario i created proxy class in client 110 and Technical system and everyting is pointing to client 120. Is it causing any problem?
    Everyting is fine in XI but in CRM SXMB_MONI i can see the above error...
    How to solve this issue.
    Message was edited by:
            ashok sri

    i tired again.. i regenerated the proxy ... but still same problem..
    i dont think internal framework problem.. because it worked for other scenario ( test scenario). I think i only messed it up some where.. but i dont know how to find out  or how to debug the problem..
    I have  a doubt on package structure in which i am saving the proxy class.
    i created a structuer package( level1) for which i assigned SAPPINT and for all other packages( level2- main package,level3-non main package, level4-non main package)i assigend SAI_SXMS, SAI_TOOLS, SAPPINT. I am saving the proxy class in level4 package. I am not able to assing SAI_SXMS,SAI_TOOLS to structure package. Is it causing any problem???????
    any help please...
    Message was edited by:
            ashok sri

  • How to insert ABAP PROXY in customized ABAP program

    Hello experts,
    I am a ABAP developer and I am developing a program to send XML strings to a legacy system using an ABAP PROXY but I have run into a roadblock as follows:
    My PI colleagues who know PI but not ABAP have created a ABAP PROXY data type with the structure that I need to be populated from my program but cannot tell me how to get the data into this structure. They have directed me to SERVICE INTERFACES where there is a class and method EXECUTE_ASYNCHRONOUS but this is where we all have a road block. I am not sure whether I have to just use this class and method in my program to populate the data type proxy previously created or whether a completely new proxy has to be created under service interfaces.
    Any help would be appreciated.
    regards

    Hi David,
    I thought you are using 7.0 ... sorry for the confusion.
    Here are the steps that you can follow for proxy generation for SAP PI 7.1:-
    TCode - SPROXY
    1. The interface objects are ordered according to software component version, namespace and object type.
    If no connection to the Integration Repository exists, the system only displays interface objects in the tree structure for which a proxy exists in the system.
    2. Choose an interface object for which no proxy already exists. To create a proxy for this interface object, double click the context menu Create Proxy.
    3. In the dialog box, specify the name of the package where you want to create the proxy objects. You can also specify a prefix for the names of all objects to be created to avoid naming conflicts with names that already exist in the system.
    Result
    To generate proxies, the WSDL description of the message interface is read using HTTP.
    If no naming conflicts occur during the conversion, you can call the hierarchy of the generated objects from the tab page "Structure". The objects are only then saved in the system once you choose Activate.
    If the description is changed in the Integration Repository, you must regenerate the proxy objects
    Hope this is helpful.
    Regards,
    Neetesh

  • Inbound ABAP Proxy

    Hi All,
      I have an inbound ABAP proxy as the receiver. The class, interface, structure and tables are generated when I created the proxy.
      I edited the method execute_asynchronous to collect the data from the table and send it to another RFC.
      When I tried to populate my internal table using the data from table generated during proxy generation, it gives me an error like"zjssrc_dt-header_tab" is not defined in the ABAP dictionary as table, projection view or database view. But it doesn't give me an error while declaring my internal table of the type "zjssrc_dt-header_tab".
    Any inputs on this will be of great help.
    Thanks & Regards,
    Jai Shankar.

    Hi,
    When you generate your Proxy, there will be some structures created. Here you can see the name of the table type.
    Just create a work are for the same table type and one internal table.
    <i>eg.
    DATA: i_data_records TYPE TABLE OF zback_dt_data_records.
    DATA: wa_data_records TYPE zback_dt_data_records.</i>
    Now move the data from the proxy to your internal table
    eg.
    i_data_records = input-mt_val_in-data_records.
    Now this value <i>input-mt_val_in-data_records</i> for you would be input_<MessageType>_<segmentName thats repeating>
    Now loop through the Internal table and move the data to Work area and then update your table.
    I have taken second weblog as eg. Just see that weblog and read this.
    Regards
    Vijaya
    Message was edited by: vijaya kumari

  • ABAP Proxy generation descrepencies with filed and method...

    Hello,
    I have two question regarding ABAP Proxies.
    The first one when i regenerate proxy for a interface, It is not generating the same filed as before and my ABAP program fails.
    I have Internal_organization_Descri -- Now, It is not giving same field rather It is giving Internal_organization_Descr
    It is missing 'i'
    One more problem is It is chaging method also
    Previously it was showing "Sales_order_Sync"
    Now, It is showing method as EXECUTE_SYNCHRONOUS
    Why It is these proxies behave differently, is there Service Pack dependency.. What is the best way to avoid these descripencies...Pls help
    Srinivas

    Hi,
    Please find the explantion about your doubts on ABAP Proxy.
    1. The field names might be changed based on the changes in XI in Data type for this field.
    Whenver you will be regenerating the ABAP Proxy, it considers the Message type and internally the Data types that have created in XI. So any changes in these objects may lead to change.
    Verify your field names in XI
    2. The Method to be used to call ABAP proxy is EXECUTE_SYNCHRON for Synchronous communciation and EXECUTE_ASYNCHRONOUS for async communication. These methods are used in ABAP source code. So please let me know where you had find this method "Sales_order_Sync"
    The EXECUTE_SYNCHRON is the proper method.
    Let me know if you need any more info.
    Refer
    ABAP Proxy outbound program - purchase order send
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
    ABAP Proxy inbound program - sales order creation - Community Profiles - Wiki
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2bcreation
    Thanks
    Swarup

  • Exception handling in outbound ABAP proxy

    Hi All,
    i need to catch exception in outbound abap proxy in two cases:
    1. if RFC dest in R3 which is pinging to XI goes down.
    2. IF xi server is down.
    in both the cases i need to catch the exceptions.
    now i written the code in this way:
    DATA: v_exceptions TYPE REF TO cx_ai_system_fault.
    TRY.
    CALL METHOD zirco_o_msg_if_as_req_details=>execute_asynchronous
    EXPORTING
    output = s_reference.
    COMMIT WORK.
    CATCH cx_ai_system_fault INTO v_exceptions.
    WRITE: 'Exception CX_AI_SYSTEM_FAULT caught'.
    WRITE: / v_exceptions->errortext.
    WRITE: / v_exceptions->code.
    but this code is not working.
    can anybody tell me how can i acheive this?

    Hi All,
    I need to log the error when receiver syatem is down.
    Its like this:
    Outbound proxy >>>XI>>>File adapter..
    Now if xi goes down....means message is succussefully sent from ISD and get stuck in XI then i need to catch this exception in ISD.
    Is it possible?? if yes then how??
    Kunaal

  • Error Handling for ABAP Proxy sender

    Hello Everyone,
    I am trying out a scenario of SAP R/3 to Oracle database (ABAP Proxy to JDBC).
    I have the following code and it works fine.
    CALL METHOD prxy->execute_asynchronous
          EXPORTING
            output = it.
         commit work
      CATCH cx_ai_system_fault .
        DATA fault TYPE REF TO cx_ai_system_fault .
        CREATE OBJECT fault.
        WRITE :/ fault->errortext.
    I know that the above Catch block would be used to handle system errors on the sender side.
    Please tell me what kind of errors could these be and what I can do to test these errors. ie. I want to  create error situations explicitely and see how they are handled.
    Thanks and Regards,
    Ashwin

    Thanks guys, this was useful.
    My scenario is for Asynchronous communication.
    I guess Fault messages are used in case of Synchronous communication for handling application errors. So if there was something wrong at the JDBC end then I could use the fault messages.
    Have i got this right?
    I also came across this piece on Acknowledgements. But is says that they can be used with the following Receivers:
    The following receivers support acknowledgments:
    ABAP and Java proxies (XI 3.0 SP1 for the latter)
    Integration processes
    IDocs (note that IDocs only return acknowledgments when they have been configured using the ALE audit)
    Receiver adapters support system acknowledgments but not application acknowledgments
    My Receiver is JDBC. So I guess I cannot use acknowledgements either.
    Hence, I need to know what I can do to replicate the system errors eg. failed server etc...so that I can get catch these errors during sending.
    I'll tell you abt what happened earlier.
    My XI server was down. I executed the code for the sender ABAP Proxy and it did not catch the error. In SXMB_MONI in the R/3 system, I could see the messages queued up. When the XI server started, the messages were transferred to XI.
    I need to handle such errors...ie. If  the server is down or message did not reach XI then my ABAP program that sends data via ABAP proxy needs to know that something went wrong.
    Thanks and Regards,
    Ashwin

  • Problem sending xls file in an attachment via ABAP proxy

    Hello,
    I have in tmp directory a xls file, I tranfer such file to a table, and afterwards I send in an attachment via ABAP proxy, here is the code:
         l_attachment        TYPE REF TO if_ai_attachment,
            lt_attach           TYPE prx_attach,
            l_name              TYPE string,
            lx_string           TYPE xstring,
            l_string            TYPE string,
            l_type              TYPE string,
            des                 TYPE string.
      CLASS cl_ai_factory DEFINITION LOAD.
      DATA:    BEGIN OF itab OCCURS 0,
               raw(255) TYPE x,
             END OF itab.
      DATA: l_controller TYPE REF TO if_ai_posting_controller.
      DATA: it TYPE zhcm_mt_segur_out.
      CREATE OBJECT prxy.
      OPEN DATASET orig FOR INPUT IN binary MODE.
      READ DATASET orig INTO itab-raw.
      WHILE sy-subrc = 0.
        APPEND itab.
        READ DATASET orig INTO itab-raw.
      ENDWHILE.
      CLOSE DATASET orig.
      LOOP AT itab.
        CONCATENATE lx_string itab-raw INTO lx_string in byte mode.
      ENDLOOP.
      L_NAME = 'Segur.xls'.
      L_TYPE = CL_AI_ATTACHMENT=>IF_AI_ATTACHMENT~C_MIMETYPE_EXCEL.
      TRY.
          L_ATTACHMENT =
            CL_AI_FACTORY=>CREATE_ATTACHMENT_FROM_binary(
                      P_DATA = LX_STRING
                      P_TYPE = L_TYPE
                      P_NAME = L_NAME ).
          APPEND L_ATTACHMENT TO LT_ATTACH.
          L_CONTROLLER = CL_AI_FACTORY=>CREATE_CONTROLLER( ).
          L_CONTROLLER->SET_ATTACHMENTS( LT_ATTACH ).
          CALL METHOD PRXY->EXECUTE_ASYNCHRONOUS
            EXPORTING
              CONTROLLER = L_CONTROLLER
              OUTPUT     = IT.
          COMMIT WORK.
        CATCH CX_AI_SYSTEM_FAULT .
          DATA FAULT TYPE REF TO CX_AI_SYSTEM_FAULT .
          CREATE OBJECT FAULT.
          WRITE :/ FAULT->ERRORTEXT.
      ENDTRY.
    I am using a Mail receiver channel, I receive a mail, with to attachments, one .xml and the other one .bin, I save it to my computer and I change the extension to .xls and when I try to open it, the file is not valid and can be opened after being repaired. What Im doing wrong? I would like to receive a valid xls file, what i should change?
    Thanks a lot,
    Luis

    Hi,
    yes I know, I have used the MessageTransformBean module, and the PayloadSwapBean module. But which parameter I should use for leaving only one attachement in the e-mail. I did this configuration:
    1
    localejbs/AF_Modules/MessageTransformBean
    Local Enterprise Bean
    <b>trans</b>
    2
    localejbs/AF_Modules/PayloadSwapBean
    Local Enterprise Bean
    <b>swap</b>
    3
    localejbs/AF_Modules/MessageTransformBean
    Local Enterprise Bean
    <b>trans1</b>
    4
    localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    Local Enterprise Bean
    mail
    <i><b>Module configuration</b></i>
    trans
    Transform.ContentDisposition
    inline
    swap
    swap.keyName
    payload-name
    swap
    swap.keyValue
    Segur
    trans1
    Transform.ContentDescription
    Segur
    trans1
    Transform.ContentDisposition
    attachment;filename="Segur.xls"
    trans1
    Transform.ContentType
    application/vnd.ms-excel;name="Segur.xls"
    In the e-mail I get one attachement without name .xml and another one Segur.xsl, and I want only one attachment, the last one. What I should change in my configuration??
    Best regards,
    Luis

  • Abap Proxy Errors

    Hi Experts,
    My scenario R/3->XI(ABAP Proxy)--->SUS Systems
    Getting the following error in SUS system.XI system it doesn't throw any error in moni.
    I am new to proxy concepts.Also please let me know any related blogs or suggestions in this regards.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Call Inbound Proxy
      -->
      <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">DYNAMIC_CALL_FAILURE</SAP:Code>
      <SAP:P1>UNCAUGHT_EXCEPTION</SAP:P1>
      <SAP:P2>CL_BBPX1_SUSIV_IN</SAP:P2>
      <SAP:P3>EXECUTE_ASYNCHRONOUS</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error during proxy processing An exception with the type CX_BBPX1_STD_MESSAGE_FAULT occurred, but was neither handled locally, nor declared in a RAISING clause Application Error</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Thanks,
    Sudhansu

    Hi Behera,
    Can you debug your proxy using this blog:
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/502a7f0e-e5d9-2910-5aa2-976a8ed8384f&overridelayout=true
    Also please check few solutions given in this threads for the same issue:
    Re: Messages waiting in SUS Moni
    Re: ABAP Inbound Proxy Error !
    Regards,
    ---Satish

  • Abap report for calling abap proxy?

    why do we need  to write abap report for calling abap proxy? i mean what's the use of abap report and what are the things inside the report ...please give me details about abap report.

    Hi,
    In SPROXY for your outbound interface you generate the proxy class.
    The ABAP report is used to fill the data from the ABAP tables and then trigger the call to XI using this class.
    Look into the code in this blog and check what is done,. The data is filled in the report and then the call is made to XI using an object of the class created in SPROXY using the EXECUTE_ASYNCHRONOUS method.
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Regards
    Bhavesh

  • How to call a ABAP proxy class from a BADI? Please help!

    hi Experts,
        I have a scenario where I have to call a ABAP proxy class from a BADI. How can I do this? Does anybody has sample code for the same?
    Please help.
    Thanks
    Gopal

    Hi Gopal,
    Check this out
    DATA: ref_obj    TYPE REF TO zmfg_production_ord.----> BADI
    * Instantiate the proxy class
        CREATE OBJECT ref_obj.
        TRY.
            CALL METHOD ref_obj->execute_asynchronous
              EXPORTING
                output = it_output.     "Output Structure
            COMMIT WORK.
          CATCH cx_ai_system_fault INTO ref_sysexception.
        ENDTRY.
        IF  ref_sysexception IS INITIAL.
          WRITE : / 'Error Message'.
        ENDIF.
    Edited by: Raj on May 28, 2008 4:52 PM

  • ABAP Proxy outbound not showing in sxmb_moni

    Hi All,
    All my ABAP proxy scenarios are inbound, however I need to do a outbound ABAP Proxy scenario.
    So, I created a Assyn interface in Integration Builder and created a proxy on outbound message interface in SPROXY. (ZCO_ITF_FILE_***).
    R/3 --> SQL server
    In my simple example I created a program in se38 as shown below
    DATA prxy TYPE REF TO ZCO_ITF_FILE_***.
    CREATE OBJECT prxy.
    DATA it TYPE ZMTP_FILE_***.
    TRY.
        it-MTP_FILE_***-id = '12'.
        CALL METHOD prxy->execute_asynchronous
          EXPORTING
            output = it.
    commit work.
    CATCH cx_ai_system_fault .
        DATA fault TYPE REF TO cx_ai_system_fault .
        CREATE OBJECT fault.
        WRITE :/ fault->errortext.
    ENDTRY.
    I want to send just one field called ID.
    The program works fine, the "commit work" is called but It doesn´t reach the XI. It doesn´t appear in SXMB_MONI.
    As I said before I have Inbound Abap Proxies interfaces, so, I got the sxmb_admin configured.
    What am I missing ?
    Thanks
    Diego

    Hi
    Thare are no error in SMQ2. The message shwon is
    Cl     | User      | Func. Module             |  Queue       |  Date          | Time      | Status Text 
    310    ABAP01  SXMS_ASYNC_EXEC   XBTS0005     26.05.2009  11:23:59  Transaction recorded
    When I press F6 the message goes to XI. the message reach the sxmb_moni in XI.
    But in XI I am facing with another error (the receiver could not be determined).
    Thanks
    Diego

Maybe you are looking for