Proxy acknowledgement

Hi,
we have an asynchronous scenario ABAP Proxy to ABAP Proxy.
We have configured the outbound proxy to request Application Acknowledgements.
In the inbound proxy we have the code to raise an exception and send back a negative application acknowledgement in case of failure of method EXECUTE_ASYNCHRONOUS execution.
RAISE EXCEPTION TYPE ZZEXCEPTION
EXPORTING
text = 'MESSAGE ERROR TEXT'
name = 'TEST'.
In case of successfull execution, a positive application acknowledgement is sent back automatically after the execution of EXECUTE_ASYNCHRONOUS.
So everythink works successfully.
Now we need to add some custom informations in the positive application acknowledgement. We have these informations (simple text) in the method EXECUTE_ASYNCHRONOUS of the inbound proxy.
It seems that this kind of activity is not possible, because the generation of the positive appl ack is done automatically after the execution of EXECUTE_ASYNCHRONOUS.
Do you know if it's possible, and eventually how to realize this?
Thank you in advance
Kind Regards,
Francesco

check if this link helps you
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/frameset.htm</a>

Similar Messages

  • Abap Server Proxy acknowledgment

    Hi All,
    Typicall scenerio FILE->PI->ERP(abap server proxy).
    is there any possibility(excluding BPM) to request acknowledgment from erp to be sent to pi and fill second column in sxi_monitor. similar situation to aleaud in idoc processing..
    BR
    Maciej

    is possible
    take a loko to this.
    http://help.sap.com/saphelp_nw04/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/frameset.htm
    Acknowledgment Types
    SYSTEM_OK
    Positive system acknowledgment.
    The receiver was reached successfully. For server proxies, this means that the implementing class for the server proxy was found and that the method for inbound processing could be called.

  • Outbound proxy acknowledgment user

    hello,
      we have the following scenario
      async. outbound proxy -> file adapter
      this works correctly but the acknowledgment that we would like to receive uses an unexisting user
      and returns following error "HTTP 401 - Unauthorized"
      anybody knows were to adjust this user ?
      we could create the user but we would like to know where to find it
      thanks 
    regards,
    michel

    HTTP logs have to be activated at instance profile level, ie :
    icm/HTTP/logging_0                          PREFIX=/,LOGFILE=devs_http.trc,MAXSIZEKB=50000, SWITCHTF=day,FILEWRAP=on
    icm/HTTP/logging_client_0                   PREFIX=/,LOGFILE=devc_http.trc,MAXSIZEKB=50000, SWITCHTF=day,FILEWRAP=on
    and then restart the ICM (tcode SMICM and soft restart) ... Then, in SMICM, there is a HTTP logs menu that will display contents of these traces, you can often find user/url/rcode in it
    But maybe Stefan's solution could solve your issue (I'm not familiar with ACKs )
    Rgds
    Chris

  • Proxy acknowledgement issue

    Hi all,
    I have a Proxy-PI-Proxy scenario with acknowledgements(application acks) that I'm still testing.
    There's an interesting issue; in the PI and receiver systems, acknowledgement status gets updated
    after the receiver processes the message but in the sender system(SXMB_MONI), the message just sent gets stuck with "still waiting acknowledgment" status and is not updated.
    Any ideas?
    Thanks in advance.
    Regards,
    Gökhan

    hi Madhu,
    my blog that you mention does not have anything to do with proxy acknowledgments
    why did you bring it here?
    hi S. Gökhan Topçu,
    did you create ack as shown here:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm
    Regards,
    michal

  • Reg Alerts using with & without BPM.

    Dear Experts,
               The flow of the inbound message is Customers>( Seeburger Adapter which receives the message and passes to the integration of XI CENTRAL HUB) CENTRAL XI HUB> XI HUB-->SAP System and the out bound is viceversa.
    1. A Message failed with the Mapping Exception Error in the SXMB_MONI of the CENTRAL XI Hub. An alert should be raised for thsi error in the form of email..how this can be done WITHOUT BPM ? or WITH BPM ?
    2. How to integrate This type of alerts with with Tivoli to raise a ticket with the support team ?

    Hi,
    How you checked acknowledgment for IDOCs
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    For proxy acknowledgment please refer to help.
    Best regards,
    Wojciech

  • 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

  • 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

  • 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

  • Proxy - File Adapter - "Still awaiting acknowledgment"

    Hi,
    I have a "Proxy -> BPM -> File" scenario and have configured acknowledgment. When the data is sent from proxy and written to file without errors I get the correct acknowledgment back to the R3 system. But when the file can't be written (FTP cant be reached) then  I get an error in the BPM step but get an Wait step in R3. "Still awaiting acknowledgment"
    sxmb_moni in PI:
    Processed successfully@ @Still awaiting acknowledgment           @ 04.08.2009 14:47:18 14:47:18     @R3System
    Processed successfully@ @Acknowledgment contains system errors   @ 04.08.2009 14:47:19 14:47:19 @Integration Process
    In SWWL I see this status:
    Waiting for event 'SEND_OK_TRANSPORT' of object type 'CL_SWF_XI_MESSAGE'
    Maybe it has something to do with the "Guaranteed delivery". It retries 4 times and maybe it is waiting for an retry limit or something. I am not sure.
    Any ideas on this one?

    Shouldn't this be a "Acknowledgment contains system errors" ?
    Are you implementing any logic once the deadline is met?
    To send the NACK to R3 you need to have a Send step in your Exception/ deadline branch which will send the required message to R3.
    A similar approach is shown here: /people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments
    Instead of the Control Step you need to have a Send Step.
    Update:
    Please note that any acknowledgement from AE will come into the BPM and will not go directly/ automatically to R3. The meaning of acknowledgement coming back to the Sender Application means ACK/ NACK to the BPM and not any other system.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Aug 5, 2009 2:48 PM

  • BPM flow Proxy to File and then Acknowledgement back to Proxy or JDBC.

    hi All,
    I have to create an BPM scnario to get acknowledgement from receiver file adapter.
    Steps created in BPM are:
    receive -> send (Transport Acknowledgement is selected) as per blog /people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments
    Now what i want to do is whenever any type of acknowledgement is obtained i need to send success or failure message to proxy or JDBC(have alreay seen how to request for acknowledgements through client proxy).
    What i need to do in order to achieve this scenario?
    Thanks,
    Mayank

    hi,
    If we are getting exception for some reason and error text as visible in moni  for example is:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while retrieving an FTP connection from the connection pool: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Connection timed out: connect</SAP:AdditionalText>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
    Is it possible to capture Additional Text somewhere in BPM, so that in case if deadline limit is exceeded we can send exception text back to the sender?
    thanks.

  • Idoc to proxy scenario with an acknowledgment

    Hi ;
    I have to implement a IDoc to abapProxy scenario but an application acknowledgment must be return so IDOC status will be set.
    How can i understand whether an application error exists while abapProxy is executing or not in status of IDOC?
    Do I need to create and sent back new IDOC to the sender system in abapProxy code?
    Thanks.

    Hi,
    See if you just want the ack for your IDOC coming from r/3 to XI, then you can use ALEAUD01 IDOC and you can configure it by running report IDX_NOALE in XI system..........
    But if you want status change for appl error occuring in ABAP proxy system, then i think you will have to use a BPM for it.........you will have a recive step for getting your IDOC, then a transforamtion step for IDOC to proxy mapping, then a synch send step for sending proxy req and getting proxy response, then a transformaton step for mapping the proxy response to SYSTAT01 IDOC in r/3 for changing the IDOC status depending on success or error for your proxy response, then a send step to send this IDOC to r/3 system...............keep teh IDOC number in proxy req and proxy response so that you can use it in SYSTAT01 IDOC for sending it to r/3 and changing your IDOC status.
    Regards,
    Rajeev Gupta

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

  • ABAP client proxy: request acknowledgement

    Hi,
    I've read the link [http://help.sap.com/saphelp_nw70/helpdata/EN/f4/8620c6b58c422c960c53f3ed71b432/frameset.htm] which explains the use of ABAP proxies with acknowledgements.
    I've implemented a corresponding logic.
    At runtime I see no acknowledgement request in the <SAP:ReliableMessaging> tag of the XI header.
    Every time I execute the proxy I just get:
    Exception CX_AI_SYSTEM_FAULT triggered
    NO_ACKS_REQUESTED No acknowledgment requested for message ID 47D4E16B00146767E1000000AC1
    Anyone can explain this?
    For the record it should be stated that scenario is like this: ABAP proxy --> XI --> JMS
    Best Regards,
    Daniel

    Hi,
    You will get the proper acknowledgment in case for Asynchronous communication here in ABAP proxy -- XI --JMS you need to build Sync/Async bridge. also verify which SP that you are using.
    Refer Sync/async bridge for JMS
    Async/Sync Communication using JMS adapter without BPM (SP 19)
    /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    Exploring JMS and SAP-XI JMS Adaper
    /people/kan.th/blog/2007/02/05/exploring-jms-and-sap-xi-jms-adaper
    Sync/Async communication in JMS adapter without BPM (SP19)
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    Sync/Async scenarios without BPM
    /people/henrique.pinto/blog/2007/08/02/syncasync-scenarios-without-bpm
    Thanks
    Swarup

  • Client Proxy success acknowledgements to PI

    Hi All,
    Is it possible to send the client proxy successful acknowledgements to PI? If there is an error in data, the Fault message will be used to communicate back to PI. But where as the message processed successfully in ABAP , the I need to send successful message to PI.
    Ex: "Document posted successfully"
    Any ideas...
    Thanks guys,
    RY

    Ae you using snc or asyn proxy ?
    in sync proxy you we can have request and rsponse structure...in response structure we can pass sucess message

  • Acknowledgement in Proxy

    can u please tell me about Acknowledgement In Proxy.

    HI Deepthi,
    An acknowledgment message informs the sender of an asynchronous message about the result of message processing for this message. The reported result is referred to as an asynchronous acknowledgment.
    Request Messages
    Within the request message you must define whether an acknowledgment message is required, and if so, what kind of acknowledgment message. The acknowledgment message can refer to two events:
    ●      The arrival of the request message at the final receiver
    ●      The execution of the application in the receiver system
    For this purpose, the request message contains an acknowledgment tag, which specifies the event for which an acknowledgment is expected. This tag must be specified by the sender (or a sender adapter that supports acknowledgment messages).
    Message processing ensures that the acknowledgment message follows the same route from the receiver to the sender as the request message did from the sender to the receiver. For this purpose, the request message contains a hop list that logs the route of the request message. All Integration Engines and Integration Servers that are involved in the processing of the request message provide the data for this log.
    Acknowledgment Message
    As soon as the request message encounters an event that requires an acknowledgment message, a corresponding acknowledgment message is created and sent to the sender.
    An acknowledgment message receives a new message ID, but also has a reference to the message ID of the request message as well as the value Response in the Directory tag of the message header. The request message hop list is copied to the acknowledgment message header, thus enabling backward routing of the acknowledgment message.
    If a message is branched, a separate acknowledgment message is returned for each newly created request message. These acknowledgments enable the sender to recognize that its original message has been branched.
    and if you have any doubt then check it .
    http://help.sap.com/saphelp_nw04/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/frameset.htm
    Edited by: bhavanisankar.solasu on Apr 7, 2011 12:14 PM

Maybe you are looking for

  • Line item for header material not updating in COEP table

    Hi all, from last few days, I found that   when I do confirmation and GR for process order, system is updating all line ( i.e. components, activity types) but line for header material that is finished goods  or semi finished goods is not updating in

  • SOAP to RFC synchronous scenario with File

    Hi, My scenario is  Java application is sending SOAP message to PI and PI should route that message (after converting SOAP message to XI message) to RFC. 2) After receiving the response from RFC PI should send the response to java application. Now he

  • File association problems with Win2K server

    Hi, I have a client - 5 Macs in a Win2K network. They're designers and store/work on all their jobs on a Win2K volume. About 2 months ago, problems started happening - files lost their application association (mostly all were turned into Unix exec fi

  • Monitoring Transformation in BPM

    Hi all, I have in BPM three transformaions steps one after another. Partly I use as message mapping XSLT. What is the best way to check the message interfaces in transformation processes (message mapping). SXMB_MONI shows only the messages at send ti

  • Conditional field focus

    Hello, I have a page with two fields. If the value of field 1 is null, I want the focus to be on field 1. If the value of field 1 is not null, I want the focus to be on field 2. I tried this: <script language="JavaScript"> if $v('P1_FIELD1') != ''  t