Year To Date for Current Fiscal Year

Hi All,
I have installed BC variable Year To Date for Current Fiscal Year 0I_CFYTD..
foloowing error occurs
Variable 0I_CFYTD could not be replaced..
Do i need to write any code or Please help.....

Hi,
Please check if fiscal year variant is used in the filter. Else the BC variable throws an error. Drag fiscal year variant to the filter area and set a value or variable input for the same.
Regards,
Satya

Similar Messages

  • What varaible is best to use for current fiscal year.

    Hello all,
    I have few restricted key figures which need to be reported as "for current fiscal year" so which ios the best variable we can use for that.In the filter area I have fiscal year variant and comp code do I have to give users the input ready for fiscal year?
    Also then i need comparison between current and previous year for same RKF so I plan to offset the varaible by "-1" .
    Thanks

    It works for me Bhanu. Last I used that it gave me errors so was not sure.
    for YTD i dont see any variable in fiscal year am I looking at wrong place.
    can you suggest something
    Thanks

  • 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

  • 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..

  • Capturing previous year invoice document in current fiscal year

    Dear All,
    One of my client requirement is that have posted invoice in previous year and they are making payment in current fiscal year, this scenario they want to capture in payment advice. When am checking all the table with the input as payment document number and fcleared fiscal year system not showing the invoice reference against which it is cleard. For current year cleared documents we can extract the invoice reference where as for previous year system not picking that invoice number.
    Have checked in all the table entries, kindly suggest me is there any other alternative way to do this...
    Regards,
    Balaji.c

    Dear All,
    The problem is resolved since by giving the input as previous fiscal year and then system able to show the invoice number even if its cleared in current year. Invoice belongs to preious year and cleared documen in current year in that case we have to give the input parameter as previous fiscal year against that document number.
    Thanks for all the inputs.
    Regards,
    Balaji.c

  • Current fiscal year period in BEx

    Hi,
    I have a requirment. i have a BEx query, that query is a source of APD and data is store in direct DSO.
    i need to run this query every month and load current fiscal yer period data into the DSO.
    i need BEx variable to filter the data for current fiscal year period.
    I have fiscal year period char. in query definaton
    Please help me to get this.
    Thanks.
    Edited by: Pria Gupta on Nov 24, 2011 2:18 AM

    Use variable 0F_CUFPE Current Period of Fiscal Year (Formula Variable)
    Re: how to get default value fiscal year period in Variable
    Regards,
    Sushant

  • Crystal report formulas to view revenue for current & Previous Year

    Hi all,
    We have a requirement to create a formula in crystal reports to display the current month revenue and previous month revenue along with few dimensions and also current fiscal year revenue and previous year.
    For ex on SAp ecc table CE11000.
    Please provide the syntax for above requirement.
    Quick response is appreciated.
    Thanks.
    DJ

    HI AlunJD,
    Thanks for your quick turnaround.
    Here's the structure of table i have fields like Currency type,Document Number,Fiscal year , Company code,country, Countrygrp,Document type, Sales quantity & Revenue.
    My requirement is to display Revenue for current Fiscal Year and Previous Fiscal year and aswell as Current Month And previous month in the same report.
    Is there any functions to create a formula to display data on above mentioned logic.
    Thanks.
    DJ.

  • 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

  • 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

  • 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.

  • I need a function module for covert TRIP START DATE to TRIP FISCAL YEAR

    Actually my req is
    TRIP START DATE (z object) is coming from TRIP MASTER DATA TABLE.
    based on TRIP START DATE I have to update the fields like
                       1.TRIP FISCAL YEAR,
                       2.TRIP CALENDER YEAR,
                       3.TRIP FISCAL YEAR PERIOD
                       4.CALENDER MONTH
    in the cube.
    my FISCAL YEAR START from JULY 1st to JUNE 30th.
    i need a code for update rules.
    please help me out. its very urgent.
    Thanks in Adv.

    Hi Satya,
       Check these FM.
    GM_GET_FISCAL_YEAR
    'FTI_FISCAL_YEAR_MONTH_GET'
    DATE_GET_WEEK
    MC_PERIO_CONVERT_TO_WEEK_MONTH
    UMC_FISCPER_TO_CALQUARTER
    GET_CURRENT_YEAR
    'GET_CURRENT_YEAR' or FM 'FTI_FISCAL_YEAR_MONTH_GET'
    You can use GET_CURRENT_YEAR to find the Fiscal year of the entered date.
    CALL FUNCTION 'GET_CURRENT_YEAR'
    EXPORTING
    BUKRS = '1000' " Company Code
    DATE = SY-DATUM " Date to find fiscal year for
    IMPORTING
    CURRM = w_currm " Current Fiscal Month
    CURRY = w_curry " Current Fiscal Year
    PREVM = w_prevm " Previous Fiscal Month
    PREVY = w_prevy. " Previous Fiscal Year
    Enter the date you need in the place of sy-datum.
    FTI_FISCAL_YEAR_MONTH_GET Returns fiscal year for specific date
    Kindly reward points by clicking the star on the left of reply,if it helps.
    Regards,
    Vijay.

  • 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

  • Withholding Tax not picking for the current Fiscal year 2014

    Dear Gurus,
    Withholding tax assigned to the vendor is getting picked up for the fiscal year 2013 but when the same vendor is invoiced for year 2014 with the same WHT tax code we could see that there is no tax line getting generated against the Vendor. All the configurations related to WHT are verified. As far as i Know we will not maintain any end date for WHT tax code. request yout to advance.
    Thanks in advance.
    Thanks & Regards
    Srikanth

    hi,
    Please check below mentioned Path - and check date from & to given period
    SPRO- Financial Accounting (New) - Financial Accounting Global Settings (New) -Withholding Tax -Extended Withholding Tax - Company Code -Assign Withholding Tax Types to Company Codes
    select WHT type against Company code -
    W/tax obligated frm 01.04.2010        Oblig.to w/tax until 31.12.2999
    and check vendor master data -
    Thanking you
    Regards
    Mahesh

  • Var. Exit code for Fiscper of Current Fiscal Year

    Hi Guys,
    I need to create a variable exit to calculate the Current Fiscal Period of Current Fiscal Year. (STrange requirement)
    Can anyone please help me with the sample code?
    Regards

    You can use DATE_TO_PERIOD_CONVERT based on the current date (sy-datum).
    call function 'DATE_TO_PERIOD_CONVERT'
    exporting
    i_date = sy-datum
    i_periv = w_fiscal_year_var
    importing
    e_buper = w_period
    e_gjahr = w_year
    exceptions
    input_false = 1
    t009_notfound = 2
    t009b_notfound = 3
    others = 4.

  • BW data load for previous fiscal year depending upon sy-datum

    Hello All,
    In SAP BW, while loading data using date, I have requirement to load the datat for previous fiscal year.
    Fiscal year run from Oct to Sept.
    I have given example of Nov 2012. Becuase I am going to add this info-package in process chain which will run Nov of every year for full data load.
    For Ex: I am loading data in calander year/month Nov 2012. Its previous fiscal year is 2011.
    So for fiscal year 2011, my dates for data load would be : 10/1/2010 to 9/30/2011.
    So my code or functional module should retun me 10/1/2010 to 9/30/2011 this value.
    Kindly give your inputs for the same.
    Thank You.

    Hello All,
    I have wriiten below code and it has solved my problem:
    REPORT  ZTEST_PK.
    data:
    month_last type n length 2,
    year_last type n length 4,
    year type n length 4,
    month_first type n length 2,
    month type n length 2,
    year_first type n length 4,
    day_in type sy-datum,
    day_out type sy-datum,
    v_date type n length 6,
    select_period_low(8) type c,
    select_period_high(8) type c.
    year = sy-datum(4).
    month = sy-datum+4(2).
    concatenate year month into v_date.
    Data: fisyr type n length 4,
    fiscper type n length 3.
    *Fiscal years run from Oct to Sep
    *For Ex: Nov2012 load of the previous FY itu2019s FY 2011, the dates would be Oct 10 (10/1/2010) to Sep 11 (9/30/2011).
    CALL FUNCTION 'Z_XCONVERT_CALMONTH_TO_FISCAL'
      EXPORTING
        IV_CALMONTH       = v_date
    IMPORTING
       EV_FISCYEAR       = fisyr
       EV_FISCPER3       = fiscper.
    year_last = fisyr - 1.
    year_first = year_last - 1.
    month_first = '10'.
    month_last = '09'.
    concatenate year_first month_first '01' into select_period_low.
    concatenate year_last month_last '01' into day_in.
    *calcualte last day of  a given month
    CALL FUNCTION 'SN_LAST_DAY_OF_MONTH'
      EXPORTING
        DAY_IN             = day_in
      IMPORTING
        END_OF_MONTH       = day_out.
    concatenate day_out(4) day_out4(2) day_out6(2) into select_period_high.
    write:/ select_period_low.
    write:/ select_period_high.

Maybe you are looking for

  • Is there any way to use the Yahoo! Bulk folder as the Mail "Junk" folder?

    I've been helping a few people with Yahoo! accounts and they'd like to use the Yahoo! "Bulk Mail" folder as their "Junk" folder so they don't have to select the messages in their Bulk folder in order to delete them with Apple Mail. Unfortunately, I h

  • Why is it impossible to get a straight answer from...

    Ok so they have finally pulled the plug on 'some equipment' that screwed up the internet for anyone using BT Internet for the past week. Why can't they give us a detailed honest incident report? Are they hiding something? Simply stating they removed

  • Email settings fault

    I have three email addresses set up on my phone, (instantemail.t-mobile, ntlworld and gmail) which have worked for a few months without problem.  Today, went to change an email password in email set up, and the screen said checking for updates, initi

  • Can't log onto a networked computer since upgrade

    I have a Mac min in my office that I access with my MacBook. It was working fine until I upgraded to Leopard. Now when I try to connect I get a message saying that my User ID or password are incorrect even though I'm using the same UID and P/W that I

  • Obtaining comboBox data

    Hi there, I am trying to figure out how to create the selected data in a combo box as a variable in my form. Here is a part of my code as an example of what I want to do. var orderVariables:URLVariables = new URLVariables(); orderVariables.custName =