cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging wf-batch

Former Member
0 Kudos

Hi guys,

After approving SC, wf-batch creates PO automatically. How I can debug wf-batch?

Accepted Solutions (1)

Accepted Solutions (1)

former_member206968
Active Contributor
0 Kudos

Hi ,

You will not be able to debug SC after approval. A better approach would be to put the SC on hold and run FM- bbp_reqreq_transfer in debugging mode.

Regards,

Sanjeev

Answers (4)

Answers (4)

Former Member
0 Kudos

For which user have I set breakpoint in the desired FM?

Former Member
0 Kudos

The PO is creating. My problem is to check how the table bbp_pdpset is filled. In TX ST05 I can see that there is a insert of the data in table bbp_pdpset in FM ''. But if put break point in this FM, the program doesn't stop there.

imthiaz_ahmed
Active Contributor
0 Kudos

Instead of putting a break point in the FM, run the FM bbp_reqreq_transfer in debugging mode and in the settings turn on the system debugging and then use set break point at and create a break point in the desired FM.

Regards, IA

Former Member
0 Kudos

Hi ,

I have ran FM-bbp_reqreq_transfer in debugging for the SC on hold, but PO wasn't created. And also there were not any error messages.

Former Member
0 Kudos

I dont think PO will be created when the SC is kept on hold.

Try ordering the SC and see if the debugging you have kept stops or not ?

Regards,

PR.

former_member206968
Active Contributor
0 Kudos

Hi,

Put a breakpoint in class cl_bbp_sc_transfer, method create_local_po. This method is used for PO creation. Just check if you are able to hit this point. The you can check the error messages if any coming out of PO creation.

Regards,

Sanjeev

saumya_govil
Active Contributor
0 Kudos

Hi Evgeny,

I am not sure what exactly you ment by debugginf wf-batch.

But for general workflow debugging tips please refer the below link:

http://www.sap-img.com/workflow/workflow-debugging.htm

Hope this helps!

Regards,

Saumya