cancel
Showing results for 
Search instead for 
Did you mean: 

proxy object

Former Member
0 Kudos

Hi,

I prepared synchronous message in XI system.

And I execute SPROXY transaction in R/3 system.

I prepared proxy object and I used this object in

Abap program.Pogram operated properly and sent message to XI system.

In asynchronous message. Abap program executes normaly but no message goes to XI system. And there is no error report.

How can I manage asynchronous message proxy in abap program.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

1. what do you see in <b>SXMB_MONI</b>

on your R3 system ?

do you see any erorr?

2. did you set your r3 as an <b>Application system</b>

in SXMB_ADM - integration server configuration ?

Regards,

michal

Former Member
0 Kudos

1- in R/3 sxmb_moni:

queue status = "message waiting in queue"

Why?

2- in XI SXMB_ADM, how can I set my R3 as an Application system?But other messages form r3 to XI works properly.

Regards,

cemil

udo_martens
Active Contributor
0 Kudos

Hi Cemil,

did u put the

Commit Work.

statement behind the proxy call?

Regards,

Udo

Former Member
0 Kudos

Hi Michal,

I found that, if I manualy unlock the queue in R3 system, message goes to XI system.

The queue is locked?

How can I make queue auto-unlock?

Thanks

Former Member
0 Kudos

my code is:

report z_xi_bookdoc.

data:

lo_clientproxy type ref to zco_mi_tarih,

ls_request type zmt_tarih,

syst_ex type ref to cx_ai_system_fault,

appl_ex type ref to cx_ai_application_fault.

create object lo_clientproxy.

ls_request-mt_tarih-tarih = '20060801'.

try.

call method lo_clientproxy->execute_asynchronous

exporting

output = ls_request.

commit work.

catch cx_ai_system_fault into syst_ex.

if syst_ex->errortext ne space.

endif.

endtry.

I found that the queue is locked in R3 system.

If I unlock the queue manually, message goes to XI system.

Former Member
0 Kudos

Hi Cemil,

Just see if this Blog helps you...

/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically

Regards,

Abhy

udo_martens
Active Contributor
0 Kudos

Hi Cemil,

may be its deregistered. You can register in SMQR. But i assume it is blocked by an failed message. You can configure the retry intervall as well in SMQR. But if you delete the failed message, everything should work well

Regards,

Udo

Answers (1)

Answers (1)

Former Member
0 Kudos

Later I solved it