Workflow WS14000133 Approver empty

s.bailleul s.bailleul at free.fr
Tue Mar 10 15:20:33 EDT 2009


Hi 
I am using workflow WS14000133

I have create my class ZCL_IM_BBP_WFL_APPROV_BADI 
While testing  the GET_remaining_approvers method I get the correct result


APPROVAL_I APPROVAL_B APPROVAL_AGENT NAME
APPROVAL_DESCRIPTION

0000000001 0000000000 USCONTROLEUR   Test CONTROLEUR
CTRL Budg 4000003114

However the task TS14007989 (BUS4101 NEXTDYNAMICAPPROVERGET) is not
returning the values

I can see that nothing is returned from function
BBP_WFL_DIN_APPR_CONTAINER_GET in table approverlist

And the next function BBP_WFL_DIN_APPR_BY_RULE_GET is not importing the
table 
 while in SE37 this function is returning the ET_APPROVAL_AGENTS with
the correct value !!!

However it is called like this 
* get flag for indication if no further approval required
IF approverlist[] IS INITIAL.
  CALL FUNCTION 'BBP_WFL_DIN_APPR_BY_RULE_GET'
    EXPORTING
      IV_TASK                        = task
      IV_OBJECT_ID                   = lv_object_id
      IV_GUID                        = lv_guid
      IV_OBJECT_TYPE                 = lv_object_type
      IV_ACTUAL_APPROVAL_INDEX       = 0
    IMPORTING
      EV_NO_FURTHER_APPROVAL         = lv_no_further_approval.
ENDIF. " approverlist[] IS INITIAL

So my approver list is empty !!!

Any idea ?

Cheers
Stephane

-----Message d'origine-----
De : sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] De la part de
sap-wug-request at mit.edu
Envoyé : mardi 10 mars 2009 17:22
À : sap-wug at mit.edu
Objet : SAP-WUG Digest, Vol 52, Issue 16

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: WF Logs, Date / Time displays off (Sample, Rick)


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

Message: 1
Date: Mon, 9 Mar 2009 11:12:41 -0500
From: "Sample, Rick" <Rick.Sample at graybar.com>
Subject: RE: WF Logs, Date / Time displays off
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<1897E92A96C47648A6574CB9A51C64070853ECEF at SEBEV1PW.graybar.com>
Content-Type: text/plain; charset="us-ascii"

Yes. WF-BATCH, myself, and system setting all are CST. 
 
I reviewed the logs in several systems-clients. I am less concerned with
what shows in SWI2_FREQ display than I am about the actual execution
times.
Although, it would be nice NOT to have drill into the workitem just to
see it since I, WF-BATCH, and the servers are all in my time zone.
 
I have the task set to end at (date + 1) and (fixed time of 01:00:00).
This time is set with a container's Initial value setting so not like it
is getting mucked up as it is passed in.
The _WorkItem object has the correct Requested End Date/Time, but the
Actual End Time (in some clients) is not correct. 
 
I expected the Actual End Time to be 01:00:00 plus a few minutes for the
deadline job to run but it ran at 11:03:04. No where close! 
So, I have my Time set to 01:00, display end is 05:03:04, Actual End is
11:03:04. Annoying!
 
I am a tad confused on how it is determining the date/time.
 
 
Rick Sample | Office (314) 573-5822 | Mobile (314) 952-2273 | 
rick.sample at graybar.com 
www.graybar.com <http://www.graybar.com/>  - Graybar Works to Your
Advantage 
 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Mike Pokraka
Sent: Saturday, March 07, 2009 11:23 AM
To: 'SAP Workflow Users' Group'
Subject: RE: WF Logs, Date / Time displays off



Also check time zone for WF-BATCH matches the system time zone.

 

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Sample, Rick
Sent: 06 March 2009 16:25
To: SAP Workflow Users' Group
Subject: RE: WF Logs, Date / Time displays off

 

Both CST. 

 

BUT, that led me to table TTZCU. 

In dev, I am CST and CST. My bad client, it is CST and CET. CET is
Central Europe. Something is funky in our setup! 

 

Before I run to BASIS, would this effect the WF logs?

 

 

Rick Sample | Office (314) 573-5822 | Mobile (314) 952-2273 | 
rick.sample at graybar.com 
www.graybar.com <http://www.graybar.com/>  - Graybar Works to Your
Advantage 

 

 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Schumacher, Margaret
Sent: Friday, March 06, 2009 9:26 AM
To: SAP Workflow Users' Group
Subject: RE: WF Logs, Date / Time displays off

Rick,   

Is your system time different from your userid timezone? I changed my
Personal Time Zone to equal the system time UTC (even though I reside at
EST) because some of the workflow utilities are kind enough to convert
the recorded time to my settings.

 




-----Original Message-----
From: Sample, Rick [mailto:Rick.Sample at graybar.com]
Sent: Friday, March 06, 2009 8:25 AM
To: SAP Workflow Users' Group
Subject: WF Logs, Date / Time displays off

I have a couple of issues with just one client of mine and not sure
where to look for answer.

First issue:
I have a modeled Requested End with it set to 01:00:00.
Container is just set with the initial value of 01:00:00.
When the task is created, it ends up with 18:00:00!
All other clients work as expected, so I am assuming this is a system
setting "somewhere".

Second issue:
I open SWWL and view my newly created task and it is adding 5 hours to
the create time.
I view same in SWI2_FREQ and it displays correctly.

Someone point me in the right direction so I can inform BASIS please?

Thanks,
Rick




-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20090309/2d5047c8/attac
hment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5725 bytes
Desc: image001.jpg
Url :
http://mailman.mit.edu/pipermail/sap-wug/attachments/20090309/2d5047c8/attac
hment-0001.jpg

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

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


End of SAP-WUG Digest, Vol 52, Issue 16
***************************************





More information about the SAP-WUG mailing list