<DIV>
<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>i have couple of quetions...</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have been working in r/3 workflows and ebp2.0&nbsp; 2-step workflow .and </DIV>
<DIV>also worked on ebp3.5 but not yet in wf .</DIV>
<DIV>I'm starting new projekt this week on srm4.0 version.</DIV>
<DIV>How is the wf here is deifferent from earlier versions(ebp2.0).</DIV>
<DIV>EBP2.0 does not even has approval preview ..</DIV>
<DIV>&nbsp;</DIV>
<DIV>Are there any new tools came in for debugging workflow online when creating shopping cart.</DIV>
<DIV>How to debug n-step BAdi while creating shopping cart.</DIV>
<DIV>Is this BAdI synchronized with SC txn.so that we can keep break points and debug OR&nbsp;</DIV>
<DIV>Assyncronous and triggered based on saved event..</DIV>
<DIV>&nbsp;</DIV>
<DIV>please send me to my personal mail id,if you have&nbsp;any documents on this.</DIV>
<DIV>&nbsp;</DIV>
<DIV>1.BAdi implemetaion</DIV>
<DIV>2.Debugging EBP workflow..,If different from older version of checkingl ogs...</DIV>
<DIV>3.Debugging BAdi while creating cart,if posible</DIV>
<DIV>&nbsp;</DIV>
<DIV>Your help will be greately appreciated..</DIV><BR><BR><B><I>"Dart, Jocelyn" &lt;jocelyn.dart@sap.com&gt;</I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2800.1522" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=656421606-10112005><FONT face=Arial color=#0000ff size=2>Hi rang nat, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=656421606-10112005><FONT face=Arial color=#0000ff size=2>1. EBP 2.0 - centuries ago!&nbsp;(well a couple of years at least)&nbsp;and doesn't have a BADI workflow</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=656421606-10112005><FONT face=Arial color=#0000ff size=2>2. Did you have a question?</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face=Arial size=1>Regards,</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT face=Arial color=#000080 size=1>Jocelyn Dart</FONT></B></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>Senior Consultant</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT face=Arial color=#808080 size=1>SAP Australia Pty Ltd.</FONT></B></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>Level 1/168 Walker St.</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>North Sydney </FONT></SPAN><BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>NSW, 2060</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>Australia</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>T&nbsp;&nbsp; +61 412 390 267</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>M&nbsp;&nbsp; + 61 412 390 267</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>E&nbsp;&nbsp;
 jocelyn.dart@sap.com</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1><A href="http://www.sap.com/">http://www.sap.com</A></FONT></SPAN> </P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>The information contained in or attached to this electronic transmission is confidential and may be legally privileged. It is intended only for the person or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any distribution, copying, review, retransmission, dissemination or other use of this electronic transmission or the information contained in it is strictly prohibited. If you have received this electronic transmission in error, please immediately contact the sender to arrange for the return of the original documents. </FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>Electronic transmission cannot be guaranteed to be secure and accordingly, the sender does not accept liability for any such data corruption, interception, unauthorized amendment, viruses, delays or the consequences thereof.</FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>Any views expressed in this electronic transmission are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of SAP AG or any of its subsidiaries. SAP AG, its subsidiaries, and their directors, officers and employees make no representation nor accept any liability for the accuracy or completeness of the views or information contained herein. Please be aware that the furnishing of any pricing information/ business proposal herein is indicative only, is subject to change and shall not be construed as an offer or as constituting a binding agreement on the part of SAP AG or any of its subsidiaries to enter into any relationship, unless otherwise expressly stated. </FONT></SPAN></P>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>rang nat<BR><B>Sent:</B> Thursday, 10 November 2005 5:06 PM<BR><B>To:</B> SAP Workflow Users' Group<BR><B>Subject:</B> RE: SRM BAdi-n step for Shopping Carts<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi Jocelyn,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I can see that approval workflow restart when we change A/c assignment details or product category....This is happening as new shopping cart(new entries /v EBP2.0) has been creating in system for above changes.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Cheers</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><BR><B><I>"Dart, Jocelyn" &lt;jocelyn.dart@sap.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">No really you're ok Sue - the standard whole shopping cart BADI approval<BR>workflow restarts as normal based on workflow security and what changes<BR>were made. You shouldn't have to raise any special events for approvers<BR>restarting based on rejection or change. <BR><BR>The only event you may want to keep is your Profit Center event - the<BR>trick with that however is it won't be enough to re-evaluate rules on<BR>active work items - you also need to rerun the BADI to recalculate the<BR>approvers and fill the workflow container appropriately. Otherwise your<BR>new approvers may not be able to action the shopping cart correctly. <BR><BR>You might have to create a parallel workflow as well as using<BR>re-evaluate rules. <BR><BR><BR>Regards,<BR>Jocelyn Dart<BR>Senior Consultant<BR>SAP Australia Pty Ltd.<BR>Level 1/168 Walker St.<BR>North Sydney <BR>NSW, 2060<BR>Australia<BR>T!
 ! +61 412
 390 267<BR>M + 61 412 390 267<BR>E jocelyn.dart@sap.com<BR>http://www.sap.com<BR><BR>The information contained in or attached to this electronic transmission<BR>is confidential and may be legally privileged. It is intended only for<BR>the person or entity to which it is addressed. If you are not the<BR>intended recipient, you are hereby notified that any distribution,<BR>copying, review, retransmission, dissemination or other use of this<BR>electronic transmission or the information contained in it is strictly<BR>prohibited. If you have received this electronic transmission in error,<BR>please immediately contact the sender to arrange for the return of the<BR>original documents. <BR>Electronic transmission cannot be guaranteed to be secure and<BR>accordingly, the sender does not accept liability for any such data<BR>corruption, interception, unauthorized amendment, viruses, delays or the<BR>consequences thereof.<BR>Any views expressed in this electronic transmission are tho!
 ! se of
 the<BR>individual sender, except where the message states otherwise and the<BR>sender is authorized to state them to be the views of SAP AG or any of<BR>its subsidiaries. SAP AG, its subsidiaries, and their directors,<BR>officers and employees make no representation nor accept any liability<BR>for the accuracy or completeness of the views or information contained<BR>herein. Please be aware that the furnishing of any pricing information/<BR>business proposal herein is indicative only, is subject to change and<BR>shall not be construed as an offer or as constituting a binding<BR>agreement on the part of SAP AG or any of its subsidiaries to enter into<BR>any relationship, unless otherwise expressly stated. <BR><BR><BR>-----Original Message-----<BR>From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On Behalf<BR>Of Sue Keohan<BR>Sent: Wednesday, 02 November 2005 1:02 PM<BR>To: SAP Workflow Users' Group<BR>Subject: Re: SRM BAdi-n step for Shopping Carts<BR><BR>Hi
 Jocelyn,<BR><BR>I was thinking to raise custom events when master data on the R/3 side <BR>changes, for example, Profit Center, which usually means a re-org, and <BR>in that case, new approvers. The Events under the workflow header, <BR>version dependent tab, would seem to be able to do this 'Reevaluate <BR>Rules of Active Workitems', but of course, seeing is believing.<BR><BR>I am interested in whole Shopping Cart Approvals via the BAdi, not Item <BR>Approval. So, for that part at least, pheww! As for the BAdi, it may <BR>prove challenging, as our business process calls for certain approvers <BR>(at 'level 1') to be able to 'restart' approvals at the point where the <BR>last rejection occurred, or 'begin anew'. The BAdi would need to take <BR>this into consideration. Looks like I have my work cut out for me.<BR><BR>Best regards,<BR>Sue<BR><BR><BR>Dart, Jocelyn wrote:<BR><BR>&gt;Hi Sue, <BR>&gt;You don't need to raise any special events to restart when the user<BR>&gt;chang!
 ! es it.
 <BR>&gt;The standard code will work out what happens next and whether to remove<BR>&gt;approval tasks from certain users based on what you send out in the<BR>&gt;BADI. <BR>&gt;So you just need to concentrate on getting your BADI code correct -<BR>i.e.<BR>&gt;to say "who does it go to next". <BR>&gt;<BR>&gt;By the way, are you just looking at whole ShopCart BADI approval or the<BR>&gt;ShopCart Item approval?<BR>&gt;It's a lot more complicated for ShopCart Item approval but I've just<BR>&gt;done it at a customer with a hideously<BR>&gt;complex business scenario, so should be able to answer any questions. <BR>&gt;<BR>&gt;Regards,<BR>&gt;Jocelyn Dart<BR>&gt;Senior Consultant<BR>&gt;SAP Australia Pty Ltd.<BR>&gt;Level 1/168 Walker St.<BR>&gt;North Sydney <BR>&gt;NSW, 2060<BR>&gt;Australia<BR>&gt;T +61 412 390 267<BR>&gt;M + 61 412 390 267<BR>&gt;E jocelyn.dart@sap.com<BR>&gt;http://www.sap.com<BR>&gt;<BR>&gt;The information contained in or attached to this
 electronic<BR>transmission<BR>&gt;is confidential and may be legally privileged. It is intended only for<BR>&gt;the person or entity to which it is addressed. If you are not the<BR>&gt;intended recipient, you are hereby notified that any distribution,<BR>&gt;copying, review, retransmission, dissemination or other use of this<BR>&gt;electronic transmission or the information contained in it is strictly<BR>&gt;prohibited. If you have received this electronic transmission in error,<BR>&gt;please immediately contact the sender to arrange for the return of the<BR>&gt;original documents. <BR>&gt;Electronic transmission cannot be guaranteed to be secure and<BR>&gt;accordingly, the sender does not accept liability for any such data<BR>&gt;corruption, interception, unauthorized amendment, viruses, delays or<BR>the<BR>&gt;consequences thereof.<BR>&gt;Any views expressed in this electronic transmission are those of the<BR>&gt;individual sender, except where the message states otherwis!
 ! e and
 the<BR>&gt;sender is authorized to state them to be the views of SAP AG or any of<BR>&gt;its subsidiaries. SAP AG, its subsidiaries, and their directors,<BR>&gt;officers and employees make no representation nor accept any liability<BR>&gt;for the accuracy or completeness of the views or information contained<BR>&gt;herein. Please be aware that the furnishing of any pricing information/<BR>&gt;business proposal herein is indicative only, is subject to change and<BR>&gt;shall not be construed as an offer or as constituting a binding<BR>&gt;agreement on the part of SAP AG or any of its subsidiaries to enter<BR>into<BR>&gt;any relationship, unless otherwise expressly stated. <BR>&gt;<BR>&gt;<BR>&gt;-----Original Message-----<BR>&gt;From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On<BR>Behalf<BR>&gt;Of Baunach, Natasha R<BR>&gt;Sent: Wednesday, 02 November 2005 8:01 AM<BR>&gt;To: SAP Workflow Users' Group<BR>&gt;Subject: RE: SRM BAdi-n step for Shopping
 Carts<BR>&gt;<BR>&gt;Sue,<BR>&gt;<BR>&gt;You are correct that the value in BBP_WFL_SECURITY is the key to<BR>&gt;allowing/prohibiting changes to shopping carts during approvals (even<BR>&gt;though they all use the same task). Please keep in mind that if the<BR>&gt;value is set to 'not defined', SAP has added the code in the BADI<BR>&gt;BBP_WFL_SECUR_BADI, implementation BBP_WFL_SECUR_BADI_S to change it to<BR>&gt;4 (I think it comes in as activated) which is equivalent to no changes<BR>&gt;are allowed.<BR>&gt;<BR>&gt; if scenario is initial .<BR>&gt; call function 'BBP_PDH_WFL_SECLEVEL_DB_GET'<BR>&gt; exporting<BR>&gt; iv_user = actual_user<BR>&gt; importing<BR>&gt; ev_sec_level = new_sec_level.<BR>&gt;<BR>&gt; if new_sec_level is initial.<BR>&gt; new_sec_level = 4.<BR>&gt; endif.<BR>&gt; endif.<BR>&gt; endif.<BR>&gt;<BR>&gt;I have never used Events to recalculate agents for active tasks. In<BR>our<BR>&gt;current production system, the security level is set to "Low -
 workflow<BR>&gt;is always restarted when changes are made". So, if the requestor makes<BR>&gt;any changes to the workflow, it is restarted so agents are<BR>recalculated.<BR>&gt;I will look into Events during our upgrade and will leverage off<BR>&gt;Ginger's presentations.<BR>&gt;<BR>&gt;Regards,<BR>&gt;Natasha<BR>&gt;<BR>&gt;<BR>&gt;-----Original Message-----<BR>&gt;From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On<BR>Behalf<BR>&gt;Of Susan R. Keohan<BR>&gt;Sent: Tuesday, November 01, 2005 12:41 PM<BR>&gt;To: SAP Workflow Users' Group<BR>&gt;Subject: Re: SRM BAdi-n step for Shopping Carts<BR>&gt;<BR>&gt;Hi Natasha,<BR>&gt;<BR>&gt;Thanks so much for all the info. Our current process does not call<BR>for<BR>&gt;ad-hoc approvers, but I am <BR>&gt;still hoping to take advantage of this functionality.<BR>&gt;<BR>&gt;Am I correct that the value in BBP_WFL_SECURITY (currently set to 'not<BR>&gt;defined') would be the key to <BR>&gt;allowing/prohibiting changes to S!
 ! hopping
 Carts, all using the same task<BR>&gt;? Just re-stating in my own <BR>&gt;words what I thought you said...<BR>&gt;<BR>&gt;Have you used Events to cause the recalculation of agents for active<BR>&gt;tasks ? This could solve a lot <BR>&gt;of our problems, where the Shopping Cart changes during the approval<BR>&gt;process, and the wrong <BR>&gt;approvers still have the 'old' approval task...(Ginger Gatling<BR>delivered<BR>&gt;a great presentation on <BR>&gt;this topic at the recent TechEd in Boston).<BR>&gt;<BR>&gt;Many thanks,<BR>&gt;Sue<BR>&gt;<BR>&gt;Baunach, Natasha R wrote:<BR>&gt;<BR>&gt; <BR>&gt;<BR>&gt;&gt;Hi Sue,<BR>&gt;&gt;<BR>&gt;&gt;I have implemented BBP_WFL_APPROV_BADI in our SRM 4.0 sandbox with<BR>&gt;&gt;different level of approvals and certain line items going to different<BR>&gt;&gt;approvers. Hopefully, I can answer some of your questions.<BR>&gt;&gt;<BR>&gt;&gt;1. Yes, approval index must be incremented by 1. You can still have<BR>&gt;&gt;your ad-hoc appro!
 ! val
 steps between pre-defined approval steps assuming<BR>&gt;&gt;that you allow for ad-hoc approvers (you can disable this<BR>&gt;&gt; <BR>&gt;&gt;<BR>&gt;functionality<BR>&gt; <BR>&gt;<BR>&gt;&gt;via BADI 'Allow Changes to Approvers' BBP_CHNG_AGNT_ALLOW.<BR>&gt;&gt;<BR>&gt;&gt;2. It is the same task that is used for approvals in all shopping cart<BR>&gt;&gt;approval workflows available in SRM 4.0. The task is TS10008126.<BR>&gt;&gt;Whether or not an approver can change the cart during approval process<BR>&gt;&gt;is determined by the settings at the role level. Go to transaction<BR>&gt;&gt;PFCG, input your role, hit display. Then go to Personalization tab<BR>&gt;&gt; <BR>&gt;&gt;<BR>&gt;and<BR>&gt; <BR>&gt;<BR>&gt;&gt;look for personalization object key 'BBP_WFL_SECURITY'. During<BR>&gt;&gt; <BR>&gt;&gt;<BR>&gt;runtime,<BR>&gt; <BR>&gt;<BR>&gt;&gt;this default can be overwritten in the BADI 'Authorization to Change<BR>&gt;&gt;During Approval' BBP_WFL_SECUR_BADI. So basically, i!
 f your
 approvers<BR>&gt;&gt; <BR>&gt;&gt;<BR>&gt;at<BR>&gt; <BR>&gt;<BR>&gt;&gt;different levels have different roles, you should be able to control<BR>&gt;&gt;change ability via this setting at the role level. If it is more<BR>&gt;&gt;complicated than that, then you will need to place your more<BR>&gt;&gt; <BR>&gt;&gt;<BR>&gt;complicated<BR>&gt; <BR>&gt;<BR>&gt;&gt;logic in the BADI. <BR>&gt;&gt;<BR>&gt;&gt;BTW, I think that you can also use a different BADI to allow only<BR>&gt;&gt;certain fields to be changed. It could be applicable only to CUF's.<BR>&gt;&gt; <BR>&gt;&gt;<BR>&gt;I<BR>&gt; <BR>&gt;<BR>&gt;&gt;have this requirement and will be looking into it shortly -- if a user<BR>&gt;&gt;has finance approver profile, only allow them to change GL account<BR>&gt;&gt;assignment and nothing else; no changes are allowed for other<BR>&gt;&gt; <BR>&gt;&gt;<BR>&gt;approver.<BR>&gt; <BR>&gt;<BR>&gt;&gt;I hope this helps.
 <BR>&gt;&gt;<BR>&gt;&gt;Natasha<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;-----Original Message-----<BR>&gt;&gt;From: sap-wug-bounces@MIT.EDU [mailto:sap-wug-bounces@MIT.EDU] On<BR>&gt;&gt; <BR>&gt;&gt;<BR>&gt;Behalf<BR>&gt; <BR>&gt;<BR>&gt;&gt;Of Susan R. Keohan<BR>&gt;&gt;Sent: Tuesday, November 01, 2005 6:56 AM<BR>&gt;&gt;To: SAP Workflow Users' Group<BR>&gt;&gt;Subject: SRM BAdi-n step for Shopping Carts<BR>&gt;&gt;<BR>&gt;&gt;Hi all,<BR>&gt;&gt;<BR>&gt;&gt;I am trying to embark on the implementation of BBP_WFL_APPROV_BADI<BR>&gt;&gt; <BR>&gt;&gt;<BR>&gt;(SRM<BR>&gt; <BR>&gt;<BR>&gt;&gt;4.0). Have looked at all <BR>&gt;&gt;the notes, docu, sample implementations, etc.<BR>&gt;&gt;1) The docu for this BAdi says 'Note that there must be absolutely no<BR>&gt;&gt;gaps in the approval steps and <BR>&gt;&gt;that approvers must be defined for every step.' I assume this means<BR>&gt;&gt;that the ApprovalIndex must be <BR>&gt;&gt;incremented from 0 by 1 with no gaps in it. Am I correct !
 ! ? Or
 does<BR>&gt;&gt;this mean that there can be no <BR>&gt;&gt;intervening steps *between* approval steps ?<BR>&gt;&gt;<BR>&gt;&gt;2) Is it possible to pass an approver an approval task, which also<BR>&gt;&gt;allows them to change the cart ? <BR>&gt;&gt; But other approvers (different approval levels) can only approve or<BR>&gt;&gt;reject? Can I determine <BR>&gt;&gt;which tasks the approvers can get and set that in the BAdi ?<BR>&gt;&gt;<BR>&gt;&gt;Obviously, I am an SRM novice and a BAdi novice as well, so any help<BR>&gt;&gt; <BR>&gt;&gt;<BR>&gt;is<BR>&gt; <BR>&gt;<BR>&gt;&gt;greatly appreciated.<BR>&gt;&gt;Happy WF-ing,<BR>&gt;&gt;Sue<BR>&gt;&gt; <BR>&gt;&gt;<BR>&gt;<BR>&gt; <BR>&gt;<BR>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug<BR><BR>_______________________________________________<BR>SAP-WUG mailing
 list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug<BR></BLOCKQUOTE>
<P>
<HR SIZE=1>
<A href="http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/">Yahoo! FareChase - Search multiple travel sites in one click.</A> _______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug<BR></BLOCKQUOTE></DIV><p>
                <hr size=1> <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/">Yahoo! FareChase - Search multiple travel sites in one click.</a>