Workflow Agents

Dart, Jocelyn jocelyn.dart at sap.com
Tue Dec 3 02:01:00 EST 2002


Hi Phil,
As mentioned in the book, there are some good WAPIs you can use - this is
usually simpler and better maintenance/upgrade/etc. wise than direct
read of tables.
 
For instance you could use function module SAP_WAPI_WORKITEMS_TO_OBJECT
to find all workflows/tasks related to the sales orders.
Function module SAP_WAPI_WORKITEM_RECIPIENTS to get the agents of the work item,
SAP_WAPI_READ_CONTAINER to get the container details (which will hopefully hold
the decision), and SAP_WAPI_GET_HEADER to get the date/time details of the particular
work item.
 
Regards,
        Jocelyn Dart
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"
SAP Australia
email: jocelyn.dart at sap.com
phone: +61 412 390 267
fax:   +61 2 9935 4880
 
 
 
 
-----Original Message-----
From: Breslavets, Sergey [mailto:Sergey.Breslavets at anheuser-busch.com]
Sent: Tuesday, 3 December 2002 9:50 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Workflow Agents
 
 
Paul, you can use SWI1. Enter your approval task id, date/time interval and
workitem status (e.g. COMPLETED) and execute it... You can also modify the
layout of the subsequent screen to show the exact data you need for your report.
 
If you want to create you own abap report, you can use tables SWWWIHEAD and
SWWLOGHIST to retrieve workitems history. Use your approval task id to select
data.
 
Hope this helps,
Sergey
 
 
-----Original Message-----
From: Czerwiec, Phil [mailto:Phil.Czerwiec at andrew.com]
Sent: Monday, December 02, 2002 4:12 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Workflow Agents
 
 
We have a number of workflows that using a decision to approve or reject a sales
orders.  The workflows work fine.  However, management would like an audit
report for these particular orders.  Basically management would like the
approvers names, date and time of the decision.  Where is this information
stored?  How can I retrieve it based on sales order only.
 
Thanks,
 
 
Phil Czerwiec
Andrew Corporation
--------------------------------------------------------------------------------
----------------
This message is for the designated recipient only and may
contain privileged, proprietary, or otherwise private information.
If you have received it in error, please notify the sender
immediately and delete the original.  Any unauthorized use of
this email is prohibited.
--------------------------------------------------------------------------------
----------------
 


More information about the SAP-WUG mailing list