SRM Extended scenario - Purchase Order BADI workflow

Stéphane Bailleul bailleul_s at hotmail.com
Thu May 18 16:22:39 EDT 2006


Hi, In workflow WS1400046 the loop never stops. The condition for ending the loop are the standard one CurrentAgents NX AND Approval status = 0 OR Approval status <> 0 .When there is a rejection this is working fine the workflow stopsAfter the final approver of the workflow has approved , in the step called Determine next approver, the actualAgents table is not updated and the No_further_approval_needed is not updated either.Behind this step is task TS14007989, BUS4101 with method NEXTDYNAMICAPPROVERGET. All the binding seems correct.When testing the Method directly the result is the same as within the workflow ( ActualAgent is not correct and No_further_approval is not set)It seems to be coming from Function BBP_WFL_DIN_APPR_CONTAINER_GET where the approvallist-state = 2 for the last approver.(Code: * get the list of dynamic approvers from wi-containerswf_get_element ev_wi_container_handle c_wf_appr_list lt_cont_approver.)While testing the BADI function directly the no_further_approval flag is present Can someone help me to determine why this method is not returning the right value or why the approval state of my last approver is set at 2 ? Our version is SRM 4.0 with support package applied is SAPKIBKS08Thanks for your help Stephane Bailleul

> From: sap-wug-request at mit.edu> Subject: SAP-WUG Digest, Vol 18, Issue 79> To: sap-wug at mit.edu> Date: Thu, 18 May 2006 15:36:20 -0400> > Send SAP-WUG mailing list submissions to> sap-wug at mit.edu> > To subscribe or unsubscribe via the World Wide Web, visit> http://mailman.mit.edu/mailman/listinfo/sap-wug> or, via email, send a message with subject or body 'help' to> sap-wug-request at mit.edu> > You can reach the person managing the list at> sap-wug-owner at mit.edu> > When replying, please edit your Subject line so it is more specific> than "Re: Contents of SAP-WUG digest..."> > > Today's Topics:> >    1. RE: SOX requirements and WF-Batch SAP_ALL, SAP_NEW Profile>       (Rickayzen, Alan)>    2. RE: SOX requirements and WF-Batch SAP_ALL, SAP_NEW Profile>       (Rickayzen, Alan)> > > ----------------------------------------------------------------------> > Message: 1> Date: Thu, 18 May 2006 21:34:51 +0200> From: "Rickayzen, Alan" <alan.rickayzen at sap.com>> Subject: RE: SOX requirements and WF-Batch SAP_ALL, SAP_NEW Profile> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>> Message-ID:> <056B06CE86417342AAF8AB7CDD3CA3C901EE6011 at dewdfe14.wdf.sap.corp>> Content-Type: text/plain; charset="iso-8859-1"> > Hi Jocelyn,>  > So how come no-one has built a SOx compliant CPU yet, that logs the instructions and the users on who's behalf the instruction is being executed?>  > Alan > > >   _____  > > From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Dart, Jocelyn> Sent: Dienstag, 16. Mai 2006 06:55> To: SAP Workflow Users' Group> Subject: RE: SOX requirements and WF-Batch SAP_ALL, SAP_NEW Profile> > >  > 1. Explain logically and sensibly why this is so. > 2. Compare WF-BATCH with other system users such as background users for running jobs, DDIC, SAP*, et al.> 3. Explain logically and sensibly *** with quiet but firm emphasis *** why this is so. > 4. Paint a picture of the sort of problems they are likely to cause the company by doing this - use lots of black and red. > 5. Explain logically and sensibly *** with VOLUME and manic punctuation marks!!! *** why this is so. > 6. Illustrate the workload/pain likely to fall upon them with monster dump trucks and lots of lead bullets. > 7. Explain logically and sensibly *** using baseball bat to beat the sense into them *** why this is so. > 8. Write washing-my-hands-on-your-own-heads-be-it-I-told-you-so document and get the guilty parties to sign. > 9. Leave company citing nervous strain. >  > ;-)>  > > Regards, > Jocelyn Dart > Senior Consultant > SAP Australia Pty Ltd. > Level 1/168 Walker St. > North Sydney > NSW, 2060 > Australia > T   +61 412 390 267 > M   + 61 412 390 267 > E   jocelyn.dart at sap.com > http://www.sap.com <http://www.sap.com/>  > > 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. > > 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.> > 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. > >  > >   _____  > > From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Kjetil Kilhavn> Sent: Saturday, 13 May 2006 12:54 AM> To: SAP Workflow Users' Group> Subject: RE: SOX requirements and WF-Batch SAP_ALL, SAP_NEW Profile> > > Since I have been ordered to not badmouth my company in public I can't tell you my opinion on how it was handled here. I tried the same argument, it is a non-dialog user with a password that no-one knows. It felt a bit like discussing with the Monolith (http://www.traveladventures.org/continents/europe/vigeland09.shtml)>  > WF-BATCH has a copy of SAP_ALL and SAP_NEW. At least it creates employment opportunities...> -- > Kjetil Kilhavn, Statoil ?FT KTJ BAS DEV SAP> > > > >   _____  > > From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Shahram Shadmani> Sent: 12. mai 2006 16:21> To: sap-wug at mit.edu> Subject: SOX requirements and WF-Batch SAP_ALL, SAP_NEW Profile> > > Hi there,>  > Our SAP security team is attending to remove the SAP_ALL and SAP_NEW profile from WF-Batch user due to SOX requirements.> We (SAP Workflow Team) know that this will cause lot of problems and are pointing to the type of this user which is "system" and not a dialog user. However, I was wondering if other people / companies have or had the same problem and how they resolved it.>  > Thanks a lot for your response in advance,>  > Shahram Shadmani>  > > > > -------------------------------------------------------------------> The information contained in this message may be CONFIDENTIAL and is> intended for the addressee only. Any unauthorised use, dissemination of the> information or copying of this message is prohibited. If you are not the> addressee, please notify the sender immediately by return e-mail and delete> this message.> Thank you. > > -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060518/cc8c5b1b/attachment-0001.htm> > ------------------------------> > Message: 2> Date: Thu, 18 May 2006 21:33:16 +0200> From: "Rickayzen, Alan" <alan.rickayzen at sap.com>> Subject: RE: SOX requirements and WF-Batch SAP_ALL, SAP_NEW Profile> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>> Message-ID:> <056B06CE86417342AAF8AB7CDD3CA3C901EE6010 at dewdfe14.wdf.sap.corp>> Content-Type: text/plain; charset="us-ascii"> > A non-text attachment was scrubbed...> Name: not available> Type: application/x-pkcs7-mime> Size: 19568 bytes> Desc: not available> Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20060518/439d804a/attachment.bin> > ------------------------------> > _______________________________________________> SAP-WUG mailing list> SAP-WUG at mit.edu> http://mailman.mit.edu/mailman/listinfo/sap-wug> > > End of SAP-WUG Digest, Vol 18, Issue 79> ***************************************
_________________________________________________________________
Soyez parmi les premiers à essayer la future messagerie : Windows Live Messenger Beta
 http://ideas.live.com/programpage.aspx?versionId=0eccd94b-eb48-497c-8e60-c6313f7ebb73
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060518/003f7538/attachment.htm


More information about the SAP-WUG mailing list