Query regd. SRM Workflow
Baunach, Natasha R
natasha.r.baunach at intel.com
Mon Dec 4 15:56:54 EST 2006
Vijay,
Approvers can be defined via BAdi implementation BBP_WFL_ADMIN_APPROV.
If you do not use BAdi, then they are taken from multi-line attribute
'ApproverList' of BUS2209.
* 6) fill attribute 'ApproverList'
IF object-approverlist[] IS INITIAL.
PERFORM approverlist_get
TABLES
lt_agents
USING gs_header.
If your org structure is not maintained or your requirements are
different than having a manager approve PO response, then you would need
to implement BAdi to determine agents.
Method 'create' is executed during runtime and that is how container is
populated. Another way you could define your own agents is create a
subtype of APCOAGENT, use delegation and then redefine method create.
But I don't see how this would be better than just using delivered BAdi.
Natasha
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of vijay srikanth
Sent: Monday, December 04, 2006 11:59 AM
To: sap-wug at mit.edu
Subject: RE: Query regd. SRM Workflow
Hi Natasha,
That method is not very descriptive, I wanted someone to elaborate on
this process...and about the business object APCOAGENT, and about the
workflow task. Regarding how the container for the agents is
populated...etc. So if anybody has already worked on this specific thing
or anything similar to this...let me know.
Regards,
Vijay
________________________________
From: "Baunach, Natasha R" <natasha.r.baunach at intel.com>
Reply-To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Subject: RE: Query regd. SRM Workflow
Date: Mon, 4 Dec 2006 09:58:46 -0800
Go to business object APCOAGENT and look at method 'create'.
This is where the code that populates expression resides.
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]
On Behalf Of vijay srikanth
Sent: Monday, December 04, 2006 8:39 AM
To: sap-wug at mit.edu
Subject: Query regd. SRM Workflow
Hi,
This is regarding SRM workflow task WS14500019.
It's for Transfer Purchase Order response data purchase order.
The input comes from XI. But the workflow fails in it's 2nd step
'Transfer Purchase Order Response'.
Saying no agent present. Ther's no specific agent determination
using PFAC or anything like that. It's only an expression - Looking at
the agent it's a multiline structure that inherits from a workflow
container element called
ANGENT_0001. The type of this structure is APCOAGENT. Now I
don't have any idea how to initialize this APCOAGENT business object
type...and find out how to populate agents for this workflow. If anybody
who's had such a situation could help me out it'd be great.
Thanks,
Vijay
________________________________
Tried the new MSN Messenger? It's cool! Download now.
<http://g.msn.com/8HMAENIN/2749??PS=47575>
>_______________________________________________
>SAP-WUG mailing list
>SAP-WUG at mit.edu
>http://mailman.mit.edu/mailman/listinfo/sap-wug
________________________________
Catch all the cricketing action right here. Live score, match reports,
photos et al. <http://g.msn.com/8HMBENIN/2755??PS=47575>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20061204/4c4f7b06/attachment.htm
More information about the SAP-WUG
mailing list