Variables on 0FISCPER

Is anyone aware of any variables on 0FISCPER which give me:
1) Year to Date
2) Previous Fiscal Year
I need this cumulated? Thanks

Anyway, even for other people, I follow this procedure when I want to know this kind of info...
Go to SE16 and look in RSZGLOBV which variables are available in "A" version and for your specific infoobject (putting its name in the specific field "IOBJNM - InfoObject").
Here you will receive a list of IDs...well, CRTLY and CTRLC and you can copy all the IDs, then go to RSZELTTXT table, on the ID fields choose the arrow on the right (multiple selections) and click upload from clipboard, select your language and the active version and you will see all related descriptions...
In this way you can understand if there is something interesting...
Then, if you prefer, you can also look into the SAP-Exit in SE37 with the *nameofvariable...
Bye,
Roberto

Similar Messages

  • How to set a default value as current month in already created variable of 0fiscper

    Hi Guys,
    In my report currently we are using a variable for 0fiscper which is mandatory and selection option.
    Now there is a requirement to set current month as default value in that variable.
    Please let me know how can I do that.
    Thanks.
    Dolly

    You need to change the processing type to customer exit of that variable.
    Now in i_step = 1 write the following code:
    Data:dt LIKE sy-datum,
          zper  TYPE /bi0/oifiscper,
          YR type /bi0/oicalyear,
          per LIKE t009b-poper.
    IF i_step = 1.
    WHEN 'X_FSCPRC' .---User input variable based on cmod.
          dt = sy-datum.
          CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
            EXPORTING
              i_date         = dt
              i_periv        = 'M3'---Give the fiscal year variant                             according to your system
            IMPORTING
              e_buper        = per
              e_gjahr        = yr
            EXCEPTIONS
              input_false    = 1
              t009_notfound  = 2
              t009b_notfound = 3
              OTHERS         = 4.
          IF sy-subrc = 0.
    Concatenate YR Per into Zper.
            l_s_range-low = Zper.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
          ENDIF.
    endif.

  • Issue with Variable on 0FISCPER

    Hi,
    I am using a single value/ mandatory variable on 0FISCPER in my queries. It has been working fine till now but when i click on the drill down of that variable in the selection screen, it gives me a 500 INTERNAL SERVER ERROR (java.lang.NullPointerException). IF i enter a value manually without clicking on the drop down, it is working fine and the query is getting executed. How can i resolve this problem.
    Thanks
    Rashmi.

    Hi,
    Search in SDN, I don't think that is problem with Variable..
    http://help.sap.com/saphelp_nw04s/helpdata/en/7b/f89f3f12e1eb0ce10000000a114084/frameset.htm
    File Sender java.lang.NullPointerException
    Re: File Sender java.lang.NullPointerException
    500 Internal server error
    Thanks
    Reddy

  • Variable for 0FISCPER displays od values

    Hi
    I have created a query containing a interval variable for 0FISCPER. The Query is based on a multiprovider that is build on a single ODS containing WBS line items loaded through 0CO_OM_WBS_6. When the query is run and the variable box appears I press the selection button for 0FISCPER. It displays som od values for selection that does not exist in the ODS. fx. 001.0010. When i select such a value it is converted to 001.2010. The ODS only contain data for 2003-2006.
    Can you help me to understand what causes this, so i am able to fix it.
    Chris

    1.     On the Administrator Workbench: Modeling screen:
    a.     Choose Source Systems.
    b.     In the right hand window select the source system from which you would like to transfer the global settings.
    c.     From the context menu choose Transfer global settings.
    2.     On the Transfer global settings: Selection view in the frame Transfer global table contents select the checkboxes for the settings you want to use from your R/3 source system:
         Fiscal year variants to transfer fiscal year variants
    3.     In the frame Mode choose Update Tables.
    4.     Choose Execute.
    5.     Choose Back twice.
    Then try your reporting......

  • Error for variable of 0Fiscper

    Hi Experts,
    We are getting errors with the variable of 0FiscPer.  When we click on the match code, this error appears:
    The initial exception that caused the request to fail was:
    Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    ABEND: Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    ABEND: System error in program CL_RSBOLAP_VARIABLE_CHARACTERI and form No hierarchy available (see long text)
    com.sap.ip.bi.webapplications.runtime.DialogException: Error in rendering root for dialog "SELECTOR"     at com.sap.ip.bi.webapplications.ui.dialogs.framework.UiDialog.render(UiDialog.java:270)     at com.sap.ip.bi.webapplications.ui.dialogs.framework.rendering.DialogRenderingRootNode.processRendering(DialogRenderingRootNode.java:50)     at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:4716)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:4790)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:4422)....
    This only happens with this variable.Please help experts. Thanks a lot!

    please refer this note
    [Note 1063377 - Display, compounding and hierarchy node variables|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1063377]

  • Problem with variable on 0fiscper on a infoset in a report

    hi ,
    I have an infoset  on two ods's , ods1 & ods2. I have used inner join and the join is on field 0fiscper and fiscal variant. Which are  present in both ods.
    In my query i have created a variable on ods1 0fiscper, the same variable appears for ods2 0fiscper also.
    I have two issues mainly
    1. In the variable entry screen when i click  the button for value selection - i am get a lot of values for 0fiscper , even though my both ods have 6 periods only. I have other reports which use the same variable there i don't have a problem.
    2. And after the query is executed when i try to filter on 0fiscper i get the following error
    <b>System error in program CL_RSMD_RS_SPECIAL and form GET_DIME_VALUES-02 (see long text)</b>
    I am assuming the problem are due to the info set.
    Any help is appreciated.

    FYI, when you create a variable on a characteristic (in your case FISCPER), those variables are not query specific. They are known as global variables and hence are avble in all queries were 0FISCPER is used.
    As for the error message...please look into the SAP Note <a href="https://websmp103.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1006369&_NLANG=E">1006369</a>.
    Hope this helps.

  • F4 for variable on 0FISCPER takes too long

    Hi ,
    I have a multiprovider on an ODS( DSO) on which I am creating my query. One of the characteristic is 0FISCPER on which I have created a varibale. The setting of the infoobject is as follows.
    In the advance tab of the infoobject 0FISCPER in the query. I have set " Query execution for filter value selection " as Value in masterdata table.
    When I execute the report and press F4 to find out the values for 0FISCPER then the system hangs. I mean takes ages.
    The same activity on other variables works fine. The settings are same.
    Please let me know if I am forgetting something.
    Regards,
    Bill
    Edited by: Bill Bryan on Oct 27, 2008 6:04 PM

    Hi Brian,
      Check in your query definition if you are ussing "Posted values". Maybe, in this case, you can use "Master Data values"
      Hope it helps
    MfG, gdmon.

  • Invalid Entry Values in Variable on 0FISCPER

    Dear Friends
    We have a User Entry Query Variable (ZFYVAR1) on (0FISCPER - Fiscal Year/Period).  and we are using "V3" Fiscal Year Variant.  I am not sure this is the way it works or not.. but the problem is..
    This variable accepts the values like "013/2003" to "014/2004". and when query returns the values and when I drill down accorindg to 0FISCPER..I see them starting from "April 2004" to "March 2004"..
    Can some one comment on this...
    My users says, the entered periods were invalie (013/2003 - 014/2004) and it should not take it..
    Thanks
    Mavi

    Ravi,
    First of all there are no Technical Issues and Error Messages..and the requirements are not specific..
    Its basically a concern Y the "Fiscal Year/Period" variable accepting the Invalid Period.. even if it accepts it should not return any result set.. (because there is no such data in the data providers.
    But in my query when I enter "013/2003" to "014/2004". It is fetching the details for "April 2004" to "March 2004"..which is as follows
    April 2004 .......... Key Values
    May 2004 ............ Key Values
    June 2004 ........... Key Values
    July 2004 ........... Key Values
    August 2004.......... Key Values
    September 2004 ...... Key Values
    October 2004 ........ Key Values
    November 2004........ Key Values
    December 2004 ....... Key Values
    January 2004 ........ Key Values
    February 2004 ....... Key Values
    March 2004 .......... Key Values
    Well, I think you can try this if you have any query with a variable on OFISCPER used. try to input invalid dates and see the results..
    Hope I am not confused you...
    Thanks
    Mavi

  • Offset on exit variables on 0FISCPER?

    Hi,
    We are having an IP environment here. A copy function is supposed to roll forward values from one period to the next. Originally I had developed an exit variable pointing to the target period, and I have set up the copy like that:
    From: Target Period -1
    To: Target Period
    Now it seems IP cannot cope with this. If I develop a separate variable for the source period and do like that it works:
    From: Source Period
    To: Target Period
    How can that be? Can I not use an offset for exit variables (type exit, single value, mandatory, no user input allowed), coding in step 1 of the include?
    Many thanks,
    Andreas

    Hi Andreas,
    Why does it seem to you that you cannot use offset in IP? Did you get any error messages - if you did, please post the details. I think you should be able to use offsets to variables, just make sure the variable is created on a standard time characteristic like 0calmonth and is of type 'single value'.

  • Variable not Capturing  in i_t_var_range

    Hi Frds,
    I have created new customer exit variable for 0FISCPER for calculating fiscal period. But the created new variable is not capturing in the Customer exit - EXIT_SAPLRRS0_001 in import - I_T_VAR_RANGE. Can anyone tell how to solve the problem.
    Thanks
    Pari

    Hi,
    First thing is to how you have defined your variable such as
    Customer exit or
    Replacement path or
    Manual input etc..
    If you want your variable filled through the exit select Customer Exit, then you have to look at the variable options such as Single value or range. According to your definition you have code as you defined such as wa_range-opt = 'BT' or 'EQ'.
    Next..
    In CMOD -> your project -> EXIT_SAPLRRS0_001 -> include 'ZXRSRU01' ->
    ISTEP = 1 -> before the variable pop up will be filled by the exit
    when 'your variable'
    your code
    ISTEP = 2 -> after the variable pop up i.e after running your selections, calculates the values for your variables after selection screen execution.
    when 'your varaible'
    your code
    ISTEP = 3 -> Validation purpose and message handling purpose
    when 'your variable'
    your code

  • Variable with range- only 1st value used in manual planning ?

    Hi,
    We're trying to define a column in a manual planning layout that will represent a YTD total.  We have defined a variable  for 0fiscper that contains the range of periods we require in the YTD total.  When we execute that manual planning area with this variable used as a restriction on the data column we want, the key figure values displayed only represent those for the 1st period in the range - not  all periods in the range !
    I'm hoping someone can tell me if manual planning layouts can use variables in this manner.  If not, how can this best be done ? 
    Many thanks,
    Blair

    Hi Blair,
    Create a total column using the dynamic column, as a result you would have the individual period columns and the total column in the layout. Now make the individual period columns hidden using any of the options below.
    You could achieve the same, by making the column hidden in the transaction UPX_MNTN
    > Enhance Planning Layout
      > Select the relevant layout
         > Select the enhanced button for the key figure
           column
           > Mark the hidden check box there.
    Alternatively if you are using Excel GUI, you could set the column width of the columns preceeding the total column as 0 (in the third screen of the layout) to make them hidden.
    Hope it helps

  • Variable Offsets are working only partially

    Hello experts, at first I thought that an offset I placed on a variable for 0FISCPER was not working. I am trying to do a report which gives me the value of couple of Key Figure "Earnings", for a certain Fiscal Period and this same Period but for the last year. That is (please consider each "/" as a blank space):
    ////////////              Earnings  //////////////////               Earnings
    ///////////           on FiscPer   ///////////        on LastFiscPer
    ///////////           (E.G. 01.2008)  ////////      (E.G. 01.2007)
    Char1 /////////         $       ////////////////////////////                      $
    Char2 ////////         $       /////////////////////////////                      $
    Char3 ///////         $        //////////////////////////////                     $
    I am using a variable that I created, which takes a user input. On Selection "Earnings on FiscPer" I placed the variable with no offset. On Selection "Earnings on LastFiscPer" I placed the same variable, with a -12 offset.
    The problem I have is that it is not working. The offset is not working, it just displays the value for the Fiscal Period given by the user, not last year's Fiscal Period. However, the funny thing is that if I place the offset as +12 and give as input las year's Fiscal Period, the offset works and displays the value for the next year's Fiscal Period. So the variable offset works only on one side, with possitive offset values. I have tried different approaches (some coming from other posts from this forum) but I cannot get the offset to work with negative values.
    How can I manage to get this to work? Any ideas?
    Edited by: Pedro Olvera on Apr 28, 2008 6:17 PM

    Hi Pedro,
    i will try to answer your questions:
    a) range of values instead of individual value for variables:
    -> if u use a range of values for one KF u will always get cumulated values for this range
    -> for example: 0FISCPER3 with range 001-016 and 0FISCYEAR 2008 -> u get the sum of all periods for year 2008
    Idea : i have a query where i have a KF with a range. I defined a solid start period (0FISCPER3) for example 001 and have an input ready variable for end period, called "Period to". Also u have input ready variable for 0FISCYEAR. This KF shows me the sum until the defined end period for a user defined year.
    b) 0FISCPER3 in lines or columns:
    IF u now drop 0FISCPER3 in free characteristics in query designer, u are able to do a breakdown in BEx Analyzer for 0FISCPER3 in lines or columns.
    Szenario:
    1) u have created your KF as i descriped in IDEA
    2) u have dropped 0FISCPER as free characteristics in query designer
    3) At BEx Analyzer u go to query properties -> put 0FISCPER3 in columns (-> maybe u change with properties display options for 0FISCPER to text -> it dispays for 0032008 -> Mar 2008)
    4) Press ok
    5)  Right click on your KF and choose "Add drill down according to" -> Choose "posting period" (0Fiscper3)
    6) Do a horizontal drilldown for posting period with drag and drop
    -> Now u have a drill down for posting period in your KF, but also for all other KF too
    -> To avoid this u can customize workbook settings
    1) Change to design mode
    2) open properties for analysis grid and disable display options for "Hierarchy icons"
    Another way is to delete the hierachy icon
    -> u now only see a drilldown with posting period for these KF u wanted to have a drilldown to.
    If u now only want to see posting periods which have values and disable all which have no values, u can activate zero suppression for lines and columns in query properties.
    Voila, u have a worbook which now shows for your KF all availble posting periods in one year without creating 16 monthly key figures. In addition u can change the inner year range of summation of period values
    Hope it helps
    Regards
    Edited by: Tobias on Apr 30, 2008 8:35 AM
    Edited by: Tobias on Apr 30, 2008 8:36 AM
    Edited by: Tobias on Apr 30, 2008 8:36 AM

  • How to derive a variable value from another variable of a different IO?

    Hi Gurus,
    I am aware that using BEx variables and Customer Exit you are able to derive a variable value from another variable of the same infoobject (for example, Fiscal Year/Period (0FISCPER) and Calendar Day (0CALDAY)).
    However, is is possible, using the same approach to derive a variable value from another variable that is in a different InfoObject? (for example, Input Fiscal Year/Period (0FISCPER) but derive Output of Required Start Date (0REQSTDAT))?
    There are 2 BEx variables involved,
    1) A user entry variable that is restricted in 0FISCPER
    2) A customer exit variable that is restricted in ZREQSTDAT
    In CMOD under EXIT_SAPLRRS0_001, Include ZXRSRU01, the code (I assume, correct me if I'm wrong) should perform 3 functions in I_STEP = 2,
    1) After the pop up, capture user entry of Fiscal Year/Period
    2) Identify or convert Fiscal Year/Period to Calendar Day range (unsure on how to code this portion)
    3) Use the Calendar Day to lookup on matching Required Start Date and display all Required Start Date that matches. (unsure on how to code on this portion)
    Hope to hear your thoughts soon.
    Regards,
    Eric

    Hi Shanthi,
    I've made the necessary adjustments. The only difference in my code is,
    Instead of,
    If I_VNAM = 'ZREQSTDAT'
    I use,
    CASE I_VNAM.
    Instead of,
    PARAMETERS: ZFISCPER TYPE /BI0/OIFISCPER.
    ZYEAR = ZFISCPER(4).
    ZMM = ZFISCPER+4(3).
    I use ,
    This is the Customer Exit Variable in ZREQSTDAT
    WHEN 'ZRSD_CX'.
    The loop I use for the User Entry Variable in 0FISCPER-ZFYP_IN
      LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
          WHERE VNAM = 'ZFYP_IN'.
        IF SY-SUBRC = 0.
            CLEAR L_S_RANGE.
    ZYEAR = LOC_VAR_RANGE(4).
    ZMM = LOC_VAR_RANGE+4(3).
    The codes were checked with no errors.
    However, when I input the Fiscal Year/Periods and hit 'Execute'. The report went blank, not sure what is the cause. I've tried it several times. No error message appeared.
    Regards,
    Eric

  • Variable for an infoobject when that infoobject is unavailable in the cube

    Hello
    I have a variable for 0FISCPER (V1), which gets populated based on another variable for 0FISCYEAR (V2).
    But the infoprovider on which the query is based doesnt have 0FISCYEAR infoobject. so I am unable to pass a value to the variable V2.
    is there a way in which I can pass on an year to the variable V2 so that V1 gets populated with appropriate fiscal periods.
    Any help is highly appreciated

    Hi Atla.
    which kind of time characteristics do you have in your infocube ?
    I you have these variables I think you have certainly 0FISCPER char...but how you can insert 0FISCYEAR variable if you don't have 0FISCYEAR in your cube ?!

  • Description for Variable in variable screen

    Hi Forum,
    I am using variables type "Replacement Path" in a query for 0FISCYEAR and 0FISCPER3 through by another variable for 0FISCPER.
    The variables are functioning well, but in the screen of entrance of variables, the variable for 0FISCPER display the technician name instead of the description.
    Many thanks in advance for any idea.
    Kind regards,
    Joã

    Hi Supraja,
    Thanks for your help.
    However my problem is like Tobias Vogt problem posted Jan 30, 2009 10:49 AM (Technical description in variable screen for replacement path variable).
    ""There's a query that is used as stand alone and as a target of RRI from another query.
    Because the source query provides a time-interval and the target query should only use
    the upper value, I've used a variable1 of type replacement path to be replaced by another variable2.
    That's working quite well. But unfortunately, the technical description of variable2 is shown on variable input screen.
    Does anyone know how the technical description can be replaced by a text description?""
    Read this link
    João Alvarez

Maybe you are looking for

  • Single concurrent program for multiple operating units

    HI I am working on XML/BI publisher to generate AR invoice reports. We have single rdf report using which rtf templates are generated. There are 10 operating units (10 ORG_ID's) and 10 rtf templates, one for each operating unit. There are 4 different

  • Help with screen fallowing character and scoring system

    Hi Im new to flash and I cant find any tutorials on how to make the screen fallow a character when you come up to the left or right edge of the stage so the map will continue on a platform game and adding scoring system in action script 3 thank you

  • How to do performance tuning in EXadata X4 environment?

    Hi,  I am pretty new to exadata X4 and we had a database (oltp /load mixed) created and data loaded.  Now the application is testing against this database on exadata. However they claimed the test results were slower than current produciton environme

  • IZO-024 Performance Tuning (8i)

    Guys, is IZO-024 for performance tuning STS questions are available for free download? I can't spend 100$ for this exam. I know its sound not professional, but, still, if some can help me, it would be good. I have only this exam pending since long an

  • Can't insert to a table which has a trigger uses distributed transaction.

    Hello! I'm using Oracle 8.1.6 and ODBC driver 8.01.0500. The trigger selects some data from an other Oracle database using database link. If I insert into this table with ODBC (from Access or from Oracle ODBC test app), I get an oracle error about PL