How is lead time in working days calculated in 2LIS_05_QVUDN

I was wondering if someone knows how lead time is being caclulated for 2LIS_05_QVUDN.  I've found the tables associated and the function module but I can't find the actual calculation
Thanks

Hello
The lead time in working days works like this
If you have 1 inspection lot for a material   -the time from  Lot creation to Usage decision given  is the lead time.
                                                          Lot created               Usage Decision made       Lead Time
for eg Material X , inspection lot no   14/05/2008 10: 00          14/05/2008 14: 00            4 Hours
it converts the hours in to days . =4/24= 0.16 days
For total lead time individual lot's lead time sum is calculated
Hope this clarifies your doubt
Regards
gajesh

Similar Messages

  • How to Calculate the Actuall work days ....

    Hi Friends,
    how to calculate the Actuall Working days Based on the Joining date for 5day work and 6 days work?
    is there any FM to calculate this?
    Thanks in Advance,
    sudha.

    Hi Sudha,
    In your company , If they are maintaining Time Events then you can get the information of Employee's Presense or Absense from infotype 2011 (Time Events) and Absense from 2001 (Absense)..
    Also Consider Factory Calender for it.. and check out working days..
    Table TEVEN
    Try below FM as well..
    HR_DV_TIMEEVENTS_GET
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • How does the time machine work

    how does the time machine work....I need to find an older version of a document...

    Hi mogburn,
    Time Machine is part of the System software, not a feature of the word processing and page layout application, Pages, the topic in this community.
    That said, Time Machine is pretty easy to get into.
    In the Finder, open the folder containing the current version of the file.
    Select the file, then click on the Time Machine icon in the menu bar and choose Enter Time machine.
    The folder window will move to the center of the screen, and two arrows will appear near the lower right corner of the window.
    Click the one pointing back to go back in time, and the one pointing toward the front (of the computer) to return to the present. The display will stop at each saved version of the file along the way.
    Need more details? Try asking in the Mac OS X v10.6 Snow Leopard community.
    Regards,
    Barry

  • How is lead time calculated for QM notifications

    Can somebody please tell me what fields are used to calculate lead time?  It is field SUMDLZT in MCQMEL?  Is there documentation on how this is calcuated?

    MICK,
    Could you give more details on the same / explain a scenario for which you need this information.
    Since there has been no activity on this post for about a month , I will close this as answered , however if you still want this to be answered - mark it an unanswered and add more details to the same so that you can get more relevant answers.
    Arun

  • How does the time capsule work?

    I am unfamiliar with this device. Can anyone explain how this works? I have a Gateway NV79, an IPad 2 and an IPhone. Will the time capsule work with these devices and a printer(Officejet Pro 8600)? If so, how does it do this? I am also wondering how it works as a router? Does it provide the internet access itself or do you have to have a separate source of internet to link to the device?

    A Time Capsule is a wireless router and a hard drive in one package. It does not have a modem built in, so a modem and broadband service is required if you want to be able to connect to the Internet.
    As a wireless router, the Time Capsule can provide connections for up to 50 users and 3 wired Ethernet devices. If you need more Ethernet connections, a switch can be easily added to the Time Capsule for that purpose.
    Your printer could connect to the Time Capsule using either a wired Ethernet connection or wireless connection
    Apple's literature does a good job of describing the product. Be sure to click the links in the upper right hand corner of the main page to learn more about the Backup capabilities, Wireless performance, and detailed Specifications.
    Time Capsule

  • How to calculate number of working days

    Hi experts,
    I need to determine the number of working days from two given dates. Below is my example.
    1. Posting Date
    2. Clearing Date
    3. Processing Time in Days
    The formula is:
    Processing Time in Days = Posting Date - Clearing Date
    However, the above result should exclude non-working days such as Public Holidays, Saturdays and Sundays.
    This is to be done in my Transfer Rule.
    Can someone help me with this.
    Points will be assigned as usual.
    Thanks!

    Hi,
    With referece to  Florin Wach Reply in the following link:
    Re: FM to get number of working days in a date range for a calender
    Use the update rule(routine) for <i>Processing Time in Days</i> as below:
      DATA: date_begin         TYPE sy-datum,
             date_end           TYPE sy-datum,
             current_date       TYPE sy-datum,
             working_indicator  TYPE SCAL-INDICATOR,
             workdays           TYPE I,
             factory_calendar   TYPE SCAL-FCALID.
       date_begin       = DATA_PACKAGE-PSTNG_DATE.
       date_end         = DATA_PACKAGE-CLEAR_DATE.
       factory_calendar = '01'.
       current_date = date_begin.
       DO.
          IF current_date > date_end.
             EXIT.
          ENDIF.
         CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
              EXPORTING  DATE                 = current_date
                         FACTORY_CALENDAR_ID  = factory_calendar
              IMPORTING
                         WORKINGDAY_INDICATOR = working_indicator
              EXCEPTIONS
                   CALENDAR_BUFFER_NOT_LOADABLE = 1
                   CORRECT_OPTION_INVALID       = 2
                   DATE_AFTER_RANGE             = 3
                   DATE_BEFORE_RANGE            = 4
                   DATE_INVALID                 = 5
                   FACTORY_CALENDAR_NOT_FOUND   = 6
                   OTHERS                       = 7.
         IF SY-SUBRC <> 0.
            workdays = 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            EXIT.
         ENDIF.
         IF working_indicator IS INITIAL.
            ADD 1 TO workdays.
         ENDIF.
         ADD 1 TO current_date.
      ENDDO.   
    Result  = workdays.
    With rgds,
    Anil Kumar Sharma .P

  • Time Dimension Working Days

    Hi i have a calendar table
    Has Year , Month, Week, Date and a flag for a working day or not..
    Is there anyway i can use this working day flag in my Time Dimension Hierarchy so that under Date i can have another drill Working Days ...
    (Non working day is where flag = 'Y')
    Year - Month - Week - Day - Working Day
    or Even
    Year - Month - Week - Working Day
    Cheers
    Bibi

    Year - Month - Week - Working Day
    You could acheive this by putting a filter on your logical table source to exclude non-working days. Or maybe just remove the non working days from the source table
    The trouble with trying to put an extra level in beneath Day is that your primary key, I.e. your lowest level for the date dimension in this case is Day. Working Days won't roll up into Days as they are at the same level.

  • Work day calculations

    Hi
    I want to be able to calculate the difference between two dates on my form minus weekends. Is there a way to do this?.
    I have two Date/time fields one for depart and one for arrive, and i have a numerical field which contains the difference in days.
    I have the following FormCalc code on the numerical field calculate event.
    Date2Num(form1.page4.section11.sect11Body.arrivalDate.rawValue, "YYYY-MM-DD") - Date2Num(form1.page4.section11.sect11Body.departureDate.rawValue, "YYYY-MM-DD")
    This works, but i want to know if its possible to calculate only the working days.
    For eg. Depart Thurs 12th July
    Returning Wed 18th July
    Would equate to: 6 days or 4 working days.
    I've had a look for some javascript but couldn't find anything.
    Any ideas?
    thanks

    Hello dbuchanan,<br /><br />Same as above, I have two date fields called "leaveStart" and "leaveEnd" respectively. Leave starts on the first day absent, and leave ends on the first day back at work. No scrips in any of these.<br />Then I have a numeric field called "numDays" - read only. In this field I use this JavaScript in the 'calculate' propertyy: <br /><br />// An array with this years public holidays<br />//Should probably be a bit more dynamic than this<br />var hdayar = [<br />     "2007/01/01", <br />     "2007/03/21", <br />     "2007/04/06", <br />     "2007/04/09", <br />     "2007/04/27", <br />     "2007/05/01", <br />     "2007/06/16", <br />     "2007/08/09",<br />     "2007/09/24",<br />     "2007/12/16",<br />     "2007/12/17",<br />     "2007/12/25",<br />     "2007/12/26",<br />     "2008/01/01"];<br /><br />var startBox = xfa.resolveNode("leaveStart");<br />var endBox = xfa.resolveNode("leaveEnd");<br /><br />/***Clear field at every 'calculate' event***/<br />this.rawValue = "";<br /><br />/***Leave***/<br />// Only calculate further if both the start and end dates are known<br />if ((startBox.rawValue) && (endBox.rawValue)){ <br />     var start      = util.scand("yyyy-mm-dd", startBox.rawValue);<br />     var end       = util.scand("yyyy-mm-dd", endBox.rawValue);<br />     var lsday     = start.getDay();<br />     var leday     = end.getDay();<br />     <br />     // Exit if ether start or the end date falls on a Sunday (0) or Saturday (6)<br />     if (((lsday == 0)||(lsday == 6))||((leday == 0)||(leday == 6))) {<br />     }<br />     <br />     // only calculate further if the end date after the start date     <br />     else if (end.getTime() > start.getTime()){<br /><br />          //calculate number of days<br />          var days           = end.getTime() - start.getTime();<br />          days               = Math.floor(days / (1000 * 60 * 60 *24));      //remove decimals<br />     <br />          //calculate number of weeks<br />          var modulo      = (days)%7;<br />          var fweeks      = days - modulo;<br />          var weeks      = (fweeks)/7;<br />          <br />          //calculate number of week-end days<br />          var we_days = weeks * 2;<br />          if (leday < lsday){<br />               we_days = we_days + 2<br />          }<br />          <br />          //test for public holidays<br />          var phdays = 0;<br />          for (var i = 0; i <hdayar.length; i++){<br />                    if ((Date.parse(hdayar[i]) >= Date.parse(start)) && (Date.parse(hdayar[i]) <= Date.parse(end))) {<br />                    phdays ++;<br />               }<br />          }<br />          <br />          //total workdays is days - weekends - publick holidays<br />          this.rawValue = days - we_days - phdays;<br />     }<br />}<br /><br />So now we handle weekends and holidays correctly - I think. Until someone finds the other bugs in here :-)<br /><br />Regards<br />Jan

  • Work day calculator

    Hi All, I'd like to do a function in Numbers whereby a day is considered as 8h and I can then multiply a day rate by this.
    I want to enter the data as days and hours.
    eg:
    Header 1
    Duration
    Day rate
    Header 4
    01d 4h -> (this is calculated as 1.5 days)
    $400
    $600
    01d 9h -> (automatically corrects to 2d 1hr -> 2.125)
    $400
    $850
    0d 5h -> (calculated as .625 days because 8hr day)
    $400
    $250
    any help appreciated

    I think you will add lots of complexity trying to use the duration (which can represent  Weeks Days Hours Minutes Seconds and Milliseconds)
    If you enter in hours only (just a number like, 12) not as a duration ("1d 4h" or "12h") you can computer Work Days like this.
    Assume you enter work hours in cell B2 AND
    that a work day is the same as 8 hours
    C2=B2/8

  • How To Get Last 5 Working Days ?

    It should take saturday and sunday as non-working days.
    I need to take care of month changes also. The preceeding month can be of 30 , 31 or 28 days. We need to take care of year change also. The java Date class doesn't work well , even Calendar abstract class also doesn't do well if month change from
    feb to jan , mar to feb , may to apr , jun to may ,aug to jul , nov to oct is required.
    if input date given is 5 Feb 2001(calculate last 5 working days)
    the output dates should be
    5/2/2001
    2/2/2001
    1/2/2001
    31/1/2001
    30/1/2001

    Here's an exmple:
    //last 5 working days
    import java.util.*;
    class LastFiveWDays{
         public static void main(String [] a){
              boolean done = false;
              int i=0;
              Date date = new Date();
              Date[] lastFive = new Date[5];
              GregorianCalendar cal = new GregorianCalendar();
              while(!done){
                   if( cal.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY ||
                        cal.get(Calendar.DAY_OF_WEEK) == Calendar.SATURDAY ){
                             //skip
                             cal.roll(Calendar.DATE, false);
                   else{
                        date = cal.getTime();
                        //add to array
                        lastFive[i] = date;
                        cal.roll(Calendar.DATE, false);
                        i++;
                   if (i>=5) break;
              print(lastFive);
         public static void print(Date[] arr){
              for (int i=0;i<5;i++){
                   System.out.println(arr.toString());

  • How to make Time Capsule work with L2TP

    How do I setup Time capsule to work with an L2TP connection? The technical specification says that it should work with VPN Passthrough options (including L2TP) - but I see no options to select.

    Agreeing with Jolly Giant that you don't need anti-virus software to protect your Mac.
    You do, of course, need the usual array of security stuff if you're running Windoze, but only on the Windoze side. TM won't back-up a Boot Camp partition, and if you're running via Parallels, vmWare, or the like, you should exclude the virutal machine from TM anyway, and back it up separately via a Windoze app.
    If you're worried about passing Windoze viruses between your PC friends, get the (free) ClamXav app (via Google). It's the least intrusive.

  • Check without RLT (Replenishment Lead Time) not working as expected

    Dear All.
    We're seeing a sales order ATP situation for externally procured materials, in wihch RLT is not checked.  Or at least we've flagged the checkbox in atp config to not include RLT. 
    However, RLT is still picking up the planned delivery time and GR time.
    And if I blank out the GR time and planned delivery timie, then it just confirms it.
    It acts like RLT is still being used in the check even though RLT is turned off in the availability control (OVZ9)?
    Ideas?  Anyone see something like this?  Does it only work on internally procured materials?
    Many Thanks!!!

    RLT is turned off in the availability control (OVZ9]
    Make sure, the box is checked in OVZ9 to avoid RLT in the availability check. You can do more analysis, by highlighting the sales order line item, then clicking the display availability button. In the next screen click on scope of check button, which shows the OVZ9 details.
    Did you check other parameters like Route, pick/pack time?
    Regards,

  • How to calculate number of working days in current month?

    hi gurus,
    In a customer exit I am trying to check if the system date is the 3rd business day of the current month.  Is there any FM module that i can use?
    thanks in advance...

    Use this Function module WDKAL_DATE_ADD_FKDAYS.

  • How to make Time Capsule work with Symantec Antivirus

    I have a MacBook that backs up well with my Time Capsule as long as I disable Symantec Antivirus (version 10.1.1). There are plenty of postings that suggest to just turn of the antivirus and leave things as such, but I am wondering if there is an actual way to have both the Antivirus running ("enabled") and have the MacBook successfully backup to the Time Capsule. When the Antivirus is enabled, the Time Machine is not able to create the backup directory (that's the error message I get).

    Agreeing with Jolly Giant that you don't need anti-virus software to protect your Mac.
    You do, of course, need the usual array of security stuff if you're running Windoze, but only on the Windoze side. TM won't back-up a Boot Camp partition, and if you're running via Parallels, vmWare, or the like, you should exclude the virutal machine from TM anyway, and back it up separately via a Windoze app.
    If you're worried about passing Windoze viruses between your PC friends, get the (free) ClamXav app (via Google). It's the least intrusive.

  • Lead time taking 1 day extra

    Hi,
    The delivery date has been postponed by one day (or more if not all days are routing days)… and there is no reason for that as far as we can see, the stock is available, and it is possible to create the delivery manually with the mat.av. date of the following day.

    HI,.,
               In Facory calender check whether any holiday  there in between
    Award points if helpfull
    Thanks & Regards
    Narayana
    Message was edited by:
            manam narayana

Maybe you are looking for