Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to know a workflow name given the class name

siongchao_ng
Contributor
0 Kudos
1,127

Hi,

I have a webdynpro program that will trigger a workflow (name unknown here) which is link to a class where the abap codes is placed inside the class methods.

webdynpro -> workflow -> class-method.

Question: I know the class name. How to find the workflow given the class name?

Anyone knows?

1 ACCEPTED SOLUTION

vinita_kasliwal
Active Contributor
0 Kudos
293

Hi Siong

If the workflow is triggered you should see an entry for it in SWIA?

From there you should get the workflow and Task ID details

swia.png

Regards

Vinita

4 REPLIES 4

Sandra_Rossi
Active Contributor
0 Kudos
293

Do you mean you are looking for the workflow activities which refer to standard tasks which call a method of the given class? If so, the names of the method and the class are stored in the table HRS1201, and the column OBJID contains the number of the standard task. And from the standard task(s) you may find the workflows as usual.

siongchao_ng
Contributor
0 Kudos
293

Hi Rossi,

It is custom class.

I have a custom webdynpro program ZTDWDC0001 which will trigger this workflow ( I am trying to find out here ). This custom workflow diagram will have many events that will trigger this custom class ZCL_TENDER_EVALUATION which contains many methods in it.

So anyone have any idea how to find what is the workflow that triggers all these ZCL_TENDER_EVALUATION methods?

vinita_kasliwal
Active Contributor
0 Kudos
294

Hi Siong

If the workflow is triggered you should see an entry for it in SWIA?

From there you should get the workflow and Task ID details

swia.png

Regards

Vinita

0 Kudos
293

Hi Vinita,

Based on the informations inside SWIA, which values can lead me to the workflow diagram in SWDD?