on 10-14-2009 7:10 AM
Hi All,
I have a requirement where I have to develop a Outbound Asynch Proxy-> XI -> File scenario.
For this I have crated an Outbound Asynch proxy and called this proxy from a report in ABAP.
When I execute the report, i am unable to see the message in XI Moni.
But when I try to emulate the same scenario by passing a message from the RWB Test Page, the message is flowing to the file successfully.
It seems that the problem is just that the ABAP report is unable to call the XI by executing the outbound proxy method.
The code for the report is as below:
*&---------------------------------------------------------------------*
*& Report Z_ASYNCH_PROXY
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT Z_ASYNCH_PROXY.
data prxy type ref to ZFUJCO_SI_TEL_NUM_RFC_RESP_ASY.
data out type ZFUJMT_TEL_NUM.
out-MT_TEL_NUM-TEL_NUM = 'test_proxy'.
create object prxy .
TRY.
CALL METHOD prxy->si_tel_num_asych_in
EXPORTING
output = out
.
commit work.
CATCH cx_ai_system_fault .
DATA fault TYPE REF TO cx_ai_system_fault .
CREATE OBJECT fault.
WRITE 😕 fault->errortext.
ENDTRY.
Please tel me how to find out that where the message is getting stuck and resove this.
regards,
Piyush
Hi,
First check from SPROXY transaction whether you are able to trigger your proxy successfully. If not then the connectivity for proxy is not correct between XI and ECC.
In SPROXY, select you sender message interface -- click on execute button -- give test payload ( can be obtained from xi message mapping test ). Now check if this test goest through successfully in XI.
Hope this helps.
Regards,
Siddhesh S.Tawate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
I just found out that the message was getting stuck in the queue XBTS0009.
So I excuted the tx SXMB_ADM -> Manage queues and the activated the queue XBT*.
After this I am getting the following error in the SXMB_MONI of the ECC System:
HTTP response contains status code 401 with the description Unauthorized Authorization error while sending by HTTP (error code: 401, error text: Unauthorized
please check.
regards,
Piyush
Hi All,
Thanks a lot for ur inputs.
i was able to resolve it.
The pointers are:
- The message was gettting stuck in the queues XBTS0009 of the Bus system. I chekced it in SXMB_MONI of bus syst.
- i activated the queues usung SXMB_ADM -> manage queues
- The HTTP destinatin was not maintained for the connectino to the PI Url. In fact the url was hardcoded in the sicf -> xi-> engine
I maintained this using
Thanks for all your help.
regards,
Piyush
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.