Abap Proxy Server acknowledgment

Hi All,
i have a scenerion Externat -> PI -> R/3 (Asynch)
The receiver of message is abap proxy.
My question is: how to send acknowledgment from R/3 after commit work to at least PI ??
Regards
Maciej

for client proxy check:
How to configure acknowledgements in Proxy(SAP)u2013PI(7.1)u2013Jdbc Scenario
For requesting through BPM check:
/people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments
BPM flow Proxy to File and then Acknowledgement back to Proxy or JDBC.

Similar Messages

  • Idoc to ABAP Proxy with Acknowledgement Coming Back

    We are running SAP standard SRM scenario where our ECC systems are posting Idocs to PI which maps and sends to SRM as an ABAP proxy.  Can someone please explain to me the best way to have SRM send back an acknowledgement to the sending ECC system when the document has been posted so we can update the Idoc status?  We are looking for standard SAP config firstly, then will consider custom development if absolutely necessary.
    Thanks in advance!
    Peter

    Hi Peter,
    you can configure the IDOC ack setting and you can getthe idocs for acknowledgement in ECC side.Configure the ALEAUD message type in ECC and configure one Coomunication channel for the ACk in ID.
    if this is not clear just giive ur mail id i will send u one pdf or this
    Regards

  • 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.

  • ABAP Proxy Exception

    Hello everybody i have this error in my sxmb_moni of xi for a abap proxy server receiver:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">DYNAMIC_CALL_FAILURE</SAP:Code>
      <SAP:P1>UNCAUGHT_EXCEPTION</SAP:P1>
      <SAP:P2>ZFUS_CL_MI_FMGOB_CAT_FONDOS_C1</SAP:P2>
      <SAP:P3>EXECUTE_SYNCHRONOUS</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText>Unable to execute the dynamic application call (kernel error ID UNCAUGHT_EXCEPTION, class ZFUS_CL_MI_FMGOB_CAT_FONDOS_C1, method EXECUTE_SYNCHRONOUS)</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    any suggestions?
    Regards,
    Julio Cesar

    Hi
    Below is the full details of above links
    For link 4196517?
    Q) Hi All,
    I have got a requirement to raise an exception from existing ABAP Proxy depending on condition. XI consultant created a fault messge type and attached to the inbound interface message type. I have regenerated the ABAP proxy but I cant find any thing in excpetion tab to raise exception.
    Please let me know the solution for this.
    Answers : 1) Go to Sproxy .
    Select the message interface for which you generated the proxy.
    Click on the Structure tab. Do you see any Exception Class generated for fault message ?
    2) Just follow all the steps defined in the below Blog and you will find the solution.
    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
    3) I can't find any exception class there in 'Structure' tab. what might be the problem.
    4) In SProxy ..under the Message Interface you will see Fault Message Type.
    Click on Fault Message Type and check if you can see the fault message type created by xi consultant.
    Also ask your xi team to login to IR and re-activate the interface.
    5) I can't find any fault message type under Fault Message Type. I will ask my XI consultant to reactivate the interface.
    Is this the only problem for this or is htere any other reason for not finding this fault message type in SPROXY.
    6) Ideally the fault message type should be visible unless he has defined Software Dependencies and using MT from some other SC.
    Even if the fault message type is not visible everything could be all right.
    Ask him to check if he selected the fault message type while activating the interface.
    Do update us when you get a reply from ur xi team.
    7) I have checked with XI admin, he said that he created fault message types in Development Xi but R/3 Development refers to Production XI system in exchange profiles. He asked me to change it to XI development in exhange profile settings. So I am searching info on how to set exchange profiles.
    8) The following link will guide you ..
    http://help.sap.com/saphelp_nw04s/helpdata/en/c9/7a1041ebf0f06fe10000000a1550b0/frameset.htm
    I dont think we need to do any changes in Exchange Profile for proxy communication.
    Changing the RFC Destinations (in your R/3 system)- LCRSAPRFC & SAPSLDAPI should solve your problem.
    II) For Link :4147406?
    Q) Hi All,
    We have an ABAP Proxy implemented for posting goods movement and it is calling BAPI function module to post good movement. We have got a requirement that if BAPI returns any error, this error message send back to SAP XI.
    data call proxy
    Legacy -
    > XI -
    > SAP R/3(call bapi)
    <----
    error message
    Please let me know how to send the message back to XI.
    Answers: 1) Refer the following
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
    2) you can utilize the fault messages for such an usage -
    Ref:
    Fault messages -
    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
    Handling Web Service SOAP Fault Responses in SAP NetWeaver XI -
    /people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi
    3) You have to do Fault message implementation in this case...
    A no. of exception will be there.For any error proxy will catch the exception and will write it in the fault message...so....from r/3 response will go to Xi as Fault message response in case any error/exception occours......
    have look here...
    Fault message implementation.
    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
    4) Please go through it is very useful.
    /people/krishna.moorthyp/blog/2005/12/23/monitoring-for-processed-xml-messages-in-abap-proxy --Monitoring for Processed XML messages in ABAP Proxy
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy --ABAP Proxies in XI(Client Proxy)
    /people/sap.user72/blog/2005/12/29/service-enable-your-sap-application-component --- Service Enable Your SAP Application Component
    5) the file adapter can work only asynchronous, so you cant have a response. You should build two asynchronous messages. File -> proxy inbound and after the bapi call an outbound proxy is called which is sending a second messge to the file adapter.
    6) you can define a synchronous scenario which will include request/response messages.
    send the response back to XI.
    the file adapter supports BE QoS.
    http://help.sap.com/saphelp_nw04s/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    7)I have an interface Z_stock_move(message interface(inbound)) and class z_STOCK_MOVE in that. I have clicked exception tab but not able to add exception there as its not enabled for change.
    Please let me know how to add the exception to an existing abap proxy.so that i can raise an exception when bapi call to goods movenment returns errors.
    Might be useful to U.

  • SOAP--PI--ABAP Proxy-how to call this scenarion from third-party PeopleSoft

    My scenario is:
    Third-party Peoplesoft sending an Asynchronous XML message to PI through SOAP Adapter which will then be processed by ABAP proxy server.
    I have everything in place (SDL,IR,ID & ABAP Proxy). I have created a SOAP tool that uses URL (http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel) and XML message to test the process - it works.
    Now the problem is the Peoplefoft system guys need help to figure out how do they reach our system and this process.
    per my understanding, I created a WSDL using ID>Tools>Define Web Service option and sent it to them hoping they will be able to use this WSDL to program their call to our system.
    I also additionally sent them the SOAP client tool that i use to test the process that has default XML payload in it.
    The only change i made in WSDL before sending to third-party is - replaced location tag from the actual URL that reaches sender SOAP adapter to the external URL that will be used by PeopleSOft system reach our network. I think our network guys are going to map this external url to internal URL.
    Is there anything else i can do as a PI consultant to help Peoplesoft reach our network and hit the SOAP Adapter (SOAP sender adapter channel for my process).
    I will Appreciate any ideas.
    Thanks,
    Saurabh

    As a PI developer, ur only task is to provide the correct wsdl to the Peoplesoft guys. As u have changed the URL, there is nothing else to be done at ur end.
    The SOAP Client user just have to use the wsdl and fill in the data. Before the communication, please make sure that there are no firewall restrictions.
    Regards,
    Prateek

  • Fault message in asynchronous ABAP Proxy

    Hi,
    I have a question about fault messages in asynchronous ABAP proxy server.
    The configured scenario is SOAP – XI – ABAP Proxy. Between XI and the ABAP Proxy I have configured an inbound asynchronous interface with a fault message, and then I have generated all the classes and implemented some code for exception handling in the ABAP Proxy side successfully.
    When I tested negative cases, the exception raises and it is visible in the SXMB_MONI transaction in the R/3 side, but this exception is not displayed in the SXMB_MONI of XI it just displays a successful delivery to the ABAP Proxy message.
    According the XI documentation it says “<i>In the asynchronous case, you can see a fault message in the monitoring of the Exchange Infrastructure.</i>” But this is not working.
    Am I missing something?

    Hi,
    This parameters are form group RUNTIME.
    Please check it:
    http://help.sap.com/saphelp_nw04/helpdata/en/d6/49543b1e49bc1fe10000000a114084/content.htm
    Regards,
    Wojciech

  • Problem: ABAP Proxy Client Sending to XI - Message lost

    Hi all,
    I got a problem, concerning ABAP Proxy Client.
    I have done the following:
    1. Created an outbound interface in XI 3.0, sp14
    2. Created Proxy for this in ABAP using sproxy
    3. Created ABAP pgm to call this proxy
    4. Maintained SM59 http destination to XI
       (RFC Dest:INTEGRATIONSERVER TYPE H)
    5. Sender r/3 system is WAS 640
    6. I also did sxmb_adm in Sender System to have Integration Engine URL pointing to XI System.
    7. I registered/ activated queues in SXMB_ADM.
    8. SICF service is active for defalt/xi/engine in both Sender and target systems.
    I allready have ABAP Proxy Server running...
    My Proxy Client seems to run.., running my report (based on the ABAP Proxy Client Weblog from SDN)I get a sy-subrc 0 and no error, bot I can't see no message in XI. Neither in SXMB_MONI, nor in RWB checking Message-Monitoring
    Can someone please tell me what is going wrong and where I could check for my messages?
    Thanks in advance, Daniel

    Hi Daniel -
    Looks like you've done the major tasks for this to work. A couple of things however...
    For proxies, Type H is the correct RFC Dest type.  However, don't know if it's a typo, but the 'Dest:INTEGRATIONSERVER' should have '//' like 'Dest://INTEGRATIONSERVER'.
    Also, confirm that your are using the correct port in your destination.  You should use the integration server's ICM port, not the J2EE server port.  You can confirm this in SMICM, then Goto-->Services.  You may already have this; I just didn't see it specified in your description.
    Regards,
    Jin

  • Doubts in ABAP Proxy

    Hi All,
    1. I need to send material master data from sap r/3 to XI through abap proxy. How can i do this? can i write code in abap to extract material master data by using select statement? Please let me know.
    2. I am receiving invoice data from XI  I need to post this data into sap r/3 by abap server proxy. This data shouldn't be post immediately. it should be in parked status after doing some cross check i need to post.   How can i do this?
    Regards,
    venkatesh

    Hi,
    >>>2. I am receiving invoice data from XI I need to post this data into sap r/3 by abap server proxy. This data shouldn't be post immediately. it should be in parked status after doing some cross check i need to post. How can i do this?
    inside your abap proxy (server) just call BAPI BAPI_INCOMINGINVOICE_PARK
    and you can park invoices with this one
    there is no special handling necessary in ABAP proxy for this requirement
    parking of invoices is a standard FM in SAP
    >>>1. I need to send material master data from sap r/3 to XI through abap proxy. How can i do this? can i write code in abap to extract material master data by using select statement? Please let me know.
    there is no standard proxy for materials so just use IDoc instead
    Regards,
    Michal Krawczyk

  • Problem receiving acknowledgement: abap proxy == file adapter

    Hi experts,
    I am developing an asynchrone interface using PI 7.0. The scenario is: SAP ==> FILE.
    In SAP I have created an abap proxy in wich I requested an acknowledgement when calling from the abap code. In PI I have created an Integration Process with a receive step, and a send step. In de send step I am asking for a transport acknowledgement.
    When I test the interface and I look in the SXMB_MONI in PI, I see the acknowledgement given back to the IP, but in the SAP backend system I don't receive anything in the abap proxy which had send the original message. In de SXMB_MONI from SAP I see a "?" Still awaiting  acknowledgement.
    Can anyone help me with this scenario? I really need an acknowledgement from the file adapter in the calling abap proxy.
    Regards, Jeroen

    You need to crate a REceiver Agreement for this sender...
    The Integration Server sends an acknowledgment message back to the sender (CENTRAL_BACK). It uses the name of the sender system for logical and technical backward routing.
    If the sender is addressed using an ABAP proxy, you must define a corresponding receiver agreement for this sender.
    http://help.sap.com/saphelp_nw04/helpdata/en/29/345d3b7c32a527e10000000a114084/content.htm
    -SM

  • Acknowledgement for AsynThird-party-- SOAP-- PI-- ABAP proxy-- ECC scenario

    Can someone please provide me a step-by-step for Third-party>SOAP>PI>ABAP proxy>ECC scenario.
    Third-part system is sending an Asynchronous HTTPS message to PI which is then routed to the ECC system to do some processing. I have read many blong and all SAP Docu available on this subject, but i am still confused.
    I understand that ABAP Proxies supports acknowledgement, but what needs to be done in the third-party system to be able to receive acknowledgements. Is there any special config. that needs to be done in Sender SOAP adapter?
    What diff. needs to be done in ABAP proxy to be able to send acknowledgement messages, any config. in XI receiver adapter?
    I will appreciate any guidance.
    Thanks,
    Saurabh

    HI
    Third party application need to have the synchronus communication enabled. If not then you need to get a wrapper develop for this kind of communication
    For proxy development
    Just go through these links:
    How to create proxy.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    ABAP Server Proxies (Inbound Proxy)
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    OutBound Proxy (Client Proxy)
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    Outbound Proxy (Client Proxy)
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    How to Activate Proxy.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    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
    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

  • Access/set dynamic configuration in client/server abap proxy

    Hi,
    I have 2 question regarding reading/setting dynamic configuration in ABAP proxies:
    1) Is it possible to set dynamic configuration objects in a server abap proxy (SAP --> XI)?
    When looking at the class CL_PROXY_FRAMEWORK is looks as if it is possible. This class has en attribute IF_XMS_MAIN~DY which is a reference to the class CL_XMS_MSGHDR30_DYNAMIC.
    I'm not sure if I'm supposed to try and access the dynamic configuration objects via this class or if I'm supposed to use the GET_PROTOCOL method in some manner as suggested by:
    http://help.sap.com/saphelp_nw04s/helpdata/en/51/d5cd16235e4643ae8ec92395c4ad97/frameset.htm
    Above link is for client proxies not server, and I've been unable to find any documentation on this for server proxies.
    2) The same question goes for server proxies (XI --> SAP), though now I would like to set some dynamic configuration data.
    This I believe should be done using get_protocol( if_wsprotocol=>ws_header ) as indicated by before mentioned link.
    However in both cases I'm not sure of if it is indeed possible and which road to choose for sure. So a hint or 2 would be really nice.
    Best Regards,
    Daniel
    ps. maybe I should just mention that I am pretty new to the ABAP world, so bear with me.

    The link that you gave does give you an example for both server and client proxies:
    Accessing Protocol Classes for Client Proxies
    In client proxies, you access the protocol class by using the GET_PROTOCOL method. Below is an example for the IF_WSPROTOCOL_PAYLOAD protocol:
    DATA:
    lo_clientProxy      TYPE REF TO co_clientProxy,
    lo_payload_protocol TYPE REF TO if_wsprotocol_payload
    lo_payload          TYPE REF TO if_ws_payload.
    CREATE OBJECT lo_clientProxy.
    Get Protocol Class Using Method GET_PROTOCOL
    lo_payload_protocol ?=
           lo_clientProxy->get_protocol( if_wsprotocol=>payload ).
    CALL METHOD lo_clientProxy->execute_synchronous
                EXPORTING output  = ls_request
                IMPORTING input   = ls_response.
    Use Protocol Methods
    lo_payload = lo_payload->get_sent_request_payload( ).
    Accessing Protocol Classes for Server Proxies (XI Only)
    Within the implementation of a server proxy, you get the protocol class by using the CL_PROXY_ACCESS=>GET_SERVER_CONTEXT( ) method:
    DATA:  lo_server_context   TYPE REF TO if_ws_server_context,
           lo_payload_protocol TYPE REF TO if_wsprotocol_payload.
    lo_server_context   = cl_proxy_access=>get_server_context( ).
    lo_payload_protocol =
         lo_server_context->get_protocol( if_wsprotocol=>payload ).

  • Abap proxy for 2 PI server with 1 ERP server

    Hi expert,
    I have 2 production PI server that require abap proxy and RFC adapter communication with 1 production ERP server. In the ERP server sxmb_adm integration server configuration only 1 rfc destination that possible but i have 2 PI server. Is that anyway to set 2 rfc destination?
    Thanks..

    Hi
    If you want to connect by proxies, then it will not be possible to connect 1 ECC to 2 PI systems.
    Pls check replies from Mark Smyth  & Amir from the following thread.
    XI and PI
    Regards
    Abhijit

  • Message Send from ABAP Proxy implemented in XI Server ABAP Stack

    Hello everyone,
    I have a question and I'm not sure of this is an ABAP question but I'll try here and try to find some information on ABAP forums and weblogs, I need to send a XML message to the XI pipeline from an ABAP Server Proxy implemented in the same XI ABAP Stack Server, why I need this? well actually I can't find a way to do it in a BPM so I'm going to try to set the logic for this message send in the ABAP Stack, so do you know like a Function Module so I can send a message to the pipeline but I need the message to be set as Scheduled, I'll try ABAP Forums and Weblogs too, thanks in advance.
    regards,
    julio

    Hi
    You can schedule your program as a background Job SM36. Please check the transaction. You will have to set your ABAP program as the job STEP (if you probably have selection screen for your report then you will also need a variant for your report).
    Do schedule your program as a 'Periodic Job' and your personal period (daily/hourly).
    After you save your settings you can also monitor your job (ABAP Program) from the same transaction or even from CCMS if you like.
    Thanks
    Gaurav

  • ABAP Proxy to SOAP - Logon to Web Application Server Required

    Hello XI Experts,
    I have set up an ABAP Proxy->SOAP example in my IDES system. Everything is working correctly.
    However, when I execute the program which makes the call to the method "EXECUTE_SYNCHRONOUS", a popup appears asking me to enter logon details to the web application server.
    Where do I set the logon information such that this popup no longer appears?
    Thanks in advance,
    NW.

    Hi Nicholas !
    Check this thread:
    ABAP Proxy configuration
    I think it has useful tips about what you should check.
    Regards,
    Matias
    ps: please award points if helpful

  • File to server abap proxy

    in my file to server abap proxy scenario,<b>filexisap .</b>
    i have some doubt in configuration part.
    i have to create one http destination but not clear where it should be created?in xi or in sap system??

    Hi
    you can either key in the Details of the R3 system in the XI adapter directly or you can maintain a HTTP destination on your XI in SM59 and use this in the XI adaper.
    regards
    krishna

Maybe you are looking for

  • Hard drive crashed. How do I get OSX on my new drive?

    I think my hard drive crashed, oh my.  First, let me say that all my data is backed-up on a cloud drive or on my network drive.  So, I am good there.  The computer is now completely inoperable, can't start up, not even in safe mode. Just goes to Appl

  • Passing DB values to the textbox based on Select Value item

    Hi, I am very much new to the Oracle APEX. In my project, I have a requirement wherein I have to pass the different values to the corresponding textboxes on a different page based on the value I select from the "Select Value" item. I have tried using

  • ITunes Match on multiple devices at home?

    Hi, At home we have 3 iPhones and 2 iPads. On one of them I subscribed to iTunes Match for $25 a year.  I thought on all my other devices I would just be able to turn on iTunes match under that one payment of $25, but when I try it says I'm not subsc

  • IDocs Msg Types

    Hi I am trying to find the applicable IDoc to use for the following processes: Create A Delivery Replication of Material Master Create A Stock Transfer Order Create a Goods Receipt Create a Goods Issue All of these are to be triggered in one SAP syst

  • Web Interface - Username and Password.

    I have a question when i put my IP address i need to put a password and username. Where i can get dose things ?