Skip to Content
Author's profile photo Former Member

Determine Business object associated with a Tcode

swo1.JPG

The first thing a Workflow Consultant needs to know while developing a Workflow is whether a Standard Business object is available. You can get that from SWO1 using the Business Object Repository but this sometimes takes time and we get lost.

One thing we know is from which Tcode the workflow needs to be triggered. It would be good to get something directly from the Tcode. Here is the solution.

Go to SE24 enter Class

CL_WF_SRV_OVERVIEW

se24.JPG

Double click on Method Execute and put a breakpoint in the following line.

debug.JPG

Now lets go to ME23n and try to go to Workflow overview of a PO. I am assuming I do not know the BO associated with it.

workflow overview.png

Debugger stops and here is the Business object and trust me this should work for all. This is useful where we are not sure about the Business object associated with the tcode.

debugger.JPG

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Ronen Weisz
      Ronen Weisz

      No need for all of this - If you want to know the object linked to the Tcode - goto the GOS - global object services - select workflow - archived workflows and you will see the object...