cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

can we debug a queue?

sap_beginner98
Explorer
0 Likes
2,257

Hi all,

Can we able to debug an outbound queue in crm or in any other systems?

if yes, please provide me the steps to debug an outbound queue.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

michael_piesche
Active Contributor
0 Likes

Yes you are. As a pre-requirement though, you need to be able to debug and be able to debug the user the coding is processed with. There are these two possibilities:

A) Do you know the coding it runs through and you want to analyse as well as the User that is being used?
Set an external breakpoint for that user in the coding.

If you dont know the specific coding, but you want to find out more by debugging through the 'entire' process that is called from that outbound queue, follow step B)

B) Stop the Outbound Queue and debug the queue when it has been created

  1. Stop the Outbound Queue with trx. SMQS by "Deregistration" of the appropriate "Destination". If you dont know the "Destination", deregistrate all destinations.
    Important: Registrate all destinations once you have started your debugging session, especially in production, otherwise all outbound processes are stopped which can lead to problems. You might have to manually start start other stopped outbound queues as well.

  2. Select the appropriate queue in SMQ1 and debug it with the "Debug LUW" symbol
    Debugging a process that you dont know anything about can be very overwhelming, especially when the process also calls other systems. Take your time. Come back with further questions when you cannot figure out where to look at.