cancel
Showing results for 
Search instead for 
Did you mean: 

Outbound Proxy -> XI -> File scenario. Outbnd proxy not callin XI.

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Siddhesh ,

I had tried doing it, but it also send no message to XI Moni.

FYI:

- While executing the Interface, i have selected the "Local Interface Call" option.

- It gave me the following warning message:

"Method is not part of the interface to be called"

regards,

Piyush

Former Member
0 Kudos

Hi,

Try to regenerate the proxy and activate it. Then try again testing through SPROXY itself.

Also in SPROXY you will find a zig zag arrow which is for connection test. There perform all the test to check if results are ok.

Hope this helps.

Regards,

Siddhesh S.Tawate

Former Member
0 Kudos

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

former_member1275317
Participant
0 Kudos

Hi Piyush,

Please check the RFC connection between ECC and PI system.

Regards,

Sandeep

Former Member
0 Kudos

Hi,

Please check if the user used in RFC connection has sufficient authorizations.

Hope this helps.

Regards,

Siddhesh S.Tawate

Former Member
0 Kudos

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

http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID1803326050DB10288658103888810737End...

Thanks for all your help.

regards,

Piyush

Answers (0)