Macro should only be executed for periods of current month

Hello Experts,
I am using fiscal year variant (FW) in which 4 periods exist for any month. Whenever I open the planning book, I will have to see only these 4 periods of the current month and Initial bucket.
I have a macro, that should be executed for all these 4 periods of the current month at any time during the month.
(aggregated sum of forecast of period 1 and 2 will be shown in bucket 2. aggregated sum of period 1,2 and 3 are shown in bucket 3, etc)
So, I have designed the time bucket profile with past as 1 month of Fiscal year variant FW and future of 1 month of Fiscal year variant.
My time bucket profile is 1 month - split into 4 periods of fiscal year FW.
1) The macro runs fine if the current system date lies in the second period through fourth period. But during the beginning of the month, when it is in the first fiscal period of month, it displays past 4 periods as 4 periods of previous month and 4 future periods of current month. I just want to display all buckets or periods of current month only. How can I achieve this?
2) So, during first week of the month, my macro runs only for past 4 periods and not for future 4 periods. But I want to run only from 1st period of current month till last period of current month. How to achieve this? Is there any macro function to overcome this? Or is there any standard configuration to avoid this problem?
Thanks,
Suresh

Hi Marius,
Thanks again. But, the macro code that I write, should be executed from the first period of current month to the last period of current month, even though, if the current system date is in the third period of the current month.
Also the interactive planning grid should show all the periods of current month as visible, even though I'm not in the first period of current month.
Thanks and Best Regards,
Suresh

Similar Messages

  • Acrobat X Pro is gone and only the trial for XI Pro is installed.  Can I get X back?

    I have CS6 Design Standard.  On the seldom-booted (2x/month) Windows partition of my MacBook Pro Acrobat X Pro is gone and only the trial for XI Pro is installed.  Can I get X back?
    I don't know how/when/why the trial was installed because Windows is running for only a few hours a couple times a month.  The most reasonable possibility is the App Manager.  If it says there's an upgrade available I just click the button and pay no attention to details.   I suspect amateurs like me aren't going to notice one additional character in the name, if that's what happened.  If that is what happened I'll never use the app manager again for fear of replacing fully functional apps with trial versions with short lives.  Of course I am open to the idea that I did else something stupid.
    Thanks.
    -Alan

    The application manager should not have installed a trial version and XI is not an update for X. The manager should only install updates for the existing version.
    To get AA X back you will have to reinstall it from your original media.

  • Forecast for the current month

    Hello,
    So we have a monthly forecast entered in SAP B1. When we run MRP, we use that forecast. However, for some reason current month's forecast is never taken into account.
    Example: today is May 6th and the forecast for May is say 200 cases of item ABC.
    I am running MRP starting 4/25 for the period of 12 weeks
    The result is that May's forecast is always dropped. Instead, only June's forecast shows in MRP results. Why?
    And if it matters, I've tried both "Consume and Non-Consume forecast options.
    Any ideas? Thanks

    Hi,
    The forecast is only available from next period, either by month, week or day. In this case, you may consider short period for current month.
    Thanks,
    Gordon

  • How can i pull out data from a spreadsheet only from the current month?

    Data is constantly being fed into a spreadsheet using a VI, this data comprises of such things as month, year, weights, std dev, etc.  I want to do some data manipulation on the current months data while the VI is running, how can I pull out only the data relating to the current month?  Each input into the spreadsheet stores the values for that run on one row, and there are perhaps 150 runs each month
    Any thoughts are greatefully received
    Thanks
    Ross
    Attachments:
    Results.xls ‏1 KB

    Hi Ross,
    I thought I would go away and make you an example VI for the results xls that you have sent me.
    Here it is:  I have added a few comments here and there but if you need more info please don't hessitate to post back on the forum
    Hope if helps
    AdamB
    National Instruments
    Applications Engineering Team Leader | National Instruments | UK & Ireland
    Attachments:
    MonthExtract.vi ‏43 KB

  • Financial Reporting: Current Month vs Prior Month Variance for all Entities

    Silly/Easy Question:
    How can I set up a grid in Hyperion Financial Reporting to show these columns for all entities- Current Month NIBT, Prior Month NIBT, Variance
    So, the report would look like:
    Florida Current Month, Florida Prior Month, Florida Variance...Georgia Current Month, Georgia Prior Month, Georgia Variance...Ohio Current Month, Ohio Prior Month, Ohio Variance
    All I can get it to do at present is:
    Florida Current Month, Georgia Current Month, Ohio Current Month, Florida Prior Month, Georgia Prior Month, Ohio Prior Month, etc.
    Thanks!
    Note: we have many entities, so hard coding them in the report is out.

    Update: been working with Oracle dev on this. Seems FRS cannot produce a report such as this:
    ----------Entity-----------------------------------------Entity-----------------------------------------Entity
    ----------Curr Mo - Prior Mo - Variance----------Curr Mo - Prior Mo - Variance----------Curr Mo - Prior Mo - Variance
    Account
    Account
    Account
    Account
    Account
    The data can be extracted in other layouts, but this is one we'd like to utilize for Balance Sheet Variance analysis and Tax ETR reports.

  • Should OKP1 being all closed and only be opened for the current period ?

    Guyz,
    In OB52 (Financial closing period) , only "open period" being input on it. So, basically the closing period in OB52 is by opening the period provided to be posting.
    Then how about OKP1?
    It's provided to lock the actual period , actual transactions, or to lock the plan period or plan transactions..but the question is:
    a. Should it be all closed (ticked mark all transactions & all periods) except for the current period that is provided to be posting as period determined in OB52...For example, it is now June, then all periods & transactions other than June is being ticked mark.
    OR
    b. Should it be all opened except for the period that is being closed? For example, it is now June, so periods & transactions of period January to May are being ticked mark (closed).
    Which of the options is the best practice?
    Need your answers asap plz.... Thanking you ..

    Hello,
    For example in OB52, if you have opened for June, i.e.,
    06 of 2009 to 06 of 2009 (1st Period)
    In such case,
    In OKP1, you need to only untick June for all the months and close all remaining months (Untick June and tick all other months and transactions).
    Note that your planning activities for all the year must have been completed. Otherwise, you cannot enter the plan values.
    Regards,
    Ravi

  • How to avoid custom action script link executing for all pages. It should execute for only custom list

    Hello all,
    The below code creates the custom action script link. however this is executing for all the pages.
    I want to execute only to list not on all the pages. How i can acheive this. Please help
    var context =
    new SP.ClientContext.get_current;
    this.oWebsite = context.get_web();
    var collUserCustomAction =
    this.oWebsite.get_userCustomActions();
    var scriptLink = collUserCustomAction.add();
    scriptLink.set_name('Welcome');
    scriptLink.set_title('Welcome');
    scriptLink.set_description('Welcome to new custom script Link');
    scriptLink.set_location('ScriptLink');
    scriptLink.set_scriptSrc('~Site/Scripts/test.js');
    scriptLink.set_group('');
    scriptLink.update();
    Navaneeth

    Then Edit the list page add the script editor web part on the page . Copy the paste the script. Now it will affect the list only. Or else in your script just validate the list id.
    Ravin Singh D

  • Value based hierarchies and Period dimension should only contain  2  monthl

    Hi,
    Can anyone tell me what is value based hierarchies. And also can anyone let me know to filter the records in AWm because in Period dimension should only contain 2 monthly values (Oct. 2008 ( 200810) and Sep. 2008 ( 200809)) it is urgent.
    Thanks
    vel

    The following definition of a value hierarchy comes from the OLAP Developers guide
    "A hierarchy defined only by the parent-child relationships among dimension members. The dimension members at a particular distance from the base level do not form a meaningful group for analysis, so the levels are not named. For example, an employee dimension might have a parent-child relation that identifies each employee's supervisor. However, levels that group together first-, second-, and third-level supervisors and so forth may not be meaningful for analysis."
    Typically this means that the source table has two columns, VALUE and PARENT, where PARENT has a (logical) foreign key relationship to VALUE. An example may be EMPLOYEE, MANAGER, where MANAGERs are also EMPLOYEEs.
    The simplest way to restrict the values loaded into the AW is to define a SQL view over the source table with an appropriate WHERE condition. You then use AWM to map the dimension to your new view. E.g.
    CREATE OR REPLACE VIEW RESTRICTED_TIME AS
    SELECT *
    FROM TIME
    WHERE MONTH IN (200810, 200809)

  • When I power up my ipad air the apple logo comes up like it should then the lock screen only comes up for a second or less so I can't swipe it fast enough.

    When I power up my iPad Air the Apple Logo comes up like it should then the lock screen only comes up for a second or less so I can't swipe it fast enough to get to the home page. The lock screen just disappears. I have to hit the sleep/wake or home button to bring the lock screen back up so I can swipe it. Have others found this situation with the iPad Air. I have an iPad 2 and it does not happen at all. The Apple store checked it out. One rep said to me this is unusual and had a tech check it out and they said this is normal. If the iPad is suppose to be user friendly, why this extra step to get to the lock screen? Are other owners of the iPad Air having the same problem? If so, what have you done to correct it?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
     Cheers, Tom

  • I have a mixer which i was using with my pc and now i bought a new macbook and it have only one jack for headphones and to use mixers i need jack for microphone too so what should i do

    i have a mixer which i was using with my pc and now i bought a new macbook and it have only one jack for headphones and to use mixers i need jack for microphone too so what should i do

    You need to get headset splitter adapter.
    http://www.startech.com/Cables/Audio-Video/Audio-Cables/35mm-4-Position-to-2x-3- Position-35mm-Headset-Splitter-Adapter-Male-to-Female~MUYHSMFF

  • System should create only one delivery for 100 different PO's in STO

    Hi All
    i need help
    Plant B raising 100 different po's daily for different materials to Plant A.(STO)
    Now Plant A will do Dilivery via VL10B.
    Here my requirement is system should create only one delivery for 100 different PO's and delivery should contain all the
    materials as line items bcause system should not create 100 deliveries( time consuming process).
    Here there is no manual transaction for VL10B.
    That is system is goining to excecute the VL10B automatically, there is no manual transation for VL10B
    How can we do this?
    Thanks
    MSK

    Hi
    We can able to do your requirement
    1. All the STO materials should have same sales view in materials for the *Unique)following field: Loading group, shipping Point, so on..
    2. In the config, hope we have do the combine delivery setting for VL10B
    Regards
    Prasanna
    Edited by: Prasanna Raju on Feb 17, 2010 1:52 PM

  • Programs which are not being executed for a specific period

    Hi,
    We are planning to do the application upgrade in few months,with respect to that we would like to find out what all programs/transactions(standard or custom) which are not being executed for a specific period.What is the way to find this?
    Regards,
    Sam

    Hi Sam,
    You can use st03 and defice theprograme name and period to sotp the activity.
    Regards,
    Anil

  • Depreciation is not executed for last month and the period is closed. Giving Error in this Dep. Cycle.

    Hi All,
    We had a month End scenario where the depreciation for a company code is not executed for the last month and closed the period without checking it.
    While  running the Depreciation posting for this month we encounted a error that last motn period is closed. Can we do the depreciation without opening the period closed. Kindly let us know the options available.
    Regards,
    Lakshmi Narayana

    Lakshmi,
    There is no way you can post depreciation without opening the prior periods. Please discuss with your business and secure all necessarry approval, I believe the business has a process on this kind of situations. As long as it is fully documented, auditors will not find it wrong.
    This is the best time to improve your process, think of possible ways so that business will not forget to post depreciation (e.g send automatic email during 3 days before, 2 days before., 1 day before and during the day of depreciation run).
    Hope this helps.
    Thanks!
    Jhero

  • Executing procedure for period

    Hi all,
    My need is to execute procedure with parameter date for period from 01.03.2011 till 31.03.2011.
    One way is to type dates one per line:
    EXEC schemename.pkg_name.procedure_name date '2011-03-01';
    EXEC schemename.pkg_name.procedure_name date '2011-03-02';
    EXEC schemename.pkg_name.procedure_name date '2011-03-30';
    EXEC schemename.pkg_name.procedure_name date '2011-03-31';But how do I execute it using more simple code?

    Hello
    It kind of depends what you mean by simpler. If you want to avoid having 31 separate calls to the procedure listed on 31 lines, you can use a loop like so...
    SQL> DECLARE
      2
      3      ldt_StartDate       DATE := TO_DATE('01/03/2011','dd/mm/yyyy');
      4      ldt_EndDate         DATE := TO_DATE('31/03/2011','dd/mm/yyyy');
      5
      6  BEGIN
      7
      8      FOR lc_Dates IN (   SELECT
      9                              ldt_StartDate + (rownum -1) dt
    10                          FROM
    11                              dual
    12                          CONNECT BY
    13                              LEVEL <= CEIL(ldt_EndDate - ldt_StartDate) + 1
    14                      )
    15      LOOP
    16          dbms_output.put_line(lc_Dates.dt);
    17      END LOOP;
    18
    19  END;
    20  /
    01-MAR-11
    02-MAR-11
    03-MAR-11
    04-MAR-11
    05-MAR-11
    06-MAR-11
    07-MAR-11
    08-MAR-11
    09-MAR-11
    10-MAR-11
    11-MAR-11
    12-MAR-11
    13-MAR-11
    14-MAR-11
    15-MAR-11
    16-MAR-11
    17-MAR-11
    18-MAR-11
    19-MAR-11
    20-MAR-11
    21-MAR-11
    22-MAR-11
    23-MAR-11
    24-MAR-11
    25-MAR-11
    26-MAR-11
    27-MAR-11
    28-MAR-11
    29-MAR-11
    30-MAR-11
    31-MAR-11
    PL/SQL procedure successfully completed.HTH
    David

  • How to only show data for a certain period of time for cumulative data?

    I need to show cumulative data for the past 12 months on a chart (e.g. # of accounts). But in order to get the cumulative data for Month 1, I need to cum the data starting from the very first month when we started to add new account which can be Jan 2006. If I put a filter to limit the data to only last 12 months, then my Month 1's cum data will not include any account prior to Month 1. So how do I do this?
    Edited by: user637947 on Feb 5, 2009 2:02 PM

    Hi,
    Try this Filter....
    Opportunity."Close Date" >= TIMESTAMPADD(SQL_TSI_MONTH, -11, TIMESTAMPADD(SQL_TSI_DAY, -(DAY(CURRENT_DATE) - 1), CURRENT_DATE)) AND Opportunity."Close Date" <= TIMESTAMPADD(SQL_TSI_MONTH, 1, TIMESTAMPADD(SQL_TSI_DAY, -(DAY(CURRENT_DATE) + 0), CURRENT_DATE))
    Thanks and Regards,
    Amit Koul

Maybe you are looking for

  • "Itunes has stopped working" in Windows Vista 64bit

    I am at my wits end!  My I tunes will usually load but if it opens in my library and I try to access the Itunes store it always crashes with the "Itunes Has Stopped Working" error message.  "Windows is checking for a solution" follows but nothing is

  • Photoshop Elements 4.0 & Photoshop Album 2.0

    Are all of the features of Album 2.0 included in Elements 4.0? What software is required to view an Elements slide show on a computer without Elements? Will Acrobat Viewer work?

  • 13010

    itunes will not open on my Mac. I get the following message "The iTunes application could not be opened. An unknown error occured. (13010). Has anyone seen this before?

  • FCC undefined structure

    Hi all, I am doing FCC to FCC scenario. My message is picking up from source...and in moni it is showing inbound message. But while giving output it is showing structure is not correct... My input is as follows...... 3936A20070501122019393600INOAC  

  • Complete Show playback - audio/video

    Hi all, I'm posting this in both the Logic and Mainstage forums. I've created an entire show that will be scripted from beginning to end and want all the audio/video elements to be in sync with each other, played back from my Mac Book Pro, feeding an