Period = Year

Hi,
I have a dashboard prompt where users are picking a financial period in the format MON-YY, but where APR-09 to MAR-10 = financial year 2010.
The behaviour I want on the page is that the user picks the PERIOD in the dashboard prompt, but certain reports on the same page display the data for the entire year RELATING TO THAT PEROD.
Is there a way to do this, that will not degrade the running time of the report, currently I have resorted to hard coding the financial year in the report, but when this is rolled out I want to be able to pick any data APR-10 to MAR-11 and the report displays the data for financial year 2011.
And yes, in the underlying report I have both the YEAR and the PERIOD.
And yes, I have a period table which contains the PERIODs with the year as another column.
thanks for your help,
Robert

Thanks for this,
yes - I have used nested before in SQL so I know of what you speak - but my worry with this is in SQL you would expect the time taken for;
select 'x'
from my_table outa
where financial_year = (select distinct financial_year from my_financial_periods ina where ina.period_name = :PERIOD_NAME)
to be the same as running the sub-query and then with the value explicit, running the outer query, BUT the detioration in performance is not consistent with this being true - it seems like the inner query actually executes multiple times....
Hence why I was asking - there is no way on a dashboard to have a correlated but hidden value is there???
thanks,
Robert.

Similar Messages

  • How to get total number of days in current Fiscal period/year

    Hi,
    I need to get total number of days in current Fiscal period/year (current month) and assign it to an infoobject. I need a routine for this. Is there any function module to get this.If possible pls paste the ABAP code also for this task. Thanks in advance

    here is the FM:
    LAST_DAY_IN_PERIOD_GET
    KJ!!!

  • Result Analysis Values For particular period/year!!

    Hi Experts
    We are in a customer project, tenure of a project is around 2 to 3 years. As company follows Accounting standard AS-7 where we need to recognize the revenues in the same period in which the cost incurred. So, to achieve that we have planned the cost and revenue periodically for the years 2011-2012 ,2012-2013. But when i am running RA (KKA2) the results shows planned revenue and cost  as sum of all the years ,so accordingly POC will be based on overall Plan Cost and not Annual(Period ) based.
    But our requirement is that when i run RA for given period of particular year then RA should show planned cost and revenue for that particular period/year and accordingly  rest of the values like; POC, WIP, Reserves etc.. should get calculated .
    Please suggest how to approach to achieve the same.
    Thanks in advance..

    I think it is possible to meet your requirement through valuation method settings.
    please read sap help on RA.
    Please follow the below path to access the RA help
    SAP help portal -- Financials >> Controlling >> Product Cost Controlling >> Cost Object Controlling >> Product Cost by Sales Order >> Period-End Closing in Product Cost by Sales Order: Scenario >> Result Analysis

  • Multiple FDM users processing in one location, period, year, scenario

    Can more than one user go through a process flow for the same location, period, year, scenario with separate data files (i.e. different entities for different locations)? How does FDM handle the queue process?
    Any best practice suggestions for the process flow?

    Actually the answer is yes. I'm not sure why you would want to do this with one exception. Assuming that the files are in the same format, say you get one file that has balance sheet items only and the P&L data comes later. You process the balance sheet file then later you import as an append for the P&L file and process/load that data. I have seen this before. What this does is maintain your audit trail which is very important. Now say all of the bs and p&l come in one file, yet you want to load mutliple entities because each entity has it's own file. The very first file should be imported as a Replace and the remainder of the files should be imported as an append. Once you have imported all of the files you can then click Validate, then Export so that you process them all at once (you do not have to Import/Validate/Export each file) which would save you time. Again, you maintain your audit trail. However, if you import each file as a Replace, then Validate and Export each file seperately then all of your data will still load into the target system, which for example is HFM, but the audit trail only shows the data for the last file you processed. It's always best to have a seperate FDM location for each file (unless it's my first example where the data for a single entity is split).
    On another note, I'm not sure what you mean by how does FDM handle the queue process but it can import mutliple files at the exact same time, such as 5 users importing their own files to their own FDM locations. If these 5 users are importing files at about the same time then the last one to import will "win" so to speak.
    If the different entities from different files are loaded to different FDM locations then there is no overlapping because FDM keeps the data for each location seperate, by location, period, and category. It's the combination of the 3. If you have a location called Michigan, the Period is Jan - 2009, and the Category is Actual and you load data it won't overwritten by any entity unless someone takes a file and imports it to Michigan/Jan - 2009/Actual. If they take their file and import it into say, Florida/Jan - 2009/Actual instead then the two will always be seperate in the FDM database.

  • Standard Field for Fiscal Period/Year

    Hi
    Is there any standard table field for <b>Fiscal Period/Year</b> so that i can use it to type my select-option field in the selection screen.
    Thanks and Regards,
    Navaneeth

    Hi,
    Check field BKPF-GJAHR and BKPF-MONAT .
    And/or BSEG-ABPER ( period ).
    Erwan
    Message was edited by:
            Erwan LE BRUN

  • Missing Future Fiscal Period/Year

    One of the material - in MM03 Costing 2 Tab
    - Future Fiscal Period/Year is blank but Planned Price exist.
    Can someone explain the scenarios as to  to how this could happen?
    Thanks!

    Hi Arun,
    Well ! There are 2 steps in Material Standard Cost Eistmate...
    1st step is Marking and 2nd one is Releasing .. First you do the Marking for the material, after Marking, the Future Planned Price and Period/Fiscal Year will be updated in the Material Master Costing 2. After you will Release the standard cost estimate for that materiallk. Once you Release the standard cost estimate, The Future Planned Price will be moved to Current Planned Price in the material master Costing 2 View.
    Once the above is happend, The Future Planned Price & Period/Fiscal year will be blank. Current Planned Price will be update.
    I hope you will have clear idea now..
    Thanks
    Fit 4 Nothing

  • Problem with Budget / Period/year

    Hello All,
    I have generate a Report with the Report Painter ( logical Database PRJ). The result should be exportet in MS-Excel.
    I'm looking for the Tables.
    He are the tables from the generates Report.
      TABLES: RPSCO_X, COIX, COIX_DATA40, RKB1X, RKB1F, RKB1D.
    <b>Could anybody tell me the table for Budget   per Period/year      ?????</b>
    The Result is:
    Period/year                                               Budget                                    Actual            Commitments                                                                               
    Displayed in                         1 EUR                1 EUR                1 EUR                1 EUR                1 EUR                1 EUR                  1        
    ,001.2006 1. Period 2006                    10.000               10.000                    0                    0                    0               10.000              100,00
    ,002.2006 2. Period 2006                    10.000               10.000                    0                    0                    0               10.000              100,00
    ,003.2006 3. Period 2006                    10.000               10.000                    0                    0                    0               10.000              100,00
    ,004.2006 4. Period 2006                    10.000               10.000                    0                    0                    0               10.000              100,00
    ,005.2006 5. Period 2006                    35.000               35.000              200.000              100.000              100.000               65.000-             185,71-
    ,006.2006 6. Period 2006                    10.000               10.000                    0                    0                    0               10.000              100,00
    ,007.2006 7. Period 2006                    10.000               10.000                    0                    0                    0               10.000              100,00
    ,008.2006 8. Period 2006                    10.000               10.000                    0                    0                    0               10.000              100,00
    ,009.2006 9. Period 2006                    10.000               10.000                    0                    0                    0               10.000              100,00
    ,010.2006 10. Period 2006                   10.000               10.000                    0                    0                    0               10.000              100,00
    ,011.2006 11. Period 2006                   10.000               10.000                    0                    0                    0               10.000              100,00
    ,012.2006 12. Period 2006                   10.000               10.000                    0                    0                    0               10.000              100,00                                                                               
    +Result                                    145.000              145.000              200.000              100.000              100.000               45.000               31,03
    <b></b>

    Following are the tables of budget
    <b>Table Name</b>     <b>Short text</b>
    BPBK     Doc.Header  Controlling Obj.
    BPCG     Controlling Object, by Year
    BPCJ     Controlling Object, by Year
    BPCK     Controlling objects, activated objects
    BPEG     Line Item Total Values   Controlling Obj.
    BPEJ     Line Item Annual Values  Controlling Obj.
    BPEP     Line Item Period Vale Controlling Obj.
    BPGE     Totals Record for Total Value  Controlling obj.
    BPGV     Prel.entry, overall
    BPHI     Cross-hierarchy Data  Controlling obj.
    BPIG     Budget Object Index (Overall Budget)
    BPIJ     Budget Object Index (Annual Budget)
    BPJA     Totals Record for Annual Total   Controlling Obj.
    BPJV     Prel.entry - annual values
    BPPE     Totals Record for Period Values  Controlling Obj.
    BPTR     Object Data   Controlling Obj.
    BPTX     Budgeting Text
    BPUM     Conversion: Tables/Fields to be Converted
    BPVK     Document header preliminary entry

  • Period/Year format in KE30

    Till 2010 the Period/Year format in KE30 should to be :012/2010 December 2010
    Since 2011 , the format somehow changed to 001/2011 1. Period 2011
    How do I change it back. I see Period/Year is a characteristic in the KE30 REPORT.

    Hi All
    Pls check your user preferences in SU01D or SU3. I believe it was changed. See tab Defaults.
    Regards

  • Period Year conversion

    Hi,
    I need to convert Period & year to a calender date.
    How to acheive this ?. I sthere any Function module?
    Pls help
    Thanks
    Ram

    Hi Prabha,
    If you want to go back in calender date please use this Function Module
    CCM_GO_BACK_MONTHS
    if you find this as a useful answer plz reward points.
    rgds
    Kali

  • Flexible Upload of Data for several periods/years

    Hey Colleagues,
    my client wants me to develop a new functionality to upload data for several periods/years. The function they are using right now and correctly is the flexible upload.
    As we have already developed several custom tasks and enhancements/modifications we try to not modificate further SAP standard or to post directly (back-door solution)
    But:
    It is no problem to start the flexible upload for different selecitons and to provide the values in an excel sheet. But I have problems to avoid a popup for selecting the excel file. It would be no problem if for example Batch-Input would work here, or if we would post directly using standard functionality (posting method with data change) but in this case we try to use the flex upload.
    Has anyone experienced a similiar problem? Can we use the flex upload with suppressing the popup to select the file WITHOUT an enhancement?
    Thanks in advance for your help,
    Yavuz

    Hi Yavuz,
    Yes this can work for every period in one year - use the multiperiod processing option, available since EHP2 (BCS 6.02).
    The multiperiod processing requires you to define the consolidation cycle and start period, so you could define it to start with p1 and include all 12+ periods of the year.
    NB the multiperiod processing is initiated by running with selection screen - right click and selec "run for remaining periods of the year"
    You can run either a task or a task group for the rest of the consoliation cycle, but data collection with flexible upload MUST have the presentation server settings (already mentioned above) or the data collection task will not work.
    So you make the configuration settings
    You then save your multi-period file on the presentatin server
    You then go to data collection (flexible upload) task in p1 and "run for remaining periods"

  • How to  Create  a selection variable for Fiscal period/year range

    How to  Create  a selection variable for Fiscal period/year range. The idea is to filter the query results using a fiscal period/year range user input rather than a full fiscal year input.

    Hi Priya,
    Open the query in a query designer -> in the left hand side you would find the fiscal year period under the time dimension -> right click -> create variable -> create the variable.
    The better option would be use any of the SAP provided variable. You would find them under the Fiscal year period in the left hand side in the query designer.
    Bye
    Dinesh

  • Period/Year of First data entry in Company code.

    What is the purpose the period and year of data entry is helpful in BCS.
    Is it indicate the system that from this period onwards to calculate the MI?
    Please share your opinion. Points will be rewarded.

    Hi Gokul,
    as it is said before: You are not allowed to load data with movement type that are used for "stock", on which data is carried forward. But of course if you start the consolidation initial, you need to upload data also for this movement type. So in the first period / year you are allowed to upload data here.
    Read this:
    [http://help.sap.com/saphelp_sem60ep1/helpdata/en/62/f7e73ac6e7ec28e10000000a114084/frameset.htm|http://help.sap.com/saphelp_sem60ep1/helpdata/en/62/f7e73ac6e7ec28e10000000a114084/frameset.htm]
    BR

  • MM period / Year Closing Activity and inventory Valuation ??

    Hallow Experts !
    At the time of Period end, we close the Posting Period in Transaction Code - MMPV. So as a Result system opens Next posting period Automatically. (Please Correct if i am wrong). At a time two posting periods are open, Current and previous posting period.
    So, while this period close and open activity, The Material Stock valuation is carry forwarded from closing posting period to Opening period Automatically ?
    I want to understand the System logic for this inventory valuation carry forward in brief.
    Also please explain in brief, Year end activities by Materials Management side for material Valuation ???????
    Thanks in Advance !!

    Hi,
    Before closing a period, you must ensure that all the transactions related to are posted( Examples: GR,IR etc…).Once you close the period in MM side, its difficult to post again in that closed period. For more read the SAP notes 487381.
    You can check which period is open in MMRV( you can set here back posting allowed or not) and close the period in MMPV.
    Initiation of period can be done in MMPI (1st time only) and setting of MM period can be done in OMSY.
    Inventory valuation & automatic account posting depends on following T.codes and where is your material valuated (plant level or in co.code level)
    1.OMSK: Valuation Class with Account category reference,
    2.OMWM: Active Valuation Grouping Code,
    3.OMWN: Active Movement type with G/L account,
    4.OMWD: Active Valuation Area,
    5.OMWB: Active Chart of account,Valuation Grouping Code,Account Grouping Code, Valuation Class and G/L acocounts
    Regards,
    Biju K

  • Problem with BI-IP and Offsets in Fiscal Period/Year

    Hi freinds,
    I got a request that is linked to BI-IP and Query design.
    The request is that the users should always see a complete year by Fiscal Periods (001.2010...012.2010).
    Now the BI-IP should be dynamic. This means in 007.2010 the user should plan 008.2010...012.2010, the previous month are supposed to be the actuals.
    Problem: I do not want to change the query each month in order to move the planning month. I tried to use an offset with 11 month actuals. Saying "current month/Year", -1,-2,...,-11 using 11 restricted key figures. Same I did for the planning month. I now limited the Data to 2010 in the filter and anywhere I could. However, the result columns are showing all 22 Month. 001.2010...007.2010 are the only once which carry data. all other columns are empty.
    I just do not want to see the columns that do not belong to the current year.
    Any ideas or How to's I can use?
    Thanx and best regards
    Joerg

    Sorry, but I can't imagine how that should work.
    I have two Cubes combined under a Multicube. One containing the Actuals and one for the Forecasts. To show the actuals I have to create a restricted key figure that shows the actuals and for the forecast I have to select differently.
    What is the exit variable supposed to do? I could use a SAP Provided variable to find out about the first month and the actual month, but since it will be a restricted keyfigure it will be shown as sum between the two month. I need for each month of the year a column, and the "open" Month should be input ready. And this should be dynamic.
    Thanks for helping
    Joerg

  • Best method for rolling period/year

    I have a requirement to retrieve the year/period for 13 periods.
    Each year has 12 periods.
    Based on a starting year/period, I need to calculate the subsequent 13 periods following.
    Basically, it means adding 1 to period but when period passes 12, [subtract 12 (so 13 becomes 1) and add one to year].
    Eg:
    Start with 2008/10
    You get
    2008/10
    2008/11
    2008/12
    2009/01
    2009/02
    etc
    I know I can use &start_year+floor((&start_period+&add)/13) to calculate the year but how can I calculate the period.
    If I use mod(&start_period+&add,13) I get 1-12 but then 0 upon 13, not 1.
    Thanks

    I ended up with this:
    select
    accounting_year,
    accounting_period,
    description,
    to_char(date_from, 'yyyy/mm/dd') date_from,
    to_char(date_until, 'yyyy/mm/dd') date_until,
    to_char(ifsapp.ACCOUNTING_PERIOD_API.Get_Date_Until(company,accounting_year+floor((accounting_period+01)/13),1 + mod (accounting_period + 01 -1, 12)),'yyyy/mm/dd') date_until_plus_01,
    to_char(ifsapp.ACCOUNTING_PERIOD_API.Get_Date_Until(company,accounting_year+floor((accounting_period+02)/13),1 + mod (accounting_period + 02 -1, 12)),'yyyy/mm/dd') date_until_plus_02,
    to_char(ifsapp.ACCOUNTING_PERIOD_API.Get_Date_Until(company,accounting_year+floor((accounting_period+03)/13),1 + mod (accounting_period + 03 -1, 12)),'yyyy/mm/dd') date_until_plus_03,
    to_char(ifsapp.ACCOUNTING_PERIOD_API.Get_Date_Until(company,accounting_year+floor((accounting_period+04)/13),1 + mod (accounting_period + 04 -1, 12)),'yyyy/mm/dd') date_until_plus_04,
    to_char(ifsapp.ACCOUNTING_PERIOD_API.Get_Date_Until(company,accounting_year+floor((accounting_period+05)/13),1 + mod (accounting_period + 05 -1, 12)),'yyyy/mm/dd') date_until_plus_05,
    to_char(ifsapp.ACCOUNTING_PERIOD_API.Get_Date_Until(company,accounting_year+floor((accounting_period+06)/13),1 + mod (accounting_period + 06 -1, 12)),'yyyy/mm/dd') date_until_plus_06,
    to_char(ifsapp.ACCOUNTING_PERIOD_API.Get_Date_Until(company,accounting_year+floor((accounting_period+07)/13),1 + mod (accounting_period + 07 -1, 12)),'yyyy/mm/dd') date_until_plus_07,
    to_char(ifsapp.ACCOUNTING_PERIOD_API.Get_Date_Until(company,accounting_year+floor((accounting_period+08)/13),1 + mod (accounting_period + 08 -1, 12)),'yyyy/mm/dd') date_until_plus_08,
    to_char(ifsapp.ACCOUNTING_PERIOD_API.Get_Date_Until(company,accounting_year+floor((accounting_period+09)/13),1 + mod (accounting_period + 09 -1, 12)),'yyyy/mm/dd') date_until_plus_09,
    to_char(ifsapp.ACCOUNTING_PERIOD_API.Get_Date_Until(company,accounting_year+floor((accounting_period+10)/13),1 + mod (accounting_period + 10 -1, 12)),'yyyy/mm/dd') date_until_plus_10,
    to_char(ifsapp.ACCOUNTING_PERIOD_API.Get_Date_Until(company,accounting_year+floor((accounting_period+11)/13),1 + mod (accounting_period + 11 -1, 12)),'yyyy/mm/dd') date_until_plus_11,
    to_char(ifsapp.ACCOUNTING_PERIOD_API.Get_Date_Until(company,accounting_year+floor((accounting_period+12)/13),1 + mod (accounting_period + 12 -1, 12)),'yyyy/mm/dd') date_until_plus_12,
    to_char(ifsapp.ACCOUNTING_PERIOD_API.Get_Date_Until(company,accounting_year+floor((accounting_period+13)/13),1 + mod (accounting_period + 13 -1, 12)),'yyyy/mm/dd') date_until_plus_13
    from ifsapp.accounting_period
    where
    trunc(sysdate) between date_from and date_until
    and
    accounting_period > 0

  • HFM Period Year Options as Variables

    Hello Gurus,
    Can someone please show me the syntax for using variables in the HFM data extract options - using the LKM-Hyperion Financial Management Data to SQL? For example, I created two variables 'HFMClosePeriod' and HFMCloseYear'. I want to use these variables to define the option values for 'Period' and 'Year' using the above variables. I have tested my interface using hard-coded values but this is not realistic. I have tried entering the varable name in the Value field [for example - #HFMClosePeriod] but the interface doesn't recognize the variable. John Goodwin's post recommended using a package but I receive the same results.
    Your assistance is greatly appreciated!

    Hi,
    We are having similar difficulty as mentioned in the below replies.
    The difference in our case is HFM consolidation through ODI. We are using IKM SQL to HFM, this IKM takes consolidation parameters in below format:
    Specifies the parameters for consolidate operation as comma-separated values in the order Scenario, Year, Period, Parent.Entity and Type (represented by a letter as given below).
    Consolidation types and the letters that represent them are listed below:
         I = Consolidate
         D = Consolidate All with Data
         A = Consolidate All
         C = Calculate Contribution
         F = Force Calculate Contribution
    e.g. Actual,1999,2,EastRegion.EastSales,A
    Now the client requirement is to pass Year & Period dynamically. I tried passing variable through package method, as told by John goodwin but IKM doesn't seem to be picking variable values.
    Has any one tried this before..?? Aany help would be appreciated..
    Regards,
    Kanu

Maybe you are looking for