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

How to Display Workflow Log or Start Workflow in Custom Report in SAP in one click?

Introduction

After working with SAP for more than 15 years and travelling across the Globe for SAP Projects one requirement I always use to get is Build me a Report that will show all the Workflow Related information and also show me the Workflow Log. This blog will make your life easier as well as the Customers as they will have to click Less. This blog will save you at least 3 clicks per document which is equivalent to 3 less chances of making Mistakes.

Current Process for Display Workflow Overview or Log Auditors Heaven and one of the Success Reason of SAP Workflow.

In this scenario we want to Display Workflow Log of Purchase Order. We can build a Hotspot which will take us to ME23N Transaction Code and then we hit the below option which is 3 Clicks.

Here is the Workflow Overview

Solution

Use Function Module GOS_EXECUTE_SERVICE by Going to Tcode SE37 and HIT Execute

 

Now enter value as mentioned below

IP_SERVICE = WF_OVERVIEW
IS_OBJECT = 4500000403 BUS2012
IP_NO_COMMIT =X
IP_POPUP = X
IP_RWMOD = D
IT_SERVICE_SELECTION 0 Entries
IP_VSI_PROFILE

Special Mention of IS_OBJECT

 

Now Execute Wala we get the Pop Up.

 

Current Process for Start Workflow from ME23N.

In this scenario we want to Start Workflow  of Purchase Order. We can build a Hotspot which will take us to ME23N Transaction Code and then we hit the below option which is 3 Clicks.

 

 

 

Solution

Use Function Module GOS_EXECUTE_SERVICE by Going to Tcode SE37 and HIT Execute

Provide the below parameters.

Special Mention of IS_OBJECT

 

 

Wala now we get the Pop up to Start Workflow

 

Conclusion

You can use this for both SAP ECC and SAP S/4HANA

 

Here is the Video version

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo MelissaM Dorn
      MelissaM Dorn

      I have been looking for such information for a long time. And you explained everything in a very accessible and understandable way

      Author's profile photo Ronen Weisz
      Ronen Weisz

      Very nice, you have saved the user 2 clicks.

      Here is an idea:

      Why not save the user another click and start the workflow immediately by raising an event?

      Author's profile photo arghadip kar
      arghadip kar
      Blog Post Author

      Good idea for Start Workflow 🙂