on 12-17-2008 7:07 AM
Hi gurus,
I'm designing a scenario for R3 - XI - non-SAP systems using Proxy & Soap adapters(WS).
I would like to know about the acknowledgement options and how to configure them.
Any links & info provided will be very much appreciated and rewarded.
Thank you.
Regards,
S. Gokhan TOPCU
You can programmatically request acknowledgement in async mode (no need for sync mode as in that case, you are waiting for response). Try the code below;
create proxy client
CREATE OBJECT lo_clientProxy.
get protocol for asynchronous messaging
lo_async_messaging ?=
lo_clientProxy->get_protocol( if_wsprotocol=>async_messaging ).
Ask for transport acknowledgment
clear l_ack_request.
l_ack_request =
IF_WSPROTOCOL_ASYNC_MESSAGING=>CO_TRANSPORT_ACKNOWLEDGMENT.
lo_async_messaging->set_acknowledgment_requested( l_ack_request ).
To evaluate the acknowledgement:
lo_ack = cl_proxy_access=>get_acknowledgment( l_msg_id ).
l_ack_status_simple = lo_ack->get_status( ).
l_ack_status_detail = lo_ack->get_status_detail( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Both source and target system support synchronous behaviour. You may directly configure sync scenario too. Where exactly do you want the ack?
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
For syncronous proxy we will get the acknowledgement back from proxy. use fault message type for rising exceptions.
For Asyn proxy we won't get acknowledgement back in SXI_monitor in xi. u can monitor the Application errors rised from proxy in RWB -> message monitoring . their select ur proxy bussiness system and monitor. u can rise alert in xi by calling RFC SALRT_CREATE_API from ur proxy code.
u can monitor all Application error in SXI_monitor in ur Application System(R3)
for ack check following link
http://help.sap.com/saphelp_nw04/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm
Regards
Pradeep P N
Edited by: Pradeep P N on Dec 17, 2008 10:22 AM
Hi Pradeep,
"For Asyn proxy we won't get acknowledgement back in SXI_monitor in xi"
Actually, you can see both system & application errors in SXMB_MONI. Considering for async processing, fault message body is replicated in SXMB_MONI of XI & R3 systems to show as the message error.
Let's say I have set up an async scenario for Soap -> XI -> Proxy, and the sender requested system acknowledgement. How would I trigger an alert in XI if proxy does not return the ack. to the sender in a specified amount of time? I know we can send acknowledgements explicitly within BPM, but I don't think it's possible to use a receive step within a deadline block to wait only for the acknowledgement.
Please guide me on the issue.
Regards,
Gokhan
Hi Gokhan,
I am working in some proxy scenarios, here for Async scenarios i can monitor the application error and system error from R3 in sxi_monitor in R3 only. i can't view the same in XI sxi_monitor. Since XI adapter is not a part of adapter engine, i think it won't come back to XI. Please correct me if iam wrong.
for Sync i am getting error message back in XI
Regards
Pradeep P N
It has been a while since I tried acks and fault messages in XI, but I think I remember displaying the async fault messages in XI system also as well. XI adapter actually runs on Adapter Engine, only IDoc and HTTP adapters run on the Integration Server so it shouldn't be the case. Anyways, thank for your input and help.
Kind regards,
S. Gökhan TOPÇ
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.