I would like to display current fiscal year always on variable screen

Hi
I have requirement in which I would like to display the current fiscal year on variable screen in BI Report.
we have a standard variable however the sap exit to display the current fiscal year is not shown...
Can any one tell me, how to proceed in this case.
Thanks
Chetan

Hello,
For I-step = 1, use the function module DATE_TO_PERIOD_CONVERT.
here for IMPORT use i_date = sy-datum and i_periv = ur fiscal variant.
The output is e_buper contains fiscal period and e_gjhar contains fiscal year.
The use concatenate to join fiscal year and fiscal period to the variable low value.
Regards,
Shashank

Similar Messages

  • Variable to display data from Current Fiscal Year to the MONTH entered

    Hi Friends,
    In the Quey Designer I require a CHARACTERISTIC VARIABLE for the 0CALMONTH which should have the following features:-
    1.Input Month(e.g JUN 2008)
    2.Mandatory
    3.Ready for Input
    The query should show the following OUTPUT:-
    The data should be displayed from the CURRENT FISCAL YEAR to the value of the Input MONTH entered.
         e.g For Input  =  DEC2008
               Output = from APRIL 2008 to DEC2008.
    Do we have a standard variable for this or we have to go for a Customer Exit??
    Thanks in Advance!!!
    Vivek

    Hi,
    Create a customer exit as follows.
    WHEN 'ZCMTD'.
    you variable name
    data: ZCMTD_LOW like sy-datum.
    ZCMTD_LOW = sy-datum.
    ZCMTD_LOW+4(2) = '04'.
    *replacing last two symbols (month) in the current month with '04'
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = ZCMTD_LOW.
    *initializing low interval limit
    L_S_RANGE-HIGH = SY-DATUM.
    *initializing high interval limit
    L_S_RANGE-SIGN = 'I'.
    *defining interval as inclusive
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDCASE.
    Thanks,
    Ashok

  • Need to Display Data for Cummulated to Current Day of Current Fiscal Year

    We use fiscal variant V3 (April-March).  My need is to display data automatically from first of fiscal period (April 1 2006) to today.
    I tried using 0CYTCD on Calendar Day but this works only for the current calendar year that the system is in  i.e 2007.
    Is there a standard variable I can use on 0CALDAY so I always get data from day one of current fiscal year/period to today? e.g. April 1, 2006 to January 3, 2007
    If not, can someone please help with the exact customer exit code that I would need to write in CMOD in BW?
    Thanks a ton!

    I thought of using 0FYTCD variable, but I cannot find it in the business content.
    Has anyone used 0FYTCD (Fiscal year to current day) in BW 3.1 SP25?
    Again, I am looking for a variable that would get me the beginning of fiscal year to today.
    Thanks.

  • Current fiscal year and previous fiscal year restriction in Query  Customer

    Hi ,
    My requirment is disply current year qtrs and previous year qtrs in the report . User will not enter year , date , month or qtr . system should calucualte and disply curremt year qtrs and previous year qtrs .
    I have created ZFISCYEAR reference of a 0FISYEAR year . now I would like to write customer exit for Current fiscal year and previous fiscal year to display current year qtrs and previous year qtrs.
    Could you please provide customer exit code if you have or recomend if you know any other options.
    Appriciate you help
    Thanks

    hi try this
    take into account that I don't know th periv you use could be K4 or one defined by you so I have commented it.
    The coding here is for the current fiscal period for the previous year just to another l_year varibale and populate with offset for instance l_year = l_year - 1.
    so for current year
    WHEN 'CURRPERIOD'.
        current_date = sy-datum.
        CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
          EXPORTING
            i_date  = current_date
        '    i_periv = ''
          IMPORTING
         '   e_buper = l_period.
            e_gjahr = l_year.
        l_s_range-low = l_year.
        l_s_range-sign = 'I'.
        l_s_range-opt = 'EQ'.
        APPEND l_s_range TO e_t_range.
    for previous period
    WHEN 'PREVPERIOD'.
        current_date = sy-datum.
        CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
          EXPORTING
            i_date  = current_date
        '    i_periv = ''
          IMPORTING
         '   e_buper = l_period.
            e_gjahr = l_year.
        l_year = l_year - 1.
        l_s_range-low = l_year.
        l_s_range-sign = 'I'.
        l_s_range-opt = 'EQ'.
        APPEND l_s_range TO e_t_range.
    bye
    Boujema

  • Return current period based off of current fiscal year and date

    Good Afternoon,
    Is there a way in the webi that I can create a dimension that always reflects the current Fiscal Month based of Fiscal year and date? I have a report that I am trying to show sales for a customer based off the current fiscal month. I would like this report when refreshed to be based off this fiscal month dimension instead of showing each fiscal month or changing it manually. What is the best way to do this?
    I have attached an image that shows current numbers by period (month) and then the YTD Totals. I would like to have my 'Period' column always reflect the current period and the Total column to reflect that months totals based off the period column. So for this period (3), instead of seeing 3 lines for each month I would just see the '3' and the total as $541,310.46, monthly as 412,502.09 and my YTD as 1,080,091.06.
    Any help is always appreciated!
    Thank you,
    Tiffany

    Hi,
    Create a variable
    FlagVar=If([Period]=Max([Period]) In Report;"Show";"Hide")
    And apply block filter of FlagVar=Show
    Are these coming TotalSales  MonthlyGoal YTDSales directly from universe? If they are calculated at report level then you might want to use NoFilter. like =NoFilter([YTDSales])

  • Function module to read customer balances for current fiscal year.

    Hi,
    Could anyone please tell me about the function module which would display the customer credit balances from the FD10n transaction code for teh current fiscal year. that means from july 2010 to july 2011.

    Hi,
    use the BAPI 'BAPI_AR_ACC_GETCURRENTBALANCE'
      CALL FUNCTION 'BAPI_AR_ACC_GETCURRENTBALANCE' "Closing balance of customer account in current fiscal year
      EXPORTING
        companycode =               " bapi3007_1-comp_code  Company code
        customer =                  " bapi3007_1-customer  Customer
      IMPORTING
        actual_balance =            " bapi3007_9    Carry forward balance and balance
        return =                    " bapireturn    Return Code
        .  "  BAPI_AR_ACC_GETCURRENTBALANCE
    This method provides a customer's balance for the current fiscal year.
    It displays both the balance of standard transactions and the total balance of standard transactions and all special general ledger transactions.
    Read the Documentation of the BAPI.
    Regards,
    Dhina..

  • Reversal of Last Fiscal year asset in current fiscal year

    Dear SAP experts
    Asset has been booked in last fiscal year (jan2006) depreciation also posted till this fiscal year last month (2007 June)
    Asset value-70000 (invoice value)
    Accumulated Depreciation-33753.42
    Asset net book value as on date- 36246.58
    With same information one more asset also booked by mistake, so my client want to reverse any one of them asset with depreciation (which has booked in last fiscal year)
    I tried with asset credit memo (T code ABGF); it is picking up only asset net book value (36246.58) not accumulated depreciation (which is already affected in Accumulated GL account).
    Can you tell me is there any way to solve this problem

    Hi Chaitanya,
    If you have already acquired and depriciated the asset in previous fiscal year and closed the books and published the results why do you want to reverse it now. from accounting point of view also how would you show the entry for reversal of depriciation.
    Any how the acqusition and depriciation posted in previous fiscal year can not be reversed in current fiscal year it can be reversed only in previous fiscal year. as per SAP standards you can write up the asset if you have wrongly depricaiated the asset.
    Or else you can retire the asset with revenue which will give the same financial impact as you are expecting.
    Thanks & Regards
    Sree

  • Asset write off in the current fiscal year.

    Hi Experts,
    I want to write off an asset in next 4 periods of the current fiscal year 2007. For example:
    Asset 11000
    APC value: 10000
    APC Date: 01.01.2005
    The useful life will end in fiscal year 2008.
    The book value left at the begining of the current fiscal year 2007 Rs. 4000.00
    In the current fiscal year this asset has already been depreciated for previuos 3 periods.
    Now Business wants to write off ( fully depreciated ) this asset in next 4 periods equally and then if the book value and tax value is nil, they want to scap the asset.
    Now can you please tell me how to make this happened. Its very urgent. If you need any more information, most welcome.
    Rgds,
    BABA

    Hi,
        You would have to set the asset to manual depreciation(Depr.Key MANU)
    and generate a posting via ABMA for each of the periods.
    Kind regards

  • Current Fiscal Year

    Hi,
    Is there an oracle function that returns the current fiscal year in format (2012/2013)?
    Thanks

    Hi,
    sliderrules wrote:
    Is there an oracle function that returns the current fiscal year in format (2012/2013)?That depends on what you mean by fiscal year.
    If a fiscal year begins on April 1 of every calendar year, then
    ADD_MONTHS ( TRUNC ( ADD_MONTHS (d, -3)
                      , 'YEAR'
            , 3
            )is the beginning of the fiscal year that contains DATE d. The "magic number" 3 reflects the fact that the fiscal year starts 3 months after the calendar year.
    If you want a string like '2012/2013' that shows the calendar years when the fiscal year begins/ends, then use the expression above to get the beginning date, use EXTRACT to get the year as a number, and then add 1 to it.
    If you're just interested in the year number, as in your message, then you don't need the outer ADD_MONTHS or TRUNC; you can just EXTRACT the year from <tt>ADD_MONTHS (d, -3)</tt>
    You might consider a user-defined function for this. It will be slower than doing it in pure SQL, but it will be a lot more convenient. You don't have to use the function in situations where performance is an issue.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}
    Edited by: Frank Kulash on Mar 14, 2013 11:30 AM

  • How to design extractor can have only current Fiscal Year data.

    Dear Experts,
    I require a full upload DSO , which can have only current fiscal year data . I have created view putting there certain conditions for minimising the data size. How i can restrict it , to have only current fisacal year data for YTD reports. It would be daily uploaded.
    Should i created Data Source based on function ?
    Regards,
    Anand Mehrotra.

    while extracting the data from source you can set the filters at the info package level so that it will not extract the previous years data.
    In the data selection tab in Info package enter the current fiscal year and schedule the IP it will extract only the current year data.
    next execute the DTP to load data till DSO.
    the data is restricted in the infopackage level before entering to PSA so there is no need to write any routines in the DSO level.
    Edited by: prashanthk on Feb 1, 2011 12:45 PM

  • How to get last 35th fiscal year periof form current fiscal year period

    Hi,
    I want last 35th moths fiscal yesr periof from current fiscal yesr periog.
    E.g. current month FISPER - 2010011 so required FISPER is 2010011 - 35 = 2007009.
    Please help if any one know about it.
    Marks will be provided.

    Hi,
    Drag Fiscal year/period characteristic in the query and restrict it .
    In the variables , you will find SAP delivered variable which willl give you current fiscal year/period.
    Create range on the using this variable and give offset of -35.
    For eg.
    the name of the variable is 0PF_CP,  then create range in the following way.
    Lower range will be 0PF_CP - 35
    and higher limit will be 0PF_CP.
    So the range would be 0PF_CP-35 : 0PF_CP.
    This will give you the last 35 fiscal year/period.
    - Jaimin

  • I would like to display two system clocks for different time zones

    I would like to display a couple of time zones on my system clock. Can this be done? Like having my current location date and time and another showing the date and time for Madrid, Spain.
    If this can't be done, how do I add clocks (or calendars) to my desktop?

    In the widgets screen, click the + sign in the lower left.  This should show you the widgets you have.  World clock is the one your looking for and may not be on the first screen.  There's an arrow on the far right side to slide to the next screen.  When you find World Clock just click on it and it will add a clock.  Click again and it adds another one on top of the first.  Grab the clock anywhere on it's display and drag it to the desired location. 

  • I would like to display my bookmarks permanently. Clicking on Firefox, Options and then checking the Bookmarks Toolbar does not do this. How can I display the bookmarks along the left margin like they used to display?

    I would like to display my bookmarks. Clicking on Firefox, then Options and then checking off the Bookmarks Toolbar does not do this.
    What do I have to do to permanently display my bookmarks?

    I asked how I could display my bookmarks permanently.
    This answer does not address that issue. Instead, it tells me how I can display my bookmarks temporarily.
    While this is nice to know, I wanted to find out how to display my bookmarks permanently - not temporarily.

  • To post write up in the current fiscal year

    Hi,
    I am trying to post write up in the current fiscal. However, the system is not allowed to post me. I know that the write-up needs to be posted from the next fiscal year. However, due to the requirement, we need to post in this current and switch off the message.  I have already switched off the message in OBA5, but still, I cannot proceed to post with write-up in the current year. Is there a way that I can post this.
    The following are the error details.
    You cannot post write-ups
    Message no. AA400
    Diagnosis
    According to the transaction type, you have to post to area 01. However, in this area, there is either no accumulated depreciation or the write-up depreciation type(s) are not managed in this area.
    Procedure
    Check the transaction type.
    Regards,
    Ravi

    Hi Ravi,
    A write up can only be carried out if you have cumulated depreciation   values (from previous years). In the current fiscal year depreciation  should be posted the 'normal' way. Write ups mean that too much  depreciation was posted in a previous year and that you will correct  this in the current year. Therefore, the system does not allow posting write ups if there exist no cumulative depreciation values from   previous year. In other words you cannot perform a write up  for an asset in the year of acquisition.                                                                               
    Also make sure that the depreciation area(s) is defined as such to  manage cumulative depreciation type or write-up depreciation type. This  should eliminate the error 'AA400'.                                                                               
    Following is the menu path to take:                                       
    CU: FI-AA
         -> Transactions                     
         - > Define Transaction Types for                                           
             - > post-capitalization (trans. AO77 and OAXD)                          
              -> manual depreciation (trans. AO78 and OAXE)                          
    For both,- select your Chart of Depr.                                      
             - >select your Transaction Type                                    
             -> select Depr. Area Specs.                                        
    Regards Bernhard
    Edited by: Bernhard Kirchner on May 10, 2010 3:00 PM

  • I would like to display Netflix on demand on my LG TV.  What cables and/or adaptors will I need to connect mp ipad to the TV?

    I would like to display Netflix on demand on my LG TV.  What cables and/or adaptors will I need to connect mp ipad to the TV?

    Thanks  for helping.  The TV has the following open slots:
    Video in
    R          L    video
    audio  image
    PC Sound
    DVI input
    RGB input
    Upgrade port
    Remote control
    I also have a Time Warner cable box (Scientific Atlanta     Explorer 4240HDC). 
    Do I need to go through that?

Maybe you are looking for

  • Auto approval for self registration request in OIM 11G R2

    Hi all, We have a requirement where we want end users to be able to self-register without needing any sort of approval. We are using OIM 11G R2 with the latest patchset. The way to do it in 11G R1 is explained in the following document: [http://docs.

  • MB Pro won't install os x mavericks after re-formatting

    Hi guys, Basically, my macbook pro dec 2011 won't install mavericks os after I have formatted my mb. What happens: with DU I checked the HD and no issues found, I formatted the macbook by using DU and erasing the HD (took about 4 hours - 3 times eras

  • Back button on a PDF to go back to my iPad App

    I created a responsive project in CP8 used phonegap to package it as an app and have some problems. one is that I have many PDF files that are opened locally (in the calles folder). Opening them is not an issue. The problem is when I need to navigate

  • Runtime dynamic filtering TreeModel

    Hello, Changing a tree during runtime seems to be a problem. I've looked at different threads and now I have the following class which filters a delegated DefaultTreeModel (see SimpleFilteredTreeModel and the corresponding TestFilteredTreeModel class

  • Wrt54G2 issues

    Hello:  I have Wrt54G2 v1.5, I did latest code upgrade recently, and I still have two issues. 1) after code upgrade, I could use cisco IPSEC vpn, after I switch to Netgear wireless router, vpn is fine. 2) It has a lot of problem with Comcast scientif