EBP Approval display

Dart, Jocelyn jocelyn.dart at sap.com
Sun Aug 11 20:20:55 EDT 2002


Hi Michael,
Remember always with EBP that you must follow the patterns shown
in the standard EBP workflows if you want your own workflows to
work correctly with the approval applet display.
 
One of the patterns is that the "ReqReq" container element must
be available in the workflow container of your shopping cart approval
workflow. It is an import mandatory element referencing object type BUS2121.
 
ReqReq is filled using the event linkage between event BUS2121.SAVED and your
workflow.  Remember that even though EBP does not raise this event directly
it simulates the entire event linkage process and so all bindings etc. must
be there.
 
It is however extremely difficult to debug this successfully as usually
debugging ABAP code will miss out the bits that fill up the workflow container.
 
Instead of debugging BBP_PDH_WFL_APPROVER_GET try checking the workflow log
of the created workflow instance and seeing if ReqReq is filled. The adhoc
objects (which must be a direct subtype of AAGENT) always refer to the
workflow container of the created workflow instance.
 
Michael, you might be attacking this from the wrong angle.  The approval
applet display is a representation of the graphical workflow log.  So
try looking at the graphical workflow log and seeing if it looks ok, and
try running function module SWD_API_WORKFLOW_GRAPHIC_GET to see what agents
it returns.
 
If you need further assistance please contact SAP through the usual channels
- if it's urgent I may be able to assist remotely this week for a few hours
but you must go through the proper channels.
 
Regards,
        Jocelyn Dart
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"
SAP Australia
jocelyn.dart at sap.com
+61 412 390 267
+61 2 9935 4880
 
 
 
 
 
 
 
 
-----Original Message-----
From: Michael Arter [mailto:Michael_Arter at national.com.au]
Sent: Friday, 9 August 2002 6:22 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: EBP Approval display
 
 
Hi there,
We are upgrading to EBP 3.0 and are having trouble with the approval
display fuctionality.
 
Our approval preview functionality via the "shop" transaction is working
however, the approval display tab via the
"check status" transaction is not working.
 
After debugging some of the code it appears that FM
BBP_PDH_WFL_APPROVER_GET
is called in both the approval preview and approval functions but has
conditional logic based on
whether the workflow exists or not.
 
In the case of the approval function where the workflow does exist, our
adhoc agent create object method
is failing when it tries to perform the  "swc_get_element  container
'ReqReq'            lo_reqreq"  macro statement
as 'reqreq' is not in the container table???   In the case of the approval
preview function this is all working?
 
We need be able to instantiate ReqReq so we can perform an evaluation on
some of its attributes.
 
Any suggestions would be greatly appreciated.
 
Michael Arter
 
SAP Workflow analyst
IBM GSA
 
Ph 613 8641 6670
 
 
 
__________________________________________________________________________
The information contained in this email communication may be confidential.
You
should only read, disclose, re-transmit, copy, distribute, act in reliance
on or
commercialise the information if you are authorised to do so. If you are
not the
intended recipient of this email communication, please notify us
immediately by
email to NABpost at national.com.au or reply by email direct to the sender
and then destroy any electronic or paper copy of this message.  Any views
expressed in this email communication are those of the individual sender,
except
where the sender specifically states them to be the views of a member of
the
National Australia Bank Group of companies.  The National Australia Bank
Group
of companies does not represent, warrant or guarantee that the integrity of
this
communication has been maintained nor that the communication is free of
errors,
virus or interference.
 


More information about the SAP-WUG mailing list