How to calculate compression days in MRP Workbench

Hi ,
I would like to know how system is calculating Compression days in MRP work bench , we are in 11.5.10.2
We see different compression dates for the same quanties.
Thanks in Advance
Kiran

Kiran,
You may have the same quantity but if the need by date is different, you will get different compression days.
e.g. Say today is the 1st. An item is needed on 10th as well as 20th. Both requirement quantities are 10. Also assume for simplicity that your client works on a 7 day calendar. Say the lead time of the item is 30 days and the minimum order quantity is 50.
MRP will generate one requisition for quantity of 50 and use it for both requirements.
But the first requirement will get compression day sof 20 (30 days of lead time - 10 days from now = 20) while the second requirement will get compression days of 10 (30 days of lead time - 20 days from now = 10)
Hope this helps,
Sandeep Gandhi

Similar Messages

  • What are the Calculations of Compression days in MRP?

    Hi,
    Can anyone please explain me with example that what are the calculations for compression days calculated for planned orders?? I am using MRP planning.
    Thanks and Regards
    Farhan

    HI,
    compression days are the days by which lead time of your buy items gets compressed to fulfill the demand due dates.
    For ex,  Finished Good is having Due date ( as scheduled ship date/request date in SO)   on 15th of Feb, but the buy item used in this assembly has lead time of 20 days.
    Consider the plan is running today i.e. on 6th Feb, so buy item will be actually available  on 6+20=26th of  Feb,
    But your demand due date is 15th Feb, which needs to be met, so planning engine will suggest an exception for this buy item as 'Item with compression days'
    by compressing its lead time as 26th Feb-15th Feb=11days as compression days.
    Please mark this post as correct or helpful it serves your purpose.
    Thanks,
    Avinash

  • How to calculate 40 days pay

    Hi Experts,
    One employee joined 23 of July.Now how to calculate that  7 days pay in the month of August.for that 7 days we have to calculate PF, ESI and P Tax.
    Thanks in Advance.

    Probably you don't need to bother for the same. System wil take care of all the calculation.
    Still if you are facing any issue, then put the scenario.
    Edited by: Praveen Tiwari on Aug 9, 2011 11:28 AM

  • How to calculate the days between last movement of material till today date

    Hello Experts,
    Could someone help me please?
    I have a key figure in the InfoCube 0IC_C03 witch contain the last date of movement of material.
    (it is a key figure created in format date and contain the max value).
    How can I to calculate the number of days between this date (last movement),  till today date (system date).
    I need to show:
    material........last movement.....days without movements.
    xxxxxxxxxxx.....dd/mm/yyyy..........9999
    Im trying to do this calculation in bex using variable formula but it doesn't work becouse current date (customer exit) brings sy-datum in format yyyymmdd and the kf-last-mov is in format number (I dont know what kind of number)
    Thanks in advance,
    Points are assured.
    Regards,
    Silvio Meurer.
    Message was edited by:
            Silvio Meurer

    Hi Parth,
    Here we are using the version 7.0 and SP 10, I'm afraid I could not understand you. I Can't find the function DATE_DIFF (Where is it?)
    I'm using the formula and it doesn't work. Coud you see the result is:
    last movement date     Today date        result
    02.04.2007                  20.070.625       19.337.856
    18.05.2007                  20.070.625       19.337.810
    the "today date" is from customer exit and the result is a strange number to me.
    Could you help me?

  • BSIK-ZTERM - How to calculate net days?

    Dear forumers,
    I have a question regarding calculating the scheduled date of a vendor invoice, as follows:
    Scheduled Date = BSIK-ZFBDT + BSIK-ZTERM.
    I was told that in order to do this, I will need to first know the net days associated with each BSIK-ZTERM, for example, 030N has 30 net days.
    Please help me out here as to how to obtain the net days.
    Many thanks in advance.
    P/S: I have viewed this [thread|Due date calculation; and it seems useful, but I am still unsure on how to proceed with the FM mentioned there (NET_DUE_DATE_GET) as the it only deals with BSID fields. Please help.

    Hi Martin,
    Thanks for your explanation here.
    I will be looking into the FMs again and will see how things go.
    Hello MxG,
    You mentioned that the due date can be derived directly from BSIK-ZFBDT + BSIK-ZBD1T.
    Will this due date mean the same as the scheduled date that I'm looking for?
    Thanks for your help here.
    I apologize for the multiple posting of my replies here. There were many internal server errors while replying to this thread earlier, and I can't delete the unnecessary replies anymore - please ignore them here. Thanks.
    Edited by: Deborah Tan on Jan 7, 2009 4:30 AM

  • How to calculate the days with a date field

    I need to make a query that shows the number of flown days at the end of the month for the whole fleet, given a date that represents one day within that month.
    I would appreciate all the help I can get
    thanks in advance

    Hi,
    I am not sure if I interpreted your question correctly, but are you looking for counting for number of days between two days?
    If yes, see if the following example query helps you.
    SQL>select to_date('30-Jun-2003') - to_date('30-May-2003') from dual
    - this returns 31.
    If not, could you please give more details of your requirement with an example?
    -Savitha.

  • How to calculate a number of calendar days from a start date (e.g. 60 days from 3/10/2012)

    How to calculate a number of calendar days from a start date (e.g. 60 days from 3/10/2012)

    DT,
    If the starting date is in Column A, and you want to calculate what the date would be 60 days later, in Column B, write in Column B:
    =A+60
    Couldn't be much easier.
    Jerry

  • How can I calculate a day of a week?

    I want to calculate a day of a week.But I always getting ArraysOutOfBoundException.Here's my code:
    import java.util.*;
    import javax.swing.*;
    class daydate{
         public static void main(String args[])throws Exception
         String arr[]={
              "satarday","sunday","monday","tuesday","wednesday","thursday","friday"
    String output="",op="",m,m1,m2;
         Calendar calendar=Calendar.getInstance();
         int i=calendar.get(Calendar.DAY_OF_WEEK);
    /*if(i>6)
         i=i-7;*/
    // System.out.println(i);
         output+="\ntoday is :"+arr[i]+"\n";
         JOptionPane.showMessageDialog(null,output,"day",JOptionPane.INFORMATION_MESSAGE);
         m=JOptionPane.showInputDialog("Enter year.");
         int n=Integer.parseInt(m);
    m1=JOptionPane.showInputDialog("Enter month.");
         int n1=Integer.parseInt(m1);
         m2=JOptionPane.showInputDialog("Enter date.");
         int n2=Integer.parseInt(m2);
    calendar.set(n,n1,n2);
    int j=calendar.get(Calendar.DAY_OF_WEEK);
    /*if(j>6)
    j=j-7;*/
    //System.out.println(j);
    op+="\nthat day is/was :"+arr[j]+"\n";
         JOptionPane.showMessageDialog(null,op,"day",JOptionPane.INFORMATION_MESSAGE);
    System.exit(0);
    the error is:
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 7
         at CalculateDay.main(CalculateDay.java:28)
    I wonder using calendar.get(Calendar.DAY_OF_WEEK) makes the value of i=7;But my array's highest value is 6.That's why I always get the above error.
    How can I solve that?

    I think the DAY_OF_WEEK is working from 1 to 7, and
    Saturday, on my PC (UK GregorianCalendar) is 7. Your
    array is based 0, and only work from (0-6).
    Either subtract 1 from the value DAY_OF_WEEK, or add
    a blank item at the beginning of the list.
    Better, I think is used the built-in capability using
    public String getDate(String format){
    Calendar c = new GregorianCalendar();
    Date d = cal.getTime();
    DateFormat df = new SimpleDateFormat(format);
    return df.format(d);
    You can then call the getDate() with various formats
    ie.
    getDate("EEE") alone to get "Wed, Thur" .. etc
    getDate("dd/MM/yyyy HH:mm:ss") to get the current
    Date and time in that format.
    Hope it helps.Thanks William for your valuable help.Anyway,you wrote,
    Date d=cal.getTime();
    Is it cal or c?

  • How to calculate acquisition value for specified day

    Hi,
    in my z program I have a problem how to calculate acquisition value for my asset for specified day.
    Example:
    I have asset created 8.7.2008 with TTYPE 104 (External asset acquisition) with value 5950.
    30.11.2008 there is another TTYPE 272 (Retirement of current-yr acquis., w/o revenue) with value 950.
    So BEFORE 30.11.2008 acquisition value is 5950. After is 5000. Is there any function module (or something else) in SAP system where I can send asset number and date a it return to me acquisition value for that day?
    Many thanks for any answer!

    Hi,
    your suggestion means that I have to compute acquisition value by myself (sum all TTYPE 1** - sum all TTYPE 2**). So SAP does't provide such functionality (LDB ADA have it, because it can compute acquisitiob value for specific day)?
    Mant thanks for answer

  • 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 to calculate total no of days in List column

    Hi,
    I've start date and end date. Can you please help me how to calculate total number of days.
    Column Name = Leave Start Date (05/02/2015)
    Column Name = Leave End Date (19/02/2015)
    Column Name = Total Days (This is calculated column)
    I used below formula but its showing only 14 days however it should show 15 days
    =DATEDIF([Start Date], [End Date],"d")
    Thanks,

    I got the answer
    Formula is
    =DATEDIF([Start Date], [End Date]+1,"d")
    Thanks.:)

  • Does the profile "MSC: Auto-Release Compression Days Tolerance" work with MRP or just ASCP?

    Does the profile "MSC: Auto-Release Compression Days Tolerance" work with MRP or just ASCP?

    All the objects starting with MSC are owned by ASCP and will only be supported in ASCP and no where else.
    Same goes for this profile.
    Thanks,
    Abhishek Sharma
    Please mark the post correct or helpful, if answered

  • How to calculate days between two DATES

    How to calculate days between two DATES ?
    which is the functional module for that ?
    help me

    Hi,
    use function module : it works,
    HR_HK_DIFF_BT_2_DATES
    give output format = 03 and get the value in days.
    code is as below :
    data : DATE1 type P0001-BEGDA,
    DATE2 type P0001-BEGDA,
    YEARS type P0347-SCRYY,
    MONTHS type P0347-SCRMM,
    DAYS type P0347-SCRDD.
    date1 = '20070331'.
    date2 = '20070101'.
    CALL FUNCTION 'HR_HK_DIFF_BT_2_DATES'
    EXPORTING
    DATE1 = date1
    DATE2 = date2
    OUTPUT_FORMAT = '03'
    IMPORTING
    YEARS = years
    MONTHS = months
    DAYS = days
    EXCEPTIONS
    INVALID_DATES_SPECIFIED = 1
    OTHERS = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    write : days.
    Reward points, if helpful,
    Regards,
    Sandeep Kaushik

  • How to calculate total for field for particular day. in smart forms

    hi,
             pls help in this problem,
    how to calculate cumulative totals for the particular field in samrtforms

    Hi ,
    Either you can calculate the sum in driver program with
    Loop at where Condition .
    Sum the required field .
    endloop .
    Then pass it to smartforms
    Or
    Double Click on table node .
    In the conditions tab give the required condition .
    select calculation tab.
    In operation select Total , in field name give the name of the field you want to sum
    and in targer field name specify the name of the field that should contain the result .
    To convert the total in to words use the function module in program lines
    CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
    EXPORTING
    amt_in_num = w_total
    IMPORTING
    AMT_IN_WORDS = w_total_words
    EXCEPTIONS
    DATA_TYPE_MISMATCH = 1
    OTHERS = 2
    Regards

  • How to calculate Average balance for an account

    Hi,
    How to calculate average balance for an account for a particular period say for JAN-12 period and after the end of that period for another two days 01-feb-12 and 01-feb-12 ?
    I'm using the following query :
    SELECT cc.segment1||'-'||cc.segment2||'-'||cc.segment3||'-'||cc.segment4||'-'||cc.segment5||'-'||cc.segment6 "Account_XX",
    nvl(sum(l.accounted_dr - l.accounted_cr),0) "Balance"
    FROM gl_code_combinations cc,
    gl_je_lines l
    WHERE cc.code_combination_id = l.code_combination_id
    AND l.set_of_books_id ='XX'
    and code_combination_id = replace it with code combination_id for account_xx
    AND l.effective_date <= '31-Jan-12' (january period end ??)
    GROUP BY cc.segment1||'-'||cc.segment2||'-'||cc.segment3||'-'||cc.segment4||'-'||cc.segment5||'-'||cc.segment6
    There are some discrepancies in "average balance" after end of month (Jan-12)?
    How to calculate average balances for a particular account (Account_XX above)from end of month of Jan to first two days of february?
    Thanks,
    Kiran

    Kiran,
    Please let me know first, is Average Balancing feature enabled in your GL Ledger?
    Regards
    Muhammad Ayaz

Maybe you are looking for

  • How do you Shut Down your Mac?

    I just converted from Windows to Mac yesterday and today I'm trying to shut down my Mac, but there's no Start button! How can I get my Start Button back?

  • ABAP dump coming at the time of displaying error message.

    Hi to all I have written a code in user exit . At the time of saving ABAP dump is coming instead of showing error message. Error analysis     The program attempted to issue a " " message during "Exit Command" processing. This is an illegal operation.

  • Personal Edition and

    Hello Oracle Community, I have bought a personal edition, it is like an enterprise edition for just one person. My question is, I am allowed to install options like partitioning as well or do I need to buy them extra ? Krischer

  • Storing users workspace information in XML

    Hi, I have to store users workspace information in XML file so that user can retreive it later. The information that needed to be stored can be any thing. This XML file will be stores in oracle back end. Well i am not totally well aware of XML advant

  • Regarding Pdf to xml export

    Hi Experts, I have pdf which i created in adobe acrobat pro.by using acrobat pro i was able to export pdf to xml(More form options -->Export Data->SaveAsType-->xml) which i want .but i want to do this in a button click to do the same export option. i