Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Proxy XML message Reprocessing

anup_deshmukh4
Active Contributor
0 Likes
2,864

Hello Experts,

My problem is as follows

1. I get a pay load from PI ( I have written code in the method o post data in ECC say a Purchase requisiton using bapi )

2. If the BAPI fails then i raise a zee exception ( the message is manually restartable )

My problem is that my queue stuck up if i raise a exception what should be the possible solution for the same so as to achive follow thing ,.

1. if my bapi Throws error the xml message should be manually restartable

2. if I raise a exception the queue should not stuck up.

Or any other turnaround welcomed...!

Thanks and regards,

3 REPLIES 3
Read only

Former Member
0 Likes
1,252

Hello Anup,

Whenever a proxy interface runs its processing status gets logged in SXMB_MONI tcode so if your processing is not

successful you can restart it again manually in SXMB_MONI.

In case of raising a error message in my previous experience we had created one acknowledgement proxy for

inbound interfaces so if there is any error message we would call this proxy so the caller system gets notified of the processing status and then for unsuccessful messages we had stored the incoming record in z table and then build a reprocessing solution to run the message again.

Thanks,

Pawan

Read only

0 Likes
1,252

Hello @pawan ,

How do you make the xml message manually restartable ,

I am making it by raising a CX_AI_APPLICATION fault.

but My drawback is that When i Raise the exception and if the Quality of service of message is EOIO and in the queue my First message throws a exception my queue stops .

I just wan't to know will my provider class method in which i have written code to post the data will have a Exception as a parameter or not ? so that it will be caught and my queue won't stuck up and still my message will be manually restartable.

Still Waiting for comments experts ..!

Read only

anup_deshmukh4
Active Contributor
0 Likes
1,252

Self answered