Using Factory Calendar

Rick Bakker rbakker at gmail.com
Wed Jun 29 07:59:34 EDT 2011


Hello Hari,

Normally you would create a method that makes use of that object. If
you pass 3 as a parameter you get July 1st, if you pass 5 you get July
3rd (for example).
These can be bound back to separate container element in your workflow.

regards
Rick Bakker
hanabi technology

On Wed, Jun 29, 2011 at 8:57 PM,  <hari.bommaraju at accenture.com> wrote:
> Hi Rick,
>
> I believe that we need to create two different instances of the deadline object (one with offset +3 and the other with offset +5).
>
> Correct me if I am wrong!
>
> Br,
> Hari
>
> -----Original Message-----
> From: Bommaraju, Hari
> Sent: Wednesday, June 29, 2011 4:01 PM
> To: 'SAP Workflow Users' Group'
> Subject: RE: Using Factory Calendar
>
> Hi Rick,
>
> Thanks for the response!
>
> My question is - since I have two deadlines (+3 days and +5 days for requested and latest end - which I specify only at workflow step level) - how do I pass this offset information (+3 or +5 information) to the deadline object ZFactoryDeadline?
>
> The +3 / +5 days is what I define at the workflow step level - now how does this offset information reach the method 'END_TIME_DETERMINE'?
>
> Suppose I execute method 'END_TIME_DETERMINE' on a holiday specifying only the calendar ID and empty offset and time unit - will it return the holiday date / next working date?
>
> Br,
> Hari
>
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Rick Bakker
> Sent: Wednesday, June 29, 2011 1:48 PM
> To: SAP Workflow Users' Group
> Subject: Re: Using Factory Calendar
>
> Hello,
>
> 1) To see factory calendars:
> /nSPRO -> SAP Reference IMG > SAP NetWeaver > General Settings >
> Maintain Calendar
>
> 2)  I don't understand the question. If the OFFSET and TIME are empty
> you would either get an error or today's date and time.
> Try it out. If today is a non-work day and you use no offset then I
> would guess that it would return today.
>
> regards
> Rick Bakker
> hanabi technology
>
> On Wed, Jun 29, 2011 at 6:06 PM,  <hari.bommaraju at accenture.com> wrote:
>> Dear WUG,
>>
>>
>>
>> Need your advice!
>>
>>
>>
>> We have a requirement where we need to use both the deadlines "Requested
>> End" and "Latest End" in the invoice approval step. A reminder mail has to
>> go in case of "requested end" and the work item has to be logically deleted
>> in case of "latest end".
>>
>>
>>
>> In the invoice approval step, the reference date/time is the "work item
>> creation" and the time for "requested end" is +3 days and for "latest end"
>> is +5 days.
>>
>>
>>
>> Now - the business asks us to use factory calendars in this regard - to make
>> sure they do not get notification on week ends / holidays.
>>
>>
>>
>> I have created a ZFactoryDeadline object as suggested in the book "Practical
>> Workflow for SAP".
>>
>>
>>
>> My questions:
>>
>>
>>
>> 1) Is there a table that I can refer where we can find the Factory Calendar
>> ID based on the company code?
>>
>>
>>
>> 2) Will the function module 'END_TIME_DETERMINE' always returns a working
>> day / non holiday - even when the OFFSET & TIME unit are empty? [Since
>> offset is not fixed here as we have +3 and +5 for requested and latest ends
>> respectively]. I mean I just pass the factory calendar ID and the offset (+3
>> / +5) I would anyhow be providing at the workflow step level - will it still
>> work?
>>
>>
>>
>> Br,
>>
>> Hari
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ________________________________
>> This message is for the designated recipient only and may contain
>> privileged, proprietary, or otherwise private information. If you have
>> received it in error, please notify the sender immediately and delete the
>> original. Any other use of the email by you is prohibited.
>>
>> _______________________________________________
>> SAP-WUG mailing list
>> SAP-WUG at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information.  If you have received it in error, please notify the sender immediately and delete the original.  Any other use of the email by you is prohibited.
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>




More information about the SAP-WUG mailing list