Skip to Content
Technical Articles
Author's profile photo arghadip kar

How to Debug a Background SAP Workflow Method?

Introduction

Every SAP Customer that uses SAP ERP always use theĀ  SAP Workflow Capability. One issue every ABAPER who wants to know about SAP Workflow has is how to DEBUG a SAP Workflow Method. We always try to debug using the Business Object Method or the ABAP Class after emulating what the SAP Workflow is passing in the SAP Workflow Container. With this blog we do not have to do all those Painful steps.

Solution

First Pick one Workflow Method that is executed in Background and pick the Respective Method that is getting called and put the External Debug Point as mentioned below.

Now go To Transaction Code SE84

Go to Utilities->Settings

For SAP S/4HANA put the User id as SAP_WFRT and for SAP ECC provide WF-BATCH

Now go to the Workflow Log and Execute a step that will trigger the Background method

 

After executing the Dialog Task the Debugger stops Wala.

 

Conclusion

This can be used in SAP S/4HANA

 

Below is the Video Version

SAP Workflow Debug

 

 

Also check below

 

 

 

 

Assigned tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.