WS14500015 in SRM5

jerry martinek jerry.martinek at shawbiz.ca
Thu Feb 23 17:12:04 EST 2006


Hi Natasha,

Thank you for your reply. I sort of suspect that you can but I'm not quite sure how, yet.

I was wonderring if you could explain/confirm how the system uses the following two fields: first is the ACTUAL_APPROVAL_INDEX field in method GET_REMAINING_APPROVERS of BADI BBP_WFL_APPROV_BADI and the second is the APPROVAL_TABLE-APPROVAL_TABLE_INDEX field. 

Does the system increment field ACTUAL_APPROVAL_INDEX each time the method gets called? First time called the value is ZERO, all subsequent calls the system increments the value by one before entry into the method.

Does the APPROVAL_TABLE-APPROVAL_TABLE_INDEX field represent the approval level? Does it have to be unique or can I assign mutliple approvers to a single value?  

Thanks,
Jerry


----- Original Message -----
From: "Baunach, Natasha R" <natasha.r.baunach at intel.com>
Date: Thursday, February 23, 2006 2:01 pm
Subject: RE: WS14500015 in SRM5

> Jerry,
> 
> You should be able to set your approval requirement in BADI.  For
> example, lets say you have 3 items in shopping cart: first one is
> assigned to cost center, second one to WBS element, third one to
> internal order.
> 
> What I have done in this situation is loop through items.  If item 
> meetscertain criteria, assign approval object to it, populate item 
> approvaltable and criteria definition table (these three tables 
> are of
> structures: bbps_wfl_item_approval_obj
> bbps_wfl_item_approval
> bbpt_wfl_lia_def.
>                 
> So, it is possible that your item 1 will only have approver A, 
> item 2
> will have approvers A & B, and item 3 have approver C & D.
> 
> I hope this helps.  
> 
> Natasha
> 
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [sap-wug-bounces at mit.edu] On Behalf
> Of jerry martinek
> Sent: Thursday, February 23, 2006 1:26 PM
> To: sap-wug at mit.edu
> Subject: WS14500015 in SRM5
> 
> Hi All,
> 
> I need to some help clarifying how WS14500015 in SRM5 works. I 
> need to
> be able to setup different approval categories that are based on 
> eitherthe shopping cart item material groups or account assignments.
> For example, all shopping cart items charged to cost centers will be
> assigned to one approval category while items charged to something 
> likea maintenance order are assigned to a different approval 
> category. Then
> depending on the value of each category have the ability for N-step
> approval steps 
> 
> The available documentation on WS14500015 states that you can define
> different approval categories but what's not clear is that can each
> category have N-step approval steps.
> 
> If I can't setup the BADI BBP_WFL_APPROV_BADI method
> GET_REMAINING_APPROVERS code, I'll need to add program logic to the
> shopping cart to limit what can be ordered via the shopping cart 
> at any
> one time.
> 
> Regards,
> Jerry Martinek
> 
> 
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> 
> _______________________________________________
> 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