WS14500015 in SRM5
jerry.martinek
jerry.martinek at shawbiz.ca
Tue Feb 28 09:23:15 EST 2006
Hi Natasha,
I'll give that a try. I found that information either missing or not obvious
in the code samples and OSS note.
Thank you,
Jerry
_____
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Baunach, Natasha R
Sent: February 27, 2006 2:09 PM
To: SAP Workflow Users' Group
Subject: RE: WS14500015 in SRM5
Jerry,
Here is what it should be like if you want sequential approval for each item
(for item 1, mgr1a approves first, then it goes to mgr2a, etc.). Please
remember that follow-on document does not get created until the whole sc is
approved.
approval_index
Cost Center
PMO
PSO
1
MGR1A
2
MGR2A
3
MGR3A
4
MGR4A
1
MGR1B
2
MGR2B
1
MGR1C
2
MGR2C
3
MGR3C
4
MGR4C
_____
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
jerry martinek
Sent: Friday, February 24, 2006 11:10 AM
To: SAP Workflow Users' Group
Subject: Re: WS14500015 in SRM5
Hi Natasha & Marc,
It looks like the attachement didn't make it so I'm including it in this
email. It's a little difficult to follow but hopefully the information is
there.
I've read the various OSS notes, reviewed the
> GET_REMAINING_APPROVERS code samples but I'm still not clear on
> some items.
>
> The part that's currently confusing me is what values do I assign
> 'approval_index' in the approval table. I've included an example that
contains a sample shopping cart where I've
> documented the item that I'm not clear on based on the code
> samples and my understanding of the 'Actual_Approver_Index' field.
> In the example, does option A or B represent the correct values
> for approval_index?
>
> I'd appreciate your feedback.
Shopping Cart
Account
Value
Item 1
CC
1000
Item 2
CC
2000
Item 3
PMO
1000
Item 4
PSO
5000
Item 5
CC
5000
Total
14000
Item_Approval_Object Table
Category
Category
Category
CC
PMO
PSO
Value 1
Value 1
Value 1
Value 3
SC GUI
Item GUI
1000
1000
SC GUI
Item GUI
2000
3000
SC GUI
Item GUI
5000
8000
SC GUI
Item GUI
1000
1000
SC GUI
Item GUI
5000
5000
Category CC
Apprv Lim
MGR1A
500
MGR2A
1000
MGR3A
4000
MGR4A
10000
Category PMO
Apprv Lim
MGR1B
500
MGR2B
1000
MGR3B
5000
Category PSO
Apprv Lim
MGR1C
500
MGR2C
1000
MGR3C
3000
MGR4C
6000
Category CC
Apr Lvl1
Apr Lvl2
Apr Lvl3
Apr Lvl4
Item 1
MGR1A
MGR2A
MGR3A
MGR4A
Item 2
MGR1A
MGR2A
MGR3A
MGR4A
Item 5
MGR1A
MGR2A
MGR3A
MGR4A
Category PMO
Apr Lvl1
Apr Lvl2
Apr Lvl3
Apr Lvl4
Item 3
MGR1B
MGR2B
Category PSO
Apr Lvl1
Apr Lvl2
Apr Lvl3
Apr Lvl4
Item 4
MGR1C
MGR2C
MGR3C
MGR4C
Option A
approval_index
Cost Center
PMO
PSO
1
MGR1A
2
MGR2A
3
MGR3A
4
MGR4A
5
MGR1B
6
MGR2B
7
MGR1C
8
MGR2C
9
MGR3C
10
MGR4C
Option B
approval_index
Cost Center
PMO
PSO
1
MGR1A
1
MGR2A
1
MGR3A
1
MGR4A
2
MGR1B
2
MGR2B
3
MGR1C
3
MGR2C
3
MGR3C
3
MGR4C
Thanks,
Jerry
----- Original Message -----
From: jerry martinek <jerry.martinek at shawbiz.ca>
Date: Friday, February 24, 2006 10:50 am
Subject: Re: WS14500015 in SRM5
> Hi Natasha & Marc,
>
> I've read the various OSS notes, reviewed the
> GET_REMAINING_APPROVERS code samples but I'm still not clear on
> some items.
>
> The part that's currently confusing me is what values do I assign
> 'approval_index' in the approval table. I've included an XLS
> attachment that contains a sample shopping cart where I've
> documented the item that I'm not clear on based on the code
> samples and my understanding of the 'Actual_Approver_Index' field.
> In the example, does option A or B represent the correct values
> for approval_index?
>
> I'd appreciate your feedback.
>
> Regards,
> Jerry
> Content-Type: multipart/alternative;
> boundary="----=_Part_18746_26504333.1140778968082"
>
>
> ------=_Part_18746_26504333.1140778968082
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
>
> G'day Jerry,
>
> If you haven't already seen it you may want to check out OSS note
> 731637 an=
> d
> it's listed follow on notes.
>
> Natasha may have already provided you more useful info anyway.
>
> Have fun,
> Mark
>
>
> On 23/02/06, jerry martinek <jerry.martinek at shawbiz.ca> wrote:
> >
> > 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
> either the
> > 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 like a
> > maintenance order are assigned to a different approval category.
> Then> depending on the value of each category have the ability for
> N-step appro=
> val
> > steps
> >
> > The available documentation on WS14500015 states that you can define
> > different approval categories but what's not clear is that can
> each categ=
> ory
> > 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 shopp=
> ing
> > 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
> >
>
> ------=_Part_18746_26504333.1140778968082
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
>
> <div>G'day Jerry,</div>
> <div> </div>
> <div>If you haven't already seen it you may want to check out OSS
> note 7316=
> 37 and it's listed follow on notes.</div>
> <div> </div>
> <div>Natasha may have already provided you more useful info
> anyway.</div><div> </div>
> <div>Have fun,</div>
> <div>Mark<br><br> </div>
> <div><span class=3D"gmail_quote">On 23/02/06, <b
> class=3D"gmail_sendername"=>jerry martinek</b>
> <jerry.martinek at shawbiz.ca">jerry.=martinek at shawbiz.ca>
> wrote:</span><blockquote class=3D"gmail_quote" style=3D"PADDING-
> LEFT: 1ex; MARGIN: 0px 0=
> px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi All,<br><br>I need
> to some he=
> lp clarifying how WS14500015 in SRM5 works. I need to be able to
> setup diff=
> erent approval categories that are based on either the shopping
> cart item m=
> aterial groups or account assignments.
> <br>For example, all shopping cart items charged to cost centers
> will be as=
> signed to one approval category while items charged to something
> like a mai=
> ntenance order are assigned to a different approval category. Then
> dependin=g on the value of each category have the ability for N-
> step approval steps
> <br><br>The available documentation on WS14500015 states that you
> can defin=
> e different approval categories but what's not clear is that can
> each categ=
> ory have N-step approval steps.<br><br>If I can't setup the BADI
> BBP_WFL_AP=PROV_BADI method GET_REMAINING_APPROVERS code, I'll
> need to add program log=
> ic to the shopping cart to limit what can be ordered via the
> shopping cart =
> at any one time.
> <br><br>Regards,<br>Jerry
>
Martinek<br><br><br><br>_________________________=______________________<br>
SAP-WUG mailing list<br>SAP-WUG=
> @mit.edu">SAP-WUG at mit.edu<br>http://mailman.mit.edu/mailman/=
> listinfo/sap-wug">
>
> </blockquote></div><="
> target="l">http://mailman.mit.edu/mailman/listinfo/sap-wug
> </blockquote></div><=
> br>
>
> ------=_Part_18746_26504333.1140778968082--
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060228/87314642/attachment.htm
More information about the SAP-WUG
mailing list