cancel
Showing results for 
Search instead for 
Did you mean: 

Determination of the BOR object dynamically

Former Member
0 Kudos

Dear All,

Is there any FM or any other method by which we can find out the BOR object being used in a step of a workflow. Is there any table for this ?This needs to be done programatically .

Thanks & Regards,

Geet Bijlani

Accepted Solutions (1)

Accepted Solutions (1)

saumya_govil
Active Contributor
0 Kudos

Hi Geet,

You can query the database table SWWORGTASK which stores assignment of Workflow item to Org.Units and Tasks (standard tasks etc.). From these tasks you can get to know the BO method associated to the workitem.

Also table SWDSTASKS can be of useful.

Hope this helps!

Regards,

Saumya

Answers (2)

Answers (2)

bpawanchand
Active Contributor
0 Kudos

Use the FM

SWY_READ_TASK_CONTAINER

  • Pass the Task NUmber to this FM (TS......)

  • In CONTAINER_DEFINITION Parameter check the element WIOBJECT_ID this will return you the BO name

former_member193382
Active Contributor
0 Kudos

Hi,

Your requirements are not clear. Can you brief a little more?

Regards,

Raj