Hide approver steps from EBP workflow

Dart, Jocelyn jocelyn.dart at sap.com
Thu Jun 17 20:41:08 EDT 2004


Hi Simon,
Well firstly - TEN STEPS!!!! - my goodness!
Secondly, when you next upgrade suggest you switch to the BADI workflow which will
take care of this.
Thirdly, to manipulate it in the way you want is possible but requires modification of BBP_PDH_WFL_PARAM_APPLET_FILL.
Hence the introduction of the BADI workflow in SRM 3.0 (EBP 4.0).
Jocelyn
 
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of Simon Daehnhardt
Sent: Friday,18 June 2004 12:05 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Hide approver steps from EBP workflow
 
 
Hi WUG,
we have defined a ten step shopping cart approval workflow in EBP 3.5. But
of course for any of our workflow instance only some of these steps have
to be taken. Now we'd like to hide the empty steps from the approval
preview. On recommendation of SAP we first switched the setting in the
approval steps from "In workflow log" to "Not in log if condition
'Terminate work item' is true". This works fine as long as the workflow
instance is still running but gives a misleading picture after the
workflow is finished: You would see no approval steps at all and always
"Result: Approved" even if teh sc was rejected.
What we discovered is that the approval preview is realized by a Java
applet "visnet.jar". This applet seems to take the workflow log as input
(function module BBP_PDH_WFL_PARAM_APPLET_FILL, which in turn calls
SWD_API_WORKFLOW_GRAPHIC_GET). When playing around with the  data we saw
that the way the log data result in a graphical preview can be influenced
by changing the node type and the approval state. So there might be a way
to get at a correct preview without empty steps by manipulating this log
data.
Has anybody got a hint?
Thanks,
-    Simon
 


More information about the SAP-WUG mailing list