on 05-30-2016 7:48 AM
we are working in interface:
SAP-->Client Proxy-->PI-->nonSapAppl.
We are trying to trigger messages EOIO Quality of service from SAP ECC.
as per the blog. Guaranteeing Exactly Once In Order - SAP NetWeaver Process Integration - SAP Library
we have used following code. but it is triggering the messages in EO and not in EOIO.
TRY.
CREATE OBJECT gr_consumer_proxy.
create OBJECT lo_adsave.
gr_proto_async ?=
gr_consumer_proxy->get_protocol( if_wsprotocol=>async_messaging ).
gr_proto_async->set_serialization_context( 'TEST_EOIO' ).
CALL METHOD lo_adsave->si_isp_adprodorder_save_oa
EXPORTING
OUTPUT = ls_proxy
.
COMMIT WORK.
CATCH CX_AI_SYSTEM_FAULT INTO ex_ref.
msg_text = ex_ref->get_text( ).
ENDTRY.
in ecc sxmb_moni, it is showing as:
<SAP:QualityOfService>ExactlyOnce</SAP:QualityOfService>
How can we ensure in SAP ECC sxmb_moni.
Madhu_1980.
Hi Madhu!
Please check your code: you set serialization context for gr_consumer_proxy and then call method of lo_adsave.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhu,
If you use above example from sap help it will work, you can use below code.
data: queueid type sxmsqidapp.
queueid = 'Madhu_1980'.
create object lr_proxy.
lo_proxy_async_messaging ?= lr_proxy->get_protocol( if_wsprotocol=>async_messaging ).
lo_proxy_async_messaging->set_serialization_context( queueid ).
ld_output-saperpend_of_processing = is_outbound.
lr_proxy->saperpend_of_processing( exporting output = ld_output ).
commit work.
Regards,
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.