‎2009 Oct 26 3:01 PM
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.
‎2009 Oct 26 10:12 PM
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
‎2009 Oct 26 5:27 PM
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
‎2009 Oct 26 9:54 PM
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.
‎2009 Oct 26 10:12 PM
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
‎2009 Oct 27 10:30 AM
Hi!
Thanks again for your help.
Guess I'm gonna have no other choice than writing my own FM.
Regards,
C.
‎2009 Nov 26 9:58 AM
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.