cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with synchrounous message processing

Former Member
0 Kudos

Hi all,

We have a scenario where we write data to an R/3 table using Proxy. We have a Synchronous Inbound Message Interface created for the same.

Now once the table in R/3 is updated, we are sending a status message back to XI and as per our understanding that should be ideally received by the same Synchrounous Message Interface (a Message type for that has been specified in output message) that we use to send the data to R/3. But it is not happening.

We are not able to view the status message that we are sending back to XI. It also doesnot return any error in the SXMB_MONI transaction.

Is there any design or configuration part that we are missing here? Any suggestions would be helpful.

Best Regards,

Ram.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ram,

Please can you check in the SXMB_MONI of the SAP system where the Proxy is trigerred if the strucutre is getting create there properly.

Also, are you updating the structure that is returing back.

Have you used commit work after updation.

Regards

Vijaya

Former Member
0 Kudos

Hi Vijaya Kumari,

Answers for your questions are:

The structure (I guess you meant the R/3 table) is getting updated succesfully.

Are you updating the structure that is returing back - YES

Have you used commit work after updation - YES

Best Regards,

Ram.

Former Member
0 Kudos

Hiiii,

Since the sender is waiting for a response just check whether the sender interface is also synchronous.

regards

jithesh

Former Member
0 Kudos

Hi,

When we create a Synchronous Inbound Interface as a Sender, Will the same interface act as a Receiver when it receives the Status back?

former_member187339
Active Contributor
0 Kudos

Hi,

The interface towards R/3 should be a synchronous interface with input message type as the structure needed by the R/3 and the output as the structure given back from proxy. Hope you have done this. Now since you are getting response back, where you want to display the output?

A <-> XI <->R/3

What is <b>A</b> here?

Regards

Suraj

Former Member
0 Kudos

Hi Suraj,

Yes, The interface is designed correctly as you have mentioned. I would like to write the response message to a log file.

Regards,

Ram.

former_member187339
Active Contributor
0 Kudos

Hi,

So your sender (<b>A</b>) is some other system and you want the response to be written to alog file (which is another system).So you have to use BPM, with steps.

1) Receive (from A)

2) Transform (if any)

3) Sync send (call proxy)

4) Transform (if any)

5) Send (to log file)

Regards

Suraj

Former Member
0 Kudos

Hi,

Thanks for the suggestion Suraj, But our question is where to view the response that we are sending back to XI? Is there a transaction to view the response? We tried in SXMB_MONI in both XI and R/3, but we are unable to view the response.

Regards,

Ram.

former_member187339
Active Contributor
0 Kudos

Hi,

1) Go to Runtime workbench and view messages under message monitoring.

2) And in Moni you are not getting an entry because your's is a synchronous interface. You can set the parameter, refer this http://help.sap.com/saphelp_nw04/helpdata/en/d6/49543b1e49bc1fe10000000a114084/frameset.htm

Regards

Suraj

Message was edited by: S.R.Suraj

Former Member
0 Kudos

Hi Suraj,

We are not sure about the concept that, If we use synchronous interface we dont get an entry in MONI. We get an entry for the message that we are sending. we are not getting an entry only for the response we are triggering in the proxy.

Also could you please resend the link. we are not able to open the link that you had sent for setting the parameter.

Regards,

Ram.

Former Member
0 Kudos

Hi Ram,

Check TCODE: SXMB_MONI and SMQ1 in ur R/3 system. Since, u r using proxy to send a response, the message should be created in monitor of R/3 system. Also, chek for Outbound queues in SMQ1.

Regards,

Akshay

P.S. Please award points for helpful answers

Former Member
0 Kudos

Hi Suraj,

That was a very helpful link. I was able to open the link.

But the issue still persists. We are not able to view the reponse.

Regards,

Ram.

Former Member
0 Kudos

Hi Ram

Even i had faced the same problem.

First make sure that in your communication channel since you are using synchronous communication the quality of service you need to select is Best Effort.

The outbound as well as inbound message interface needs to be Outbound & Synchronous.

After that if you cant see the message then go to

SXMB_ADM and add a entry out there..

select category as RUNTIME..Parameters as LOGGING_SYNC and value as 1.

thtz it ..

Reward points if tht helped u.

Cheers

Sumit

Former Member
0 Kudos

Hi Sumit,

That helped in solving the issue. Thanks a lot.

Best Regards,

Ram.

Answers (0)