cancel
Showing results for 
Search instead for 
Did you mean: 

How to troubleshoot Bdocs that are in a hanged state in SMW01

Former Member
0 Kudos

Hello,

Some of my outgoind Bdocs (BUPA_MAIN) are in yellow status and the Bdoc state description says "Sent to receivers (not all have responded)". How do i troubleshoot this.

Nothing is visible in SMQ1/Q2 in ECC or CRM. Also I could not find anything in SMW01, ST22 or SLG1.

Can someone suggest how to troubleshoot such a Bdoc.

Thanks

Rgds

Priyanka

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Priyanka,

have you checked ST22 in ECC too ? My suggestion is to deregistrate your Inbound- (SMQR) and Outbound-Queues (SMQS) in CRM und ECC and debug your processes. So you will see what happens and where your process ends.

Regards, André

Former Member
0 Kudos

I have checked ST22 in ECC as well. Interesting part is that there are 5 pararrel processes allowed as set in table SMOFPARSFA and there are no requests running in r3am1 or r3ar3, but still these Bdocs are stuck..

Is there any other way of checking the adapter or queues.. I mean they cant just be lost somewhere.

I haven't tried debugging though. Let me try that but I find that a little cumbersome thing to do. I would be glad if u can give me some tips on quick n easy debugging of queues.

Rgds

Priyanka

Former Member
0 Kudos

If you give me your email, I can send you this Bdoc analysis document.

Former Member
0 Kudos

Hi Priyanka,

an easy way to debug is to look in CRMC_BUT_CALL_FU (CRM) for the object BUPA. There you will find every registrated function for inbound- and outbound-processing for your business partners. So you can use this functions to set there breakpoints while you are debugging.

For example: before you save a business partner in CRM enter "/h" for debugging and save your changes. Then set a breakpoint for the outbound functions (i.e. BUPA_MWX_BDOC_BPS_FILL_CENTRAL). So you are in the process to fill the bdoc.

If you wan to debug your process in ECC you have to deregistrate your outbound queue. Save your changes and look at SMQ1 and step into debug mode. In ECC you will have the table COM_BUPA_CALL_FU for the registrated function moduls. So take the first one of the inbound processing for the object BUPA (i.e. COM_BUPA_MWX_MAP_MAIN_CENTRAL) and set a breakpoint.

I hope it will help you.

Kind regards, André

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi, u can do the following:

1. First identify the BP nos. for the BDocs which are stuck.

2. Make some changes in the BP master for those BPs (changes should be such that the data is consistent for flowing to R3).

3. Check SMW01 and u will see that new Bdocs are generated and they should have flown successfully.

reward with points if this helps