Approval Note

Dale Brown dale.brown at duke.edu
Sat Jan 22 16:23:24 EST 2011


Ramki ,

Process-control 

Thanks.

Dale R. Brown
DUKE UNIVERSITY
Sr. Analyst, IT 
OIT - Application and Database Services
919.684.5341



-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of sap-wug-request at mit.edu
Sent: Saturday, January 22, 2011 7:03 AM
To: sap-wug at mit.edu
Subject: SAP-WUG Digest, Vol 74, Issue 37

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: Workflow hanging in step stating it has completed. Will
      not	proceed to next step. (Pinciak, David)
   2. SRM - Approval Note Update for Shopping Cart  on 7.0 (Dale Brown)
   3. Re: SRM - Approval Note Update for Shopping Cart  on 7.0
      (Ramki Maley)


----------------------------------------------------------------------

Message: 1
Date: Fri, 21 Jan 2011 13:17:53 -0500
From: "Pinciak, David" <DPinciak at massmutual.com>
Subject: RE: Workflow hanging in step stating it has completed. Will
	not	proceed to next step.
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<1DE5DE1DC1F14743A325FB8CDD2B761325AF452D at EXMBPR13.na.mmfg.net>
Content-Type: text/plain; charset="us-ascii"

Thanks to everyone for your effort. The problem has been identified. It
had to do with deadline monitoring. We have a Workflow Factory Calendar
that is somehow tied to the deadline monitoring. The calendar didn't
have an entry past year 2010. Once an entry was added for 2011 workflows
began functioning as normal.
 
I don't know how unusual we are using this type of configuration. I'm
going to investigate the details on how it all ties together. I'm going
to document the details. I'll post it to the user group once I have it
documented. If anyone else uses this type of configuration I hope to
save them the pain and suffering I endured.  
 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Morris, Eddie
Sent: Friday, January 21, 2011 5:41 AM
To: SAP Workflow Users' Group
Subject: RE: Workflow hanging in step stating it has completed. Will not
proceed to next step.



Have a look at note 1098805 section [2] Hanging Workflows. This might
help.

 

Regards,

Eddie

 

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Pinciak, David
Sent: 20 January 2011 18:47
To: sap-wug at mit.edu
Subject: Workflow hanging in step stating it has completed. Will not
proceed to next step.

 

Hello Workflow experts. I'm stuck and need help.  

 

I'm having a problem with Workflow in our Pre-Prod environment. It's
becoming a critical issue. It's inhibiting our ability to test.

 

Workflows will process until they reach a point. The Workflow will then
stop processing at that step. The log will indicate the step has
completed, but the workflow will not proceed to the next step.   

 

I've searched the SDN and Google, but haven't been able to find this
issue posted.

 

When comparing the step history for the hung workflow in Pre-Prod to a
successful workflow in Q/A or prod, I notice that the pre-prod workflow
is missing the fourth execution step that is seen in the successful
workflow. "Result Processing" is missing from the pre-prod workflow. At
this point the workflow hangs. The screen prints are  in the attached
document.

 

Can you give me any insight into what may be causing this problem? 

 

The issue is happening with a variety of Workflows. 

 

Any help is appreciated.

---------------------------------------------------------
This e-mail transmission may contain information that is 
proprietary, privileged and/or confidential and is
intended exclusively for the person(s) to whom it is
addressed. Any use, copying, retention or disclosure by
any person other than the intended recipient or the
intended recipient's designees is strictly prohibited. If
you are not the intended recipient or their designee,
please notify the sender immediately by return e-mail and
delete all copies.
---------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20110121/7658070d/attachment-0001.htm

------------------------------

Message: 2
Date: Fri, 21 Jan 2011 17:55:08 -0500
From: Dale Brown <dale.brown at duke.edu>
Subject: SRM - Approval Note Update for Shopping Cart  on 7.0
To: "sap-wug at mit.edu" <sap-wug at mit.edu>
Message-ID:
	<FB1133EE689F0B419554C3FE6F31B707031D160758 at EX-MAILBOX-03.win.duke.edu>
	
Content-Type: text/plain; charset="us-ascii"


I'm trying to locate the proper place as to where I can place code to update the "approval note" box for 7.0 SRM shopping cart.
I have been trying to use the BBP_DOC_CHANGE_BADI and that works good for me when an approval response is done, but when an inquire response is done, I'm having issues with what the user is asking for.   I'm thinking I may have to move my code in order to cover all the responses of the work item - because the  "submit" action (as far as updating SWWWIHEAD table) for the work item does not happen until after it has gone through the BBP_DOC_CHANGE_BADI code.  Here's the scenario I'm facing.  We have up to a 7 level approval process for a shopping cart to be approved.  For each time the cart goes to the next level for someone to approve it - our user wants to have in the "approval note" a description of that particular  level.  When the item is approved this works ok in the BBP_DOC_CHANGE_BADI, because I just add the next level's description to the "approval note" box.   But for inquire or reject - the next level description does not need to appear because the item is going bac!
 k to the orderer and not the next approval level.   The BBP_DOC_CHECK_BADI is not the place for me either based on my code logic - which is keying on the standard tasks of the workflow.  Using info from swwwihead to get main workflow id and then matching to BALHDR log table for the workflow to get my next level.   My problem is that on an inquire/reject, the current approval work item task is not marked complete, and the new "Accept Decision" standard task is not available until after the BBP_DOC_CHANGE_BADI.  So I can't code around not placing the next level comments.  It happens just like the approve submit action does and places the next level comments in the approval note box.   Can anyone recommend current SAP code that may already be written that is doing what I'm trying to accomplish or know of the correct badi that can be changed to use our code.  Or where would be the proper class/method that could be enhanced to place my code.

Dale R. Brown
DUKE UNIVERSITY
Sr. Analyst, IT
OIT - Application and Database Services
919.684.5341

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20110121/bbcb32a1/attachment-0001.htm

------------------------------

Message: 3
Date: Sat, 22 Jan 2011 07:02:31 -0500
From: Ramki Maley <rmaley at erpworkflow.com>
Subject: Re: SRM - Approval Note Update for Shopping Cart  on 7.0
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID: <4D3AC757.3060409 at erpworkflow.com>
Content-Type: text/plain; charset="iso-8859-1"

Dale,

Are you using Process Controlled or the Application Controlled Workflow?

Thanks,
Ramki.

On 1/21/11 5:55 PM, Dale Brown wrote:
>
> I'm trying to locate the proper place as to where I can place code to 
> update the "approval note" box for 7.0 SRM shopping cart.
>
> I have been trying to use the BBP_DOC_CHANGE_BADI and that works good 
> for me when an approval response is done, but when an inquire response 
> is done, I'm having issues with what the user is asking for.   I'm 
> thinking I may have to move my code in order to cover all the 
> responses of the work item -- because the "submit" action(as far as 
> updating SWWWIHEAD table) for the work item does not happen until 
> after it has gone through the BBP_DOC_CHANGE_BADI code.  Here's the 
> scenario I'm facing.  We have up to a 7 level approvalprocess for a 
> shopping cart to be approved.  For each time the cart goes to the next 
> level for someone to approve it -- our user wants to have in the 
> "approval note" a description of thatparticular  level.  When the item 
> is approved this works ok in the BBP_DOC_CHANGE_BADI, because I just 
> add the next level's description to the "approval note" box.   But for 
> inquire or reject -- the next level description does not need to 
> appear because the item is going back to the orderer and not the next 
> approval level. The BBP_DOC_CHECK_BADI is not the place for me either 
> based on my code logic -- which is keying on the standard tasks of the 
> workflow.  Using info from swwwihead to get main workflow id and then 
> matching to BALHDR log table for the workflow to get my next level.   
> My problem is that on an inquire/reject, the current approval work 
> item task is not marked complete, and the new "Accept Decision" 
> standard task is not available until after the BBP_DOC_CHANGE_BADI.  
> So I can't code around not placing the next level comments.  It 
> happens just like the approve submit action does and places the next 
> level comments in the approval note box.   Can anyone recommend 
> current SAP code that may already be written that is doing what I'm 
> trying to accomplish or know of the correct badi that can be changed 
> to use our code.  Or where would be the proper class/method that could 
> be enhanced to place my code.
>
> *Dale R. Brown*
>
> *DUKE UNIVERSITY***
>
> *Sr. Analyst, IT
> OIT - Application and Database Services
> 919.684.5341*
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20110122/3f6fe66d/attachment.htm

------------------------------

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug


End of SAP-WUG Digest, Vol 74, Issue 37
***************************************




More information about the SAP-WUG mailing list