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
Similar Messages
-
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, JeroenYou 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 -
Hi,
I have a requirement where some information is required to be sent from SAP system to SQL table with PI in between. The scenario is of async type and i am planning to have acknowledgements (acknow.) to be sent from JDBC receiver to Proxy sender. This being my first time on acknow., i donu2019t have any clues as to how to handle this. I need your help on the below listed points:
1.) Out of System and Application acknow. which are the ones supported by JDBC receiver in an async mode.
2.) I am not using BPM so is it possible to enable acknow. in my case.
3.) What are the steps that i have to follow to configure acknow. in my scenario. (I will be obliged if they can be explained a little elaborately)
Looking for a lot of help from you folks.
Thanks & Regards,
AnshulHi Anshul,
>>1.) Out of System and Application acknow. which are the ones supported by JDBC receiver in an async mode.
System acknowledgments are supported
Check this wiki page http://wiki.sdn.sap.com/wiki/display/XI/Acknowledgement+types
>>2.) I am not using BPM so is it possible to enable acknow. in my case.
Yes
>>3.) What are the steps that i have to follow to configure acknow. in my scenario. (I will be obliged if they can be explained a little elaborately)
Your ABAP side should ask for an acknowledgment. so create a client proxy and refer the link on an exampel of code that need to be written in ABAP
http://help.sap.com/saphelp_nw04/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/frameset.htm
Regards
Suraj -
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
Maciejfor 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. -
Hi,
we are migrating from Forms 6i to 11.1.2. Our database version is very old (Enterprise Edition, version 10.1.0.5) because this is the latest version of the DB that Forms 6i runs, and we will migrating to 11g in phases. So 6i and 11g will co-exists for a while (accesing the same DB).
I am trying to use proxy users feature to login to database.
So I did this:
- I created a user PROXY_USR to be the proxy user:
SQL> create user PROXY_USR identified by PROXY_PASW;*
- I grant create session for the user:
SQL> grant create session to PROXY_USR;*
- I changed the application users (eg APPUSER01), to connect via proxy user:
SQL> alter user APPUSER01 grant connect through PROXY_USR;*
The comand in Forms module to login is:
+LOGON('PROXY_USR[APPUSER01]','PROXY_PASW@DB01');+*
The logon built is being performed and the connection being made, without erros.
But when I verify in what user the application is logged on, the result is not
what was expected:
I did the follwing PL/SQL inside Form module:
begin*
select user into v_user_DB from dual;*
MESSAGE('User Connected: '||v_user_DB,ACKNOWLEDGE);*
exception*
when others then*
MESSAGE('ERR: '||SQLERRM,ACKNOWLEDGE);*
end;*
The result from this select, is PROXY_USR and not APPUSER01 (that would be the correct):
*>>Result: "User Connected: PROXY_USR"*
Some more commands that were also performed inside Forms module:
begin+
select sys_context('userenv','current_user') v_current_usr from dual+
MESSAGE('Current User: '||v_current_usr,ACKNOWLEDGE);+
exception+
when others then+
MESSAGE('ERR: '||SQLERRM,ACKNOWLEDGE);+
*>>Result: "User Connected: PROXY_USR"*
begin+
select sys_context('userenv','proxy_user') v_proxy_user from dual;+
MESSAGE('Current User: '||v_proxy_user,ACKNOWLEDGE);+
exception+
when others then+
MESSAGE('ERR: '||SQLERRM,ACKNOWLEDGE);+
*>>Result: "Proxy User: "*
OBS: when a connect via SQL*Plus, in a 11g database (Express), and run the commands above, the results are OK. The
APPUSER01 is returned.
Any ideas ?? I will open a SR in Metalink, but I think they will first request a database upgrade,
which is not feasible for us at the moment ...
Thanks in Advance.
FrancoUnfortunately besides trying on a certified combination (maybe use the Developer Database VM and import the required schemas for trial) and going through the documentation at http://docs.oracle.com/cd/E24269_01/doc.11120/e24477/sso.htm I can't offer more. I don't have a 10gR1 database anymore and also I don't have OID to play with.
cheers -
Hello,
We have recently deployed some Microsoft Surface Pro 3's in my office. All of them have Office 2013 Basic and work when in the office. However, a user is getting an error message on one of them when he uses the Surface Pro while traveling.
The errror message is: "There is a problem with the Proxy servers security certificate. The certificate is not from a trusted certifying authority. Outlook is not able to connect to the proxy server <server.companyname.com>.
(Error Code 8).
I have Googled and BING'd this all morning and am not making much progress. Items I have verified.
Date and time are correct on the device
User does NOT get this error when he is INSIDE the office.
After acknowledging the proxy error, the user receives two security alerts, stating there is a problem with the sites security certificate.
We have a valid certificate from GoDaddy on my Exchange 2010 server.
None of my Windows 7 users are receiving this error.
Thank you in advance for your time.Hinte
Below are the results you requests. Thank you.
[PS] D:\temp>Get-OutlookProvider
Name Server
CertPrincipalName TTL
EXCH
1
EXPR
1
WEB 1
Try running:
Set-OutlookProvider Exch msstd:<subjectnameofcert>
Set-OutlookProvider EXPR msstd:<subjectnameofcert>
I have seen issues where Outlook doesn't like this not being populated.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread -
ALSB [2.6] Asynchronous Proxies Coupled
Hi,
I'm trying to implement an asynchronous architecture using ALSB. There are 3 proxies: A, B & C.
Proxy A is invoked synchronously by Client and sends back and Acknowledgement. Proxy A routes to Proxy B which is a JMS Proxy. Proxy B routes to Proxy C which is also a JMS Proxy. Proxy C synchronously invokes Client in order to send back a Business Response to the Request sent by the Client to Proxy A.
I have seen that if either Proxy B or C are disabled, then the Client gets a SOAP fault back detailing the same.
Surely this is not the decoupling of Proxies A -> B and B -> C one would expect when a JMS destination lies between them?
Best regards,
Nial DarbeyIt sounds like the message is not actually going to JMS but rather straight to Proxy B. Try publishing to a Business Service to put the message in JMS instead.
-
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!
PeterHi 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 -
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
Maciejis 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. -
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,
SaurabhHI
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,
Mayankhi,
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 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,
DanielHi,
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,
RYAe 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
Maybe you are looking for
-
Hi I have set up iMessage and FaceTime and tried to set up for a friend but won't work? The apple ID is ok as downloading Apps but when I try to set up iMessage it won't go to the next stage as it says the EMail can't be verified? Either though we kn
-
Amount of free space incorrect mavericks
amt of free space not correct on new mbp 15 retina currently on desktop shows 988.08 gb which is correct but free space shows 1.1tb which is impossible disk utility shows correct amount 988.08 available 154.79 anyone else with this problem happened
-
Can I use bill of Material concept inn IS-Retail Please explain and what arethe issues we face if we implement BOM in IS-Retails since I never found Menu Path from IS-Retail than SD Please give your valuable feedback
-
VLC Plugin 2.1.3 crashes constantly
I have 4 streams on all the time in Mozilla Firefox. I'm using VLC to get stream from a couple of Raspberry Pis and it works fine for a while. Then VLC plugin stopsworking, I stop the plugin and refresh the website and boom, it works again for a whil
-
How do I remove & amp; from XML?
Hello, DB: 11.1.0.7.0 I am trying to use XMLAGG to concatenate multiple fields delimited by "|". However, if the fields have characters like "&" or "<" they are being transformed in the XML. How do I convert them back? SELECT rtrim (xmlagg (XMLELEMEN