Changing workflow container value

Dart, Jocelyn jocelyn.dart at sap.com
Thu Aug 1 19:23:25 EDT 2002


Hi Kevin,
 
The idea with CREATEVIEWS is to first call the method GETMISSEDVIEWS which builds
the VIEWLISTLINE entries as object references to object MOFF.   The missed views
are then used to create the new views in method CREATEVIEWS. If VIEWLISTLINE is
empty the method goes and gets all the missed views from database table MOFF anyway.
 
So I guess what you are saying is that you only want to create the missed views
for a particular maintenancestatus and plant?
 
So your best bet is probably to:
1. Call GETMISSEDVIEWS
2. Filter out all the entries that don't apply to your maintenance status and plant.
You'll probably need to create your own method to do this. (There are other ways
but a custom method might be simplest).
3. Call CREATEVIEWS with the filtered list.
 
Alternatively you could create your own custom method equivalent of GETMISSEDVIEWS
that only retrieves MOFF entries for the maintenancestatus and plant input.
 
I think either way you are going to need to do some coding. If you don't feel
confident doing that you might need to call in a more experienced workflow
developer or SAP workflow consultant to help.
 
Regards,
        Jocelyn Dart
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"
Order it from the following great online bookstores:
http://www.barnesandnoble.com
http://www.amazon.de
http://www.sap-press.de/english
SAP Australia
 jocelyn.dart at sap.com
 +61 412 390 267
 +61 2 9935 4880
 
 
 
 
 
 
 
 
 
-----Original Message-----
From: Kevin [mailto:kjw1969 at yahoo.com]
Sent: Friday, 2 August 2002 5:59 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Changing workflow container value
 
 
 We are using object BUS1001006 (Standard Material) with standard method (CREATEVIEWS).
The workflow has an element in the container called VIEWLISTLINE which is of type MOFF (outstanding views).
I need to set the values MAINTENANCESTATUS and PLANT to a constant value. They're a part of the VIEWLISTLINE structure. What's the best way to do this?
 
 
 
---------------------------------
Do You Yahoo!?
Yahoo! Health - Feel better, live better
 


More information about the SAP-WUG mailing list