Dynamic date in the selection according to fiscal year variant

Hi
Is it possible to set dynamic date input parameter from the fiscal year variant sap table (OB29 transaction).
For example when I run valuation (F.05) I want the value date input field to be the last day of the previous period.
Thanks
Ofer

Hi,
The dynamic dates on the selection parameters may come from the variant.
You need to create the variants accordingly to your requirements and specify how the date on the selection screen has to be calculated.
You have different options for this purpose.
T     T: Table Variable from TVARVC
D     D: Dynamic date calculation

Similar Messages

  • How to capture the data if i am using two Fiscal year variant

    Hi
    My client is required need two type financial statement one is as per company act and calender year.  Other one is company act and fiscal year.
    regarding we have maintain two fiscal year variant one is assigned to company code as per calender yr other one is assigned to Spl.Pr G/L. but how to capture the financial data from company code in case we are using two fiscal yr variant.
    Rekha

    Hi
    U cannot maintain two two fiscal year varaint for a company code in GL. As said by u maintain one fiscal year varaint for GL and the other one for FI SL. When u post FI document in GL automatically the same will flow into FI SL for the corressponding period.
    For example ur Fiscal year varant is April to March in GL
    and Callendar year in FI SL and u do a posting in April 1 (period 1) in GL then it post it to  4th period in FI SL automatically since April is the 4th period in FI SL since it uses K4 as the fiscal year variant.

  • Error in the source system for fiscal year variant K4 Period 00

    We are experiencing the following issue when loading data from module Flexible real estate RE-FX CASHFLOW CUBE OREFX_C06 Error in source system Fiscal year variant K4 is not defined for the period 00.

    Hi,
    You need to check in your source whether you have maintained Fiscal Yr Variant or not? Talk to you Functional person before you do the BI Extraction.
    In Table T009B
    You can check Fields
    MANDAT - client
    PERIV - Fiscal Year Variant
    BDATJ - Posting date YYYY
    BUMON - Posting date calendar month
    Check Table T009B and see if you fiscal variant is maintained for all periods of Years (as per error its not). maintain the same in Source system and transfer Global settings in BW to copy the same into BW system.
    @AK

  • Fiscal year variant V3 is not maintained for calendar year 2010

    Hello Gurus,
    I tried to load the data from data source to Targer i got bellow Error Message and i checked the data in R/3 side 2010 data is available ,
    Diagnosis
    An error occurred in BI while processing the data. The error is documented in an error message.
    System Response
    A caller 01, 02 or equal to or greater than 20 contains an error message.
    Further analysis:
    The error message(s) was (were) sent by:
    Second step in the update
    Second step in the update
    Second step in the update
    Second step in the update
    Procedure
    Check the error message (pushbutton below the text).
    Select the message in the message dialog box, and look at the long text for further information.
    Follow the instructions in the message.
    1) Fiscal year variant V3 is not maintained for calendar year 2010
    2)Error when assigning SID: Action VAL_SID_CONVERT table 0FISCPER
    3)Error when assigning SID: Action VAL_SID_CONVERT table 0FISCYEAR
    4)Activation of M records from Data Store object 0FIAP_O03 terminated
    5)Process 000052 returned with errors
    6)Process 000119 returned with errors
    Please suggest.
    Thanks
    Prakash

    prakash,
    i hope 2010 fiscal variants are not mainiatined in ur bi system
    please do this operation..
    Go to RSA1-> source systems->select R/3 system -> right click->Transfer global settings->Fiscal year varaints->rebuild tables
    then try to repeat the load...the load will be fine if the calender is maintained in R/3 if not raise this issue to the functional people...

  • Fiscal year variant Z1 is not maintained for calendar year 9006

    Hello Experts ,
    I am tring to load data into Cube from ECC datasource.  The load till PSA is fine but  during DTP load I am getting the followig error .
    "Fiscal year variant Z1 is not maintained for calendar year 2009006"
    I tried to  reload "Global settings from System system " But did't worked . Just to let u know  our client is retail client and using 4-4-5 fiscal year .
    Pls help what should I do.
    I saw 0FISCPER AND 0FISCYER Infoobjects in BI but could not find thing .
    Your Help will be Highly Appreciated .
    Thanks
    Pankaj

    You have a few choices on how to handle this:
    1. Have a functional person update the Fiscal Year Variant in your ECC source system to include periods for Fiscal Year 9006. Then update Global Settings.
    2. Update the Fiscal Year Variant in your BW environment, in the IMG (SPRO > SAP Customizing Implementation Guide > SAP NetWeaver > Business Intelligence > General BI Settings > Maintain fiscal year variant).
    3. Filter out the data for that Fiscal Year in your DTP.
    4. Modify the Transfer Rules / Transformation to change this date to an acceptable Fiscal Year/Period.
    These are in order of preference (best practice) on how to handle this.

  • Error FGV002: Fiscal year variant & is not maintained for calendar year &

    Hi all,
    I am facing a unique problem in BW production. This is not happeneing in my Development.
    Whenever I goto table    "/BI0/SFISCPER" or do F4 on any Fiscal Year / Peiod field, I get the message " Error FGV002: Fiscal year variant R1 is not maintained for calendar year 2005"  . In my client R1 is Shortened Fiscal Year.  But we are not using this for year 2005 and most years. And the message is Type Error. I tried to debug but the code enters in 100 odd Function Modules and does not give any answer.
    My Finance Person has checked the settings in transaction SPRO > SAP Reference IMG > BW Customizing Implementation Guide > Business Information Warehouse > General BW Settings > Maintain Fiscal Year Variant). They are exactly identical to R/3 production setting.
    I have already done rebuild of Fiscal Year Variant from Source System by right clicking and loading data again.
    I am using BW 3.0B with Bi Content 3.1 . Please advise urgently.

    Hi TCS
    Please check these SAP notes in advance:
    1619823
    1835628
    Please advice if this helps.
    Regards
    PC

  • Facing an error in fiscal year variant in analyzer

    Hi Experts,
    Whenever i run a query in analyzer iam facing the following error.
    "Fiscal year variant X is not maintained for calendar year 2008"
    Please suggest on this.
    Thanks & Regards
    Sameer Khan

    Hi,
    You need to maintain the values for the infoobject 0fiscperiod in the BW.
    You can see in the master data table of this infoobject that this value is not maintained there and thats why it is ginving you the error.
    Go to the source system option in the RSA1 right click on your R/3 source system and "Trnsfer global settings"
    here chose Fiscal variant and option update tables.
    and then start the data load again.
    Look for the table
    T009
    T009B
    in the source system and just verify if these table contains the value for error which you are getting.
    Thanks & Regards,
    Ramnaresh .P.

  • Delta Fail - Fiscal year variant FP is not maintained for fiscal year 2011

    Afternoon all,
    One of our overnight deltas failed with the error msg
    "Fiscal year variant FP is not maintained for calendar year 2011"
    I've since in SPRO under Maintain fiscal year variant created the correct entry for 2011 which mirrors the R3 source system. However when i run a repeat delta the same error occurs.
    Thinking i may have missed a setting i have since transferred the global settings for fiscal year variants from the source system in RSA1 and again ran a repeat delta...same error.
    On the advice from other threads in the forums i've checked in OB29 and it appears fine, and also checked tables T009 and T009b again without success.
    Does anyone know of anything else i can try?

    hi,
    hope run the delta after the attribute change run could solve the issue.
    hope u may have the below posts already if not chk out
    Fiscal variant maintence
    Maintaining Fiscal Variant Between R3 and BW
    Fiscal variant not maintained for Calender year
    Ramesh

  • Detailed Fiscal year variant not processed

    Hi all
    While executing DTP for 2lis?_03_UM(Revaluations in Inventory) datasource, I got this error at RSDS level.
    Detailed Fiscal year variant not processed.
    I looked in several forums but couldn't solve the issue.
    I tried these options.
    I went to SPRO and i had given the V3 as a fiscal year variant in setting for BI content.
    Then When I was trying to activate DTP again,I got his error.
    1.PSA metadata is inconsistent
    2.Error when activating DTP
    Can somebody help me?
    Thanks.

    HI...I solved the error with PSA metadata being inconsistent by deleting and reloading IP and DTP.
    But the Fiscal Year variant not processed still shows up.
    Inside transformations I mapped fiscal year to V3 and its also maintained in tbale t009B.
    In one of the forum the posted answer was like"Delete the fiscal year variant rule from transformations" which results in errror".
    Is that the solution?
    Please help me out.

  • FISCAL year from Date  in the Selection Screen.

    Hi Folks,
    Is there any function module which returns the Fiscal year if we provide the date in ranges.
    I mean, I have a select option for date in the selection screen.So,if a user enters the date say 01042007 01042007 it should return the corresponding fiscal year.
    Kindly let me know if anyone here has any idea regarding this.
    Thanks,
    K.Kiran.

    Hello,
    Check these FM's
    FTIS
    FTI_FISCAL_YEAR_MONTH_GET
    KBPA                           Budget/Plan - application-specific
    KBPA_GET_START_FISCAL_YEAR     Determine Start Year for Funds Management
    KBPA_GET_START_FISCAL_YEAR_OPT
    Vasanth

  • What is the procedure/code in VBA for passing the calc scripts dynamically based on the selection.

    Hello Gurus,
    I want to know what is the procedure/code in VBA for passing the calc scripts dynamically based on the selection.
    For example:
    X=EssVCalculate("Sheetname","Calc_Script name",True)
    In the above code instead of the *"Calc_Script name"* I want a script which is called dynamically and the values are calculated accordingly.
    Thanks in advance
    Saurabh

    Hi Todd,
    This is the situation:
    I have a calc script in Essbase which I can call to perform the calculations on the current sheet that is retrieved. I want calculation for the following formulas:
    x = EssVCalculate("Sheet2", "CalcBC", False)
    CalcBC is my calc script which is present in Essbase
    So instead of passing the above script I want to pass the conditions dynamically in the VBA code . I don't want to mention the script name directly in EssVCalculate option
    For example:
    I have three drop down menus from which I would select three different( zero level )members. It would then retrieve the data for that particular values in the excel sheet and now when I click on Calculate button it should calculate the script dynamically.
    I don't know how calc scripts can be executed dynamically in the VBA code itself.
    Thanks in Advance
    Saurabh

  • How to display the dynamic text in the selection screen

    Hi All,
    I want to display the dynamic text in the selection screen .... ( I searched in forums , didnt get the any answer fot this sort of qustion ).....
    EX: If i have the date of today 31st  it has to show message like " today date is 31 like some thing "  when i execute the report .
    Could any one face this sort of requirment, Please let me know.
    Thanks in advance.
    Reagrds,
    Bharani

    Where would you like this dynamic text being displayed? As an "message" or in some parameter field?
    If first
    parameters date type d.
    data: text type string.
    at selection-screen.
       concatenate 'Today is' date into text.
       message text type 'I'.
    If second
    parameters pa_text type c length 50.
    at selection-screen on date.
      if date is not initial.
        concatenate 'Today is' date into  pa_text.
      enidf.
    at selection-screen output.
       "show it as read only
       loop at screen.
        if screen-name = 'PA_TEXT'.
               screen-input = abap_false.
              modify screen.
        endif.
       endloop.
    Regards
    Marcin

  • Selection criteria is fiscal year/period but need to restrict KF by date

    Hi,
    I have query where selection criteria is based on fiscalyear/period and in result I need to have Netvalue for all the sales order by created on date for that fiscal year/period.
    For eg if I have entered fiscal year/period as 008.2007, I should get net value for all the orders that have created on date between 08/01/2007 to 08/31/2007.
    Can anyone help me about this please.

    Hi DV
    Here is the code
    put it in I_STEP=2
    WHEN 'EXIT NAME"
    READ TABLE I_T_VAR_RANGE INTO loc_var_range with key vnam = 'userinput variable name'
    v_fiscal_year = loc_var_range-low_0(4)
    v_period = loc_var_range-low+4(3)
    CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
              EXPORTING
                i_gjahr              = v_fiscal_year
              I_MONMIT             = 00
                i_periv              =  Give your fiscal year variant name
                i_poper              = v_per
             IMPORTING
               e_date               = v_date_beg
             EXCEPTIONS
               input_false          = 1
               t009_notfound        = 2
               t009b_notfound       = 3
               OTHERS               = 4.
            CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
              EXPORTING
                i_gjahr              = v_fiscal_year
              I_MONMIT             = 00
                i_periv              =  Give your fiscal year variant name
                i_poper              = v_per
             IMPORTING
               e_date               = v_date_end
             EXCEPTIONS
               input_false          = 1
               t009_notfound        = 2
               t009b_notfound       = 3
               OTHERS               = 4.
            CLEAR s_range.
            MOVE:
              v_date_beg TO loc_range-low,
              v_date_end TO loc_range-high.
              loc_range-sign = 'I'.
              loc_range-opt = 'BT'.
            APPEND s_range TO e_t_range.
    Thanks
    Tripple k

  • Error in Data loading - The source of the fiscal year variant has changed

    Hi All,
    Need your kind suggestions to solve the issue.
    I am trying gto load data from one cube to another. the base cube has data with 0CALDAY. in the next cube I am trying to derive 0FISCPER from 0CALDAY. But while loading I am getting this error.
    The source of the fiscal year variant has changed
    Could someone guide me.
    Thanks in advance.

    Hi Saugata,
    nice to exchange views after a long time.
    well, if u are sending data to the target cube which contains data for the separate financial entity of different finacial parameters like fiscal varient then u need to update global transfer settings, and then load data.
    parhaps u also need to check the value of the Fiscal year varient to the target cube.
    hope this helps.

  • Determine previous date from the selection date

    Hi Guys,
    I need to get a previous date from the selection date mm/dd/yyyy
    Eg:
    Selection date is 02/28/2008
    Sol- -02/27/2008
    Selection date - 03/01/2008
    Sol- 02/29/2008
    Selection date - 04/02/2008
    Sol-04/01/2008
    If i do ofset -1 in query ....it goes -1 month. In Exit if i do Sys-datnum -1. It works but not in case for Feburary month. Since 2008 year has Feb (29 days) but for 2007 (28 days)
    Regards

    Hi,
    Problem is i have a 0Date restricted to a variable and if i do offset-1 to that variable it goes previous month not the date.
    I dont have 0CALDAY in my cube. Can i do in the UserExit.
    If i do sy-datum-1. Will it work?
    Because the FEb one is the main problem
    Regards

Maybe you are looking for

  • CFMX702 On Fedora Core 6

    Hi there, it's been a while since my last post here, but there is allways a chance to post once again (like this time). I've been trying to install Coldfusion MX 7 on Fedora Core 6, let me tell that it's a pain make it work but when at last you can s

  • CS4 Color Picker?

    I am having a problem getting Adobe color picker to produce accurate colors. For example, if I dial in RBG value 49, 49, 49 ( HEX: 31 31 31), I get a dark color swatch that is RBG value 37, 37, 37 (Hex: 25 25 25) according to my MAC Digital Color Met

  • How can I get a larger output size without dropouts?

    Using FMLE 3.2 to push HD to UStream.  Capture card is a Decklink Studio2.  Codec is h.264.  I see blocking and get dropouts on the input side when I increase the output size above 720 x 404.  I have used different bit rates, up to 2500.  Same proble

  • Billing with Zero quantities:

    Hi all, I have some problem in billing. I have created few orders with some line item with zero quantities and some are with quanitties in the same order. It has allowed me to save the order and also to deliver but not allowing me to bill / invoice,

  • Error installing 11.1.2 on redhat 5 --Oracle HTTP server -- -failed

    when i am installing 11.1.2 on RHEL 5 ,i see that Oracle HTTP server installtion failed. I am not understanding what could be the reaosn .? Else is there a way to avaoid the Oracle HTTP server and go for apche HTTP server. Help needed