Application Development and Automation 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: 
Read only

BAPI or function for FB03 workflow overview

Former Member
0 Likes
1,412

Hi community.

First of all, I'm not pretty sure if that's the right section, so sorry if not... >_<

Regarding my issue, I'm looking for a BAPI (if it exists) to get the same data as menu > Workflow >workflow overview in FB03 transaction. If a Bapi does not exists, is there any other way to get this data?

Thanks a lot for any help you can provide.

Regards,

C.

1 ACCEPTED SOLUTION
Read only

chaiphon
Contributor
0 Likes
1,124

According to my knowledge, there was no bapi for that. Selecting data directly from the table probably be faster but not re-useable. Sorry for that. Hope someone reply with better answer.

Good luck

5 REPLIES 5
Read only

chaiphon
Contributor
0 Likes
1,124

Hi Chirstina,

The menu that you describe is to selected the workflow that associate with the obejct. It will select data from these 2 tables:

SWIWIOBJCT

SWW_WI2OBJ

and then it will select other workflow tables regarrding from what they are getting from these two taables.

Can you explain more why you need these data? you want to trigger a workflow?

Cheers,

Chaiphon

Read only

Former Member
0 Likes
1,124

Hi Chaiphon.

Thanks for your answer.

I'm interested on getting the workflow's history (with all the agents, the tasks and so on).

Using a trace with st05, I checked the tables where I can get the data, but I was hoping that there was an existing function or BAPI that can do this... Or part of it. So that I won't have to do specific development for this (I'm trying to use as many standard functions as possible).

Hope this helps.

Regards,

C.

Read only

chaiphon
Contributor
0 Likes
1,125

According to my knowledge, there was no bapi for that. Selecting data directly from the table probably be faster but not re-useable. Sorry for that. Hope someone reply with better answer.

Good luck

Read only

Former Member
0 Likes
1,124

Hi!

Thanks again for your help.

Guess I'm gonna have no other choice than writing my own FM.

Regards,

C.

Read only

Former Member
0 Likes
1,124

Hi!

In the end, I did my own FM.

I'm using table SWIWIOBJCT to get all workitems related to a given invoice.

And I'm then using function SWW_WI_FIND_DEPENDANT_WIS to get the details of each workitem.

Thanks for your help 😃

Regards.

C.