How to set execution time of the step with business days in the workflow

As we know, we can set how many days later the step should be execuated after previous step. now, the problem is how to set the business days (days except sunday and sataurday) for it. any one has good solution on it.

Hi Nick,
In order to find the Next working day you need to check for the Factory calendar days for eg, if a workitem has invoked today and if the Approver doesn't release the workitme for which u want to send a mail/reminder to the approver after say next 5or 6 working days, you need to create a function module.
For eg: In case of Purchase order, if the approver doesn't release the PO .
Create a Method saying "Next working day" , in which you will be passing the import parameters : PO, Factory calendar day and the sy-datum
and export parameter : date.
Create Input date and No of days as container elements of the Task and in the method create a Function module
In case of PO, consider the Factory calendar key from the T001W  by joining the table EKPO there by passing the PO.
then pass the date, No of days(say 5 days) and the Factory calendar key  to the "WDKAL_DATE_ADD_FKDAYS" , you will get the next working day of the employee.
Don't forget to check the Binding properly.
Do implement this logic and check the same.
Regards
Sharief

Similar Messages

  • How to extract execution time of a step

    how to extract execution time of a step ?
    This step calls another sequence, and
    I want to know how long it take to execute that seqeuence.
    I need this information during run time, not in the
    report.
    thanks.

    Hi,
    You could try.
    Enable the Record Result for the step in question.
    This will allow you to extract the TotalTime.
    Then you could use the RemoveElements(Locals.ResultList,"[0]",1) - this assumes you have only logged one result. This is the same as not recording results for that step.
    Otherwise you will have to workout the time yourself by calling the API Execution.SecondsExecuting() - API Execution.SecondsAtStart().
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • How to find the last 4th business day of the month (not include weekend)

    Hi,
    I need help how to code the ABAP program to locate the last 4th business day of the month (not include Satuday, Sunday and holidays).
    For example for the last 4th business day in 2008 are:
    1/28/2008,
    2/26/2008
    3/26/2008
    4/25/2008
    5/27/2008
    6/25/2008
    7/28/2008
    8/26/2008
    9/25/2008
    10/28/2008
    11/21/2008
    12/26/2008
    Thank you so much!
    Helen

    Hello Helen
    I would use a two-step approach:
    (1) Set date to the first of day of month (e.g. 20080201 = 01.02.2008)
    (2) Subtract four working days from this date
    If I remember correctly there is a function group BKK available which contains fm's for adding workdays to a given date (search for 'BKKWORKDAY). To subtract a number of working days use a negative number.
    See also: [BKK_GET_MONTH_LASTDAY|reg :BKK_GET_MONTH_LASTDAY;
    Regards
      Uwe

  • How to set up time capsule with BT Infinity

    how to set up time capsule with BT Infinity

    The easiest and sure way is to use bridge on the TC as the method of connection. The TC then becomes a device in your network and gets its IP from the main router that I presume BT supply.
    Method is,
    1. Plug the TC WAN port into the BT supplied modem by ethernet.
    2. Plug the computer you are using for the setup into the TC by ethernet.
    3. Run the airport utility .. go to internet tab on the top menu..
    In the bottom option, Connection Sharing choose off (bridged mode)
    4. Go to the wireless page and setup wireless connection as you like it.. using whichever band you want. And make sure security is set to the highest setting, wpa2 personal. Put in a decent wireless passkey.
    5. Press the update and fix whatever else the TC will show as needing fixing.. usually security stuff.
    6. You can then disconnect the ethernet and connect by wireless if you want. Any port on the TC will now be a LAN port, including WAN.
    This is assuming BT supply a wireless router with built in vdsl/other type of modem. If so you normally will not be able to bridge the modem, unless BT are using pppoe authentication which they haven't in the past.
    If you really need to use the TC as a router then you will need to work out an alternative method. You can double NAT by placing the TC in the DMZ of the BT router if that is an option. It is not without issues in general.

  • How to set delay time in tooltiptext

    Hai,
    I'm developing desktop application by using SWINGs in that app there in some text fields for that i have written mouseEntered method.
    in that method i used tooltiptext. It working properly. I need it to display message upto mouseout from text field.
    so any one could please help me how to set delay time for the tooltiptext.

    Read the API for avax.swing.ToolTipManager. Also, you don't need to use a MouseListener, just call setToolTipText or override getToolTipText.
    db

  • HT1178 I have set up Time Capsule to use with Time Machine.  When I open Time Machine it 'cannot find' the Time Capsule and I have the Select the Disk each time.  In the Next Backup tab it always says "When disk is connected" even though the disk is alrea

    I have set up Time Capsule to use with Time Machine but when I open Time Machine it 'cannot find' the Time Capsule and I have to 'Select the Disk' each time. In the Next Backup tab it always says "When disk is connected" even though the disk is already connected.

    Your pro doesn't matter.. I presume it is happily working.
    Your imac setup has got messed up because you changed from a local (my book being USB type I presume) to network drive. Did you do a clean install of Lion?
    Did you use the backup from the Pro on the imac? Otherwise I don't see how the Pro shows up in use previous disk. Where is Pondini when you need him??
    You cannot download Time Machine as an App and replace the current version. It is built into the OS.. the only way to do it is a clean install. Unfortunately that might be the only way around the issue.
    There is a number of issues that Pondini has covered in the setup issues of troubleshooting.
    This is the most relevant I think. http://pondini.org/TM/B6.html
    But look at the whole section B setup problems.
    http://pondini.org/TM/Troubleshooting.html
    If it was me, I would store all the info you need.. not using TM but using a straight copy of files.
    Then clean install Lion. I doubt any of these issues would exist if you had not installed Lion over existing setup or used a different backup.
    See if you can get Pondini to respond.. !!

  • How to set default time for appointment

    When I had snow leopard, the default time for length of an appointment was one hour.  I upgraded to Lion and now the default time is many hours.  Can't seem to find the area to change the default.  Keith

    Hello User,
    Check this:-
    Sasi Nagireddy: How to Set Default Time Zone for all Users in OBIEE?
    Thanks,
    Sasi Nagireddy..

  • How to set expiry time for cached Subjects of authenticated proxy service.

    How to set expiry time for cached Subjects of authenticated proxy service in message level authentication.
    Because of this, password change does not effect immediatly in proxy invocation.
    I'm using Weblogic 10.3 and OSB3.0

    Hi,
    You can activate Time-Dependent Publishing Service on your XML form and once the Lifetime of Documents is over then the document is not visible to users.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c1/c87d3cf8ff3934e10000000a11405a/frameset.htm
    It is only invisible but not deleted!
    So to delete all expired XML Forms you should run Scheduler Tasks for Time-Dependent Publishing:
    <b>TimeBasePublishingUnpublish</b>
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3a/bc37b5789dee4eaa8005bff84f14cf/frameset.htm
    You can also create your own Scheduler Task which deletes/archieves all expired XML Forms.
    Greetings,
    Praveen Gudapati
    [Points are welcome for helpful answers]

  • How to set snooze time

    Hi ,
    Please let us know how to set snooze time to 5 mintues in Iphone5. At present it is having snooze interval of 10 minutues.
    We are able to see Snooze off / on but i need to reduce snooze time from 10 minutes to 5 minutes.
    Appreciate your valuable inputs.
    Thanks

    It says in the User guide about the snooze:
    "Don't want to get up just yet? When an alarm sounds, you can snooze the alarm. This pauses the alarm for a predefined length of time.
    When the alarm sounds, select snooze."
    My question is how can I do the predefining? It is now 10 minutes and I would like to make it shorter.
    Another question was, if I can define the alarm volume separately from the other sounds of the phone? How can I set the phone mute for sleeping time, and still use the alarm to wake upp?

  • How do I access my external drive over the web with my iPhone. The drive is attached to my Time Machine.

    How do I access my external drive over the web with my iPhone. The drive is attached to my Time Machine. I am new to Apple and am trying to get all my stuff working together.

    This is not a supported feature of iPhone or Time Capsule.

  • How to set border lines in table and also in template in the smartforms ?

    How to set border lines in table and also in template in the smartforms ?
    As I have to create table with following detals
    total row = 3
    row1 = 3 column
    row2 = 6 column
    row3 = 9 column
    for 2nd and 3rd row data to be fetched using coding.
    so can anybody explain me what should i use
    Table or Template ?
    and I want the border like excel format.
    Can anybody suggest me ?
    Thanks
    naresh

    if the data is multiple i.e. line items choose table.
    if the data is single i.e. fixed choose template.
    Create table
    >  Draw u r no lines
    > choose option select pattern
    > select display framed patterns
    Choose u r required one.
    out lined, or full lined. u can choose option.
    same procedure to be followed for template also.
    with regards,
    Kiran.G

  • Hi, I set up my new iPhone S4 with iclouds. So the data of my old S3 should move to the S4. However, some applications could not be loaded on the S04. Now some apps are loaded and others not . How can I progress?

    Hi, I set up my new iPhone S4 with iclouds. So the data of my old S3 should move to the S4. However, some applications could not be loaded on the S04. Now some apps are loaded and others not . How can I progress?

    Thanks. I can change the forwarding settings in Gmail to be either POP or IMAP. That is quite simple. I just looked at those settings on the Gmail server and, to my surprise, both are enabled. In order for outlook client on my computer to receive IMAP emails I have to change the email account settings in my current outlook from POP to IMAP. I don't need to be using the Exchange version of Outlook to receive IMAP. I guess I'll do a little research tomorrow on Exchange so i can figure out what, if anything, it might do for me.
    I glanced at the link you sent me and it looks like it might be very helpful - another project for tomorrow.
    BTW: I hit "This Solved my Question" by accident. I meant only to "like' your response so you would get some benefit from the help you've given me so far. I hope I haven't discouraged others from taking a shot at helping me. I suspect there is more than one way to approach this and, as you know, my problem isn't really solved until I have what I need all set up and running smoothly.

  • HT201413 how do i test a port on my windows 7 computer? i followed the steps in this article, but the command prompt said that "telnet" is not a valid command.

    So I havent been able to connect to the iTunes store since June. It's getting a tad annoying. I followed all of the troubleshooting steps that i could find, and I am currently on the last one, which involves making sure that the ports that iTunes needs to function are open on my computer. I followed the article that was telling me how to do this, found my ip address, and was on the step where you actually check the port. I was told to use the command telnet, but when i did, the command prompt told me that " 'telnet' is not recognized as an internal or external command, operable program, or batch file." So, I seem to be stuck. If someone could enlighten me on how to actually check if a port is open, or how to fix error code 11222, please let me know.

    Windows 7 may need telnet installed, as mentioned in http://technet.microsoft.com/en-us/library/cc771275(v=ws.10).aspx
    I think 11222 is actually support.apple.com/kb/TS4123. Is that what you see?
    I'm guessing you have one of the programs listed there and updating it may resolve.
    Tricky bit is some software is bundled with other software - like RealPlayer Plus bundles Speedbit.
    I hope that helps.

  • HT201250 which external hard drive should I choose/use as I am setting up Time Machine on my MacBook Pro 15 for the very first time?

    Which external hard drive should I use/choose as I am setting up Time Machine on my MacBook Pro 15 for the very first time?

    Any of these SATA HDDs that are at least the same size as your internal HDD (preferably larger capacity).  In addition you will need an enclosure, preferably one with a Firewire as well as a USB connection.
    http://eshop.macsales.com/shop/hard-drives/2.5-Notebook/
    Ciao.

  • How to set different icons for different windows which is seen in the top left corner?

    Hi
    How to set different icons for different windows which is seen in the top left corner? I know when building exe there is a option to edit icons or add icons and that icon is default for all the windows in the project. But i want different icons for different windows which is possible in VB.
    Is there any way to set icon by calling any dlls.
    Thanks & Regards
    Samuel J
    [email protected]

    Hi Sam,
    no problem. See the attachment.
    Mike
    Attachments:
    TestIcon_LV85.zip ‏44 KB

Maybe you are looking for

  • How to animate a reloaddata call for UITableView

    I have a nested set of choices a user can select, and I'm using a single UITableView to present these choices. The user can tap an item and if it has the UITableViewCellAccessoryDisclosureIndicator that means there are related items to be selected. I

  • Problem with adding web service

    Hi all, I have NetBeans IDE 6.5 and GlassFishV2 installed on my pc. I tried to add a new web service client from an existing WSDL url to my java project but I get this error during adding the web service: “WsCompile script failed during initial clien

  • Can't preserve opacity and gradients when viewing file outside of illy.

    Okay, so my image is basically a series of very intricate geometries, (made up of lines), superimposed over an image of the milky way. Some of the lines have 85 opacity and some have radial gradients applied to them. I'm wanting to email my file to s

  • Spry menu in IE showing as a white box????!!!! : /

    Hi All! Not sure what's happening, but the spry menu i created in DW is showing as a solid white box in IE?!!?!? Here's the site i'm working on: http://mariasdesignportfolio.com/IC/ If there's something in the CSS that's not compatible or what- ever

  • Video will not play, yet audio does.

    Like the header says, all of a sudden I go to work on a project I've never had trouble with and the video will not play; it is frozen wherever the cursor is. Yet the audio does play. I've tried clearing cache, clearing premiere cache, gone all over t