cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate messages in Proxy

Former Member
0 Kudos

Hi,

I have a proxy to file scenario.

When the program is run in foreground, it just works fine with one message in sxmb_moni.

But when it is scheduled in background, it creates two messages one with payload and another without payload.

There is some time difference also in running. The one without payload is getting executed first.

Am using try and catch code in my program where commit work is given for the proxy.

Can anyone share some light why it is happening.

Edited by: Krish on Mar 13, 2009 10:43 AM

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Hi Krish,

Check how many times the program gets executed in SM37 transaction.

May be the program has some code that makes it behave differently if run in background.

Regards,

Ravi Kanth Talagana

Answers (2)

Answers (2)

Former Member
0 Kudos

The End of selection was triggered twice in the program due to some write statement.

Former Member
0 Kudos

Just put the empty structure checking code before call the proxy class in your ABAP code.