Current Month Capacity Availability in Capacity Data View

Capacity Data View Does Not Roll Forward - current month still shows full monthly capacity being available (744 hours for January 2008) even though we are on 01/11/2008 (504 hours left in January 2008).  Where in the configuration this value is calculated?  What change I need to make to the configuration to make the monthly capacity view rolling forward.
Appriciates all of your help.
Thanks.  Tom

I am not sure if you can debug the code. Anyway when you go into Macroworkbench, you can right click and pickup the option to look into the ABAP code generated behind the macros. It may be definitely more than 1000 line code and so am not sure if you want to go there. You may want to eliminate the macros in the capacity view one by one to exactly isolate the code that does the capacity calculation.
Alternatively as I suggested, you can use a user exit macro to do the calculation. The UE macro can look into tables such as /sapapo/editquan to exactly calculate the resource per day and finally interrogate location calendars to calculate available capacity which can be published in a user defined key figure.(even a planning book KF should do unless you want to generate DB alerts).

Similar Messages

  • SNP Planning Book Capacity Data View Issue

    Hi Friends,
    In my SNP Planing Books Capcity Data View the total of Production Qty is not matching when I expand the Product wise view for Week 22 2011. Can some one help me to identify why this is happening?
    Production Total Qty shown is 29618 but when I view Product Details it totals only 24650 but Total line shows 29618.

    Hi,
    In the standard SNP planning area 9ASNP02, the relevant KF in Capacity view is  9ACASUP .
    There may be a conflict identified between selection and key figures to be read.
    You can choose a different selection condition or change to a different data view, and check if ti comes out correctly.
    Regards
    Datta

  • Delete DSO data for current month on a daily basis.

    Hi Gurus,
    We have a requirement where we have to delete the data in the BW DSO's for the Current Month every day before loading data into it. The reason for this is that in R3 they delete data for the current month in addition to adding new records and changing existing records. Since we do a Full load in BW, the deleted records in R3 will still exist in the BW DSO, hence the need for deletion.
    We can't delete ALL the data in the DSO as we use the BW DSO for Archiving purpose and the R3 table at any point of time will have just 3 months of data, while BW will have historical data.
    I know there is a process to delete DSO contents in the Process Chain, but can it be set up to just delete the current months data??
    Thanks
    Arvind

    Hi Arvind,
    The program RSDRD_DELETE_FACTS or transaction DELETE_FACTS will help you in deleting the records. Execute the program and select the option 'Generate Selection Program'. It will create a Z program , you can then dynamically select the current month in the Variant and assign the Z program and the variant in ABAP step of the process chain.
    Hope this helps with your requirement.
    Regards,
    BINETWEAVER2004s

  • Current Month vs. YTD

    I am wanting to show account balances for the Current Month vs. Year to Date. I am using a BSO cube and have heard that Dynamic Time Series don't work in OBIEE, which is where we're going to be building reports off this data. We want this calculation to be available from multiple front ends so we need to do the calculation in the cube.
    I followed the following two suggestions to form a hybrid approach:
    http://www.intellientblog.co.za/index.php/tag/essbase-ytd-calculation/
    http://www.network54.com/Forum/58296/thread/1147201898/YTD+variance+calc
    I created a new dimension with two members - Current Month (just a stored member) and YTD (dynamic calc) with the following formula: @SUMRANGE("Current Month",@CURRMBRRANGE ("Date", LEV, 0, -(@count (skipmissing, @lsiblings (@currmbr ("Date")))), 0));
    At first I thought this was working great, I filtered down to a month in the Date dimension and everything looked good. However, my Date dimension (which is my time dimension) is set up like so:
    Year
    --Quarter
    ----Month
    Which made it so my formula gave me QTD. I modified my formula to: @SUMRANGE("Current Month",@CURRMBRRANGE ("Date", LEV, 0, -(@count (skipmissing, @lsiblings (@currmbr ("Date")))+@count(skipmissing,@lsiblings(@parent(@currmbr("Date"))))*3), 0));
    This doesn't work though - it always gives me quarter to date. When I have -(@count (skipmissing, @lsiblings (@currmbr ("Date")))+@count(skipmissing,@lsiblings(@parent(@currmbr("Date"))))*3) as the formula for a member it gives me the correct number, but as part of the YTD formula it always gives me 0.
    Any ideas why this would be happening?

    Ah apologies, had forgotten to ask if year and period are in the same dimension. So your Date dimension actually looks like:
    2011
    - Qtr1
    -- Jan
    -- Feb
    -- Mar
    - Qtr2
    -- Apr
    -- etc
    2012
    - Qtr1
    -- Jan
    -- etc
    If this is the case then I think you have two options:
    1. You set up an IF statement where the step back varies by period, e.g.
    IF(@ISMBR (Jan))
    YTD = @SUMRANGE("Current Month", @CURRMBRRANGE ("Date", LEV, 0, 0, 0));
    ELSEIF(@ISMBR(Feb))
    YTD = @SUMRANGE("Current Month", @CURRMBRRANGE ("Date", LEV, 0, -1, 0));
    ELSEIF(@ISMBR(Mar))
    YTD = @SUMRANGE("Current Month", @CURRMBRRANGE ("Date", LEV, 0, -2, 0));
    etc
    ELSEIF(@ISMBR(Dec))
    YTD = @SUMRANGE("Current Month", @CURRMBRRANGE ("Date", LEV, 0, -11, 0));
    ENDIF
    If you have multiple Jan's e.g. Jan2011, Jan2012 you may want to assign a UDA and change the above to be IF(@ISUDA(Date, Jan)) and so on
    2. Set up a member to store the offset value as a dynamic calc, lets call it OffsetYTD, you would need to have a similar IF, ELSEIF, ENDIF formula but no need to repeat all the range bits, e.g.
    IF(@ISMBR(Jan))
    0;
    ELSEIF(@ISMBR(Feb))
    -1;
    etc
    then your YTD formula becomes simpler:
    YTD = @SUMRANGE("Current Month", @CURRMBRRANGE("Date", LEV, 0, OffsetYTD, 0));
    If the offset is something you can re-use in other formulae / reports then I like option 2 (WFP and CapEx modules for Hyperion Planning use similar concepts for TP-Index and NumPeriods)
    Hope this helps
    Stuart

  • Why customer exit variable to grab the current month value doesn't work?

    In CMOD, input the following code to grab the current month value from the system date:
    Grab the month value with System Date
    WHEN 'CURMONTH'.
        CLEAR l_s_range.
        l_s_range-low = SY-DATUM+4(2).
        l_s_range-sign = 'I'.
        l_s_range-opt = 'EQ'.
        APPEND l_s_range TO e_t_range.
    In Query Designer, create a formula variable CURMONTH processed by customer exit and the dimension under the Currency/Unit tab is "Number".  Put the formular variable in the column as a KF.  When running the query, the column with the formular variable shows values of "2,0000000" other than just "2" I want for the current month.  If  the dimension under the Currency/Unit tab is "date", the column with the formular variable shows values of "00/00/0000".  Any idea?  How to grab the correct current month value which is 2 from the system date.
    Thanks!

    Oh ok , try the below options, As such I dont see any errors in our code .
    Not sure if you have ABAPER's in your team, just check with them once on the FM we are trying to see .
    Next , do you hvae 0CALDAY available in your report ? If so try to restrict that field with variable "0DAT" and write the same code you have written for your formula variable , but instead change the variable name to "0DAT" and try if this gets the month . let me know if I'm not clear .

  • IPad current month doesn't show any events on load.

    I have an iPad original running last iOS 5 allowed.
    Whenever I launch my calendar, set to month view, the current month is blank.
    I have to click any previous month, which displays all events properly, and then click back to current month which forces the event data to load.
    Anyone know why the current data isn't displaying on launch?
    I'm on a fast WiFi (30 Mbps dnld) so it can't be a broadband issue.

    :S,
    Sorry, missed that fact. My memory is good, but short.
    Try moving the "Calendar Cache" file to your Desktop. Quit iCal, and find the "Calendar Cache" file in your Macintosh HD/Users/yourusername/Library/Calendars. Move that file to your Desktop. After that, (I remember that I recommended this before), as long as you are moving files to the Desktop, repeat the plist removal procedure once again, log out/in or restart.
    You should also consider removing the "To Do's" from Mail before restarting iCal. When you open iCal turn off "Show Birthdays calendar" in iCal>Preferences...>General.
    Are you syncing any data? If so, what method(s) are you using?
    ;~)

  • How to get the first day of current month

    hi guys,
    i am trying to get the first day of current month which get from the date i input at the selection screen. my method is not so good, so i was wondering if there is better way to get the this,
    thanks.

    Try this .
    data : DAYNR LIKE  HRVSCHED-DAYNR,
         DAYTXT LIKE  HRVSCHED-DAYTXT.
    data langu like sy-langu value 'EN'.
    Parameters PDATE LIKE SY-DATUM.
    PDATE+6(02) = '01'.
    CALL FUNCTION 'RH_GET_DATE_DAYNAME'
      EXPORTING
        LANGU                     = LANGU
        DATE                      = PDATE
      CALID                     =
    IMPORTING
       DAYNR                     = DAYNR
       DAYTXT                    = DAYTXT
      DAYFREE                   =
    EXCEPTIONS
      NO_LANGU                  = 1
      NO_DATE                   = 2
      NO_DAYTXT_FOR_LANGU       = 3
      INVALID_DATE              = 4
      OTHERS                    = 5
    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 :/ PDATE, DAYNR, DAYTXT.
    Cheers

  • My battery has a current max capacity of 97% after only 2 month ...

    Hi everyone.
    I don't know if I'm a little bit paranoid but I just checked the current max capacity of my battery (Macbook Pro 2012 13") with different softwares as Battery Health or Battery Guard (available on the App Store) and it reads 97% after only 2 month and 3 cycles ... Is it normal?
    I'm kinda worried, the loss of capacity seems so fast, to me ...
    More details : this capacity was 100.6% just before I tried to calibrate it. I followed the advices of Battery Health :
    1) Charge the battery until 100%, then wait 2 hours with the Macbook plugged
    2) Use it, until it shuts down by itself, then let the Macbook 5 hours at least without charging it again
    3) Charge the Macbook until 100% again
    After this manipulation, my max capacity lost 3 percent ... Is this something I did? Is it normal?
    Does the Macbook have to calibrate his battery again? Then, what's the manipulation to do to calibrate it (I looked for it on the Apple website, but I can't find a step-by-step)?
    Thank you all

    Battery capacity degrades over the life of the battery for a lot of reasons and will fluctuate from day-to-day by a percent or two.  Instead of using apps to read the battery, you can get all the info you need right from the system itself.  Click the apple in the upper left corner, About This Mac, More Info, System Report, Hardware, Power and then just read the battery Capacity, charge Cycles, Condition, and Voltage.  As long as the Condition is Normal you are fine.
    Although Apple says to calibrate the battery by discharging to shutoff and then recharge, that in reality is not good for Lithium-technology, and it does not calibrate the battery, it calibrates the charge reporting circuitry.
    If you go to the Battery University site, an independent group that has done a lot of studies of batteries, you can find information on prolonging Lithium-technology battery life.  One thing that is clear is that deep discharge cycles are very degrading on battery life.  Optimum balance of use/life seems to be around a discharge to 50% and then recharge.  Also, temperature is a major player in shortening battery life.
    At thiis point, don't get too hung up on the battery capacity, use the MBP and enjoy it.

  • Restrict SO with respect to stock availability in current month

    Hi all,
    Our management want to restrict the sale order if there is not stock in the current month in order to avoid overbooking.
    I know the item availability check feature of SAP 8.8 will serve the purpose.
    But my problem is that i want the user to enter a date on line level which falls in the current month and secondly i want to put a check on which option was selected from the item availability check window.
    Is it possible ?
    thanks
    Malhaar

    Hi,
    My sole intention is to use SAP's standard functionality. But if it is not possible then let us go by the way of experts.
    I  already have a FMS query of order overbooking. In addition to that i need to capture that overbooking in transaction notification.
    but can i capture the value of order overbooking which comes in a UDF in SO in transaction notification..
    Thanks
    Malhaar

  • Can one Crystal Report could contian Current Month, YTD and ITD data?

    Hi,
    I am trying to build a crystal report and be able to show data in summarized format on single report containing data for the current month, year to date and Inception to date.
    The difficulty that I find is the date ranges. Current month date range is different from YTD and ITD date.
    what would be the best way to show such data on crystal report? is there a sample report available that can help me to produce such report?
    your help will be highly appreciated, thanks!
    regards,
    Mansoor

    Hey Joe,
    if you have CRXI, take a look at the sample reports
    Record Selection on Date Range has some good examples
    you can do this with multiple Groups
    create a formula
    in to currentdate
    ( this group will cover your inception date to currentdate)
    second group will be a date group also, select year as your print by option for this group.
    3rd group also by date,
    select month.
    add fields to your details section, select the field, right click and select summary location,
    (add to all groups)
    you can then supress footers and headers as needed.
    Hope this helps.

  • MF50 (Area: Complete capacity data)

    Hello SAP Gurus,
    I am facing such problem:
    How to change in transaction MF50 unit for statistics which is related to capacity data (required & available) of production line's capacity category?
    Default value, which is displayed: H (Hour)
    I have tried such settings, but unfortunetly without any results:
    - CR02: change of work center capacity header data: Base Unit of Measurement for capacity category
    - CR02: change of work center capacity header data: Unit of measure of capacity category
    Thanks in advance for help.
    Regards,
    Szymon Sowiar

    >
    Srini N wrote:
    > In your work center is this unit different?
    Yes
    >
    Srini N wrote:
    > You want both the units as same? Is this your requirement?
    No, I want to know what settings is responsible for unit's display in MF50 in area: Capacity data (Required / Available). I 've try to change work center capacity data, but it didn't work ...
    Thanks in advance for help.
    Regards,
    SS
    Edited by: Szymon Sowiar on Jun 2, 2010 9:12 AM

  • 10 Week Old MacBook & Current Battery Capacity already at 94%

    Hello everyone, I recently bought a new macbook (11/09) and mainly use it thru its power adapter, although I do use the battery occasionally. Yesterday I decided to perform a battery calibration and it went as follows: The battery was fully charged when I unplugged the computer from it's power supply (the original battery capacity also showed 100% via Coconut). I took the battery all the way down to about 1% then re-charged it completely only to return and see that the Current Battery Capacity is 94%. I've only had 10 load cycles in the 2.5 months I've had it. Here's my battery info:
    Battery Information:
    Model Information:
    Serial Number: W0943KWNJ9X7A
    Manufacturer: SMP
    Device name: bq20z451
    Pack Lot Code: 0000
    PCB Lot Code: 0000
    Firmware Version: 0103
    Hardware Revision: 000a
    Cell Revision: 0130
    Charge Information:
    Charge remaining (mAh): 5163
    Fully charged: Yes
    Charging: No
    Full charge capacity (mAh): 5163
    Health Information:
    Cycle count: 10
    Condition: Normal
    Battery Installed: Yes
    Amperage (mA): 0
    Voltage (mV): 12530
    System Power Settings:
    AC Power:
    System Sleep Timer (Minutes): 20
    Disk Sleep Timer (Minutes): 10
    Display Sleep Timer (Minutes): 15
    Wake On AC Change: No
    Wake On Clamshell Open: Yes
    Wake On LAN: Yes
    Current Power Source: Yes
    Display Sleep Uses Dim: Yes
    Battery Power:
    System Sleep Timer (Minutes): 10
    Disk Sleep Timer (Minutes): 10
    Display Sleep Timer (Minutes): 3
    Wake On AC Change: No
    Wake On Clamshell Open: Yes
    Display Sleep Uses Dim: Yes
    Reduce Brightness: Yes
    Hardware Configuration:
    UPS Installed: No
    AC Charger Information:
    Connected: Yes
    ID: 0x0100
    Wattage (W): 60
    Revision: 0x0000
    Family: 0x0085
    Serial Number: 0x0050443a
    Charging: No
    Power Events:
    Next Scheduled Events:
    Type: Sleep
    Scheduled By: Repeating Event
    Time: 1/24/10 11:45 PM
    Is there something going on with my battery or is it normal to lose 6% on a calibration? As I said, I have been typically using it with the power cord connected vs. just the battery. Any insight would be greatly appreciated. Thanks.

    You should take it off the charger every so often, so the battery can drain and recharge. That will help some.
    I can't see losing 6% of the battery as new. However, I also don't know how long the MacBook sat there prior to your purchasing it, etc. So while it seems odd, it also isn't outside the realms of possibility.
    Doc

  • Changing Capacity Planning view from Week to Day

    Hi Gurus,
    I have a need to change capacity planing view from week to days Currently while view Capacities in CM01 it is displayed in week. Is there any way in which I can change it to days.
    Thanks in Advance.
    Amol

    Hi Amol,
    you can change the capacity planning view from week to days in CM01, just go to settings in CM01
    there in general settings in the periods view you can change it from week to days.
    Regards,
    Naveen.

  • Expression - First date and last date of current month, current year

    Hi
    I need to have 2 ssrs expression as I can use  as default parameters in my report where I can -  out from my Time dimension, get the
    first date of the current, current year - and one where I get last date, current month, current year.
    My data source is a SSAS cube and my timedimension is structured like this:
    [Time].[Days].&[2009-01-16T00:00:00]
    Any suggestions how to solve this ?

    Hi ,
    You can use below in Default Values in ssrs ;
    for first Day of current month and year
    ="[Time].[Days].&[" +Format(dateadd("m",0,dateserial(year(Today),month(Today),1)), "yyyy-MM-dd")+"T00:00:00]"
    output will be ;
    [Time].[Days].&[2014-09-01T00:00:00]
    For last day of current month and year
    ="[Time].[Days].&[" +Format(DateSerial(Year(Now()), Month(Now()), "1").AddMonths(1).AddDays(-1), "yyyy-MM-dd")+"T00:00:00]"
    output will be ;
    [Time].[Days].&[2014-09-30T00:00:00]
    Please correct me if I misunderstood your requirement.
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem.

  • SSRS Date parameter - current month from SSAS cube

    I have a SSAS cube with a date dimension called Posting Period and now I would like to have my report parameter using this date dimension to show the current month.
    So far I have worked out the following expression which are working(Fiscal year calendar going from May to May) for the year component - but I can't figure out how to get it to work on Quarter date part (and the month) so as you can see
    the Quarter and month is hardcoded in the below expression:
    ="[PostingPeriod].[Posting Period].[Year].&[" + CStr(Year(Today())-1) + "].&[Q4].&[10]”
    Any help would be appriciated.
    Tx

    Hi HCMJ,
    In your scenario, you use the expression
    ="[PostingPeriod].[Posting Period].[Year].&[" + CStr(Year(Today())-1) + "].&[Q4].&[10]”
    to set the default value of the parameter and then use it in the MDX query, right?
    If in this case, you can use the expression below
    ="[PostingPeriod].[Posting Period].[Year].&[2013].&[Q" & DatePart(DateInterval.Quarter,today()) & "].&[10]”
    to set the value on Quarter date part.
    And it returns:
    If I have anything misunderstood, please point it out and elaborate the meaning of "but I can't figure out how to get it to work on Quarter date part (and the month) so as you can see the Quarter and month is hardcoded
    ", so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

Maybe you are looking for