Finding shopping cart approvers before a shopping cart is saved

Griffiths, Mark mark.griffiths at sap.com
Mon Dec 20 06:34:58 EST 2004


Hi Jocelyn,

I did get this working in the end with the buffers, but as a word of
warning to you all this only works with classic adhoc agent EBP
workflows, not the dynamic n-step style.

Regards,

Mark

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Dart, Jocelyn
Sent: 20 December 2004 06:25
To: SAP Workflow Users' Group
Subject: RE: Finding shopping cart approvers before a shopping cart is
saved


Hi Mark, 
If you call the relevant function modules you have mentioned with the
"buffer" option on, you can see which agents have been chosen using the
add approver/change approver options.  You can then use that to test
that all steps have an agent assigned before ordering. Done this before
for confirmations. 
Regards,
Jocelyn  

-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
Griffiths, Mark
Sent: Saturday,13 November 2004 1:05 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Finding shopping cart approvers before a shopping cart is saved

All,

I have a requirment for an EBP shopper to manually select an approver.
This is working fine with the n-step BADI workflow and the approval
preview.  The BADI returns a user called 'Please Select an Approver' and
then the user changes this dummy user in the approval preview.

This all worked surprisingly easily!

The last challenge is to make sure that the shopper actually chooses a
new approver. To do this I am hoping to use  BADI_DOC_CHECK .  Problem
is, I can't work out how to see who the current selected approver is,
obviously the workflow hasn't really started yet so I can't read the
container, and I have tried using function modules like
'BBP_PDH_WFL_APPROVER_GET' and 'BBP_PDH_WFL_APPROVAL_SIMULATE' to get
this data but I can't get them to return me the agents.

Does anyone out there have any ideas how to get this to work?

Any help would be appreciated,

Thanks,

Mark

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug



More information about the SAP-WUG mailing list