0FISCPER

Hi all,
WHen i am inserting 0FISCPER in Time Dimension, 0FISCVARNT is also coming up.
what is 0fiscvarnt.
what king of data should i be giving for 0FISCVARNT .What ever data i give its coming till PSA, BUT while executing DTP I am geting error.
Thanks,
Kiran.

Hi
Fiscal Variant is compounded with Fiscper. It is Fiscal Variant which defines the Fiscal year for the Enterprise. for eg, Fiscal Year might be April-March in some cases, Some times it could be Oct-Sept. Fiscal Variant identifies this. U have to find out which applies to u and in Transformation u can update Fiscal variant using Constant Rule and give this value..
Regards,
Aparna

Similar Messages

  • 0FISCPER text variable "External Characteristic Value Key" has changed

    Hello!
    Could somebody help and tell, why in BI7.0 version (but 3.x RRMX version) the format of the 0FISCPER text variable (also other time characteristics) has changed from 001.2007 (version 3.x) to 0/1  .0700 (version 7.0)?
    I cannot understand the logic of the new Exterternal characteristic calue key. What can I do about it?
    Thanks for your help, gurus!
    BR, Auli Peltola

    I figured out myself the reason for the problem: in the new version the fiscal year variant has to be defined in report so that the 0FISCPER would work.

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

  • Error while loading : Time conversion from 0CALDAY to 0FISCPER

    Hi ,
           I get the following error when loading to an ODs .
    My 0FISCPER is mapped to one of the date fields from the extractor (Document date) and also Have 0FISCVARNT as part of data fields  .
    " Time conversion from 0CALDAY to 0FISCPER (fiscal year ) failed with value 20060405 " .
    thanks .

    Hello CG
    Please refere this forum
    Time conversion problem
    Thanks
    Chandran

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

  • 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

  • Urgent : Problem in displaying 0fiscper as dynamic data col.

    Hi SEM gurus,
    I have a problem in displaying 0FISCPER in data columns. Say, in my planning level I have restricted 0FISCPER to 0001.2005 to 012.2005. and I did selected in data column,  “Dynamic for 0fiscper”.
    Now when I run my lay out for keyfig. 0Amount the lay out is like this…
    Customer Amount Amount Amount
    Xxxxxx       10  20     30
    Its not displaying the month…what I want in the lay out should be like this…
             001.2004  002.2004  003.2004 …………………
    Customer Amount Amount Amount Amount
    Xxxxxx     10     20      30    40   .........
    Can any one Please help me out to fix this ???
    Thanks a bunch in advance…
    Rohith.
    Message was edited by: rohith gentle
    Message was edited by: rohith gentle

    Rohith,
    change HEADING column in the 2nd screen of the layout design to "0FISCPER Amount".
    I think, current HEADING is named as only "Amount".
    This will give layout as
    Customer 001.2004Amount 002.2004Amount 003.2004Amount
    hope that helps.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

  • ABAP Routine  for 0FISCPER  slect options in InfoPackage

    Hi,
    I am trying to write an ABAP Routine for 0FISCPER as select options (range) dynamically.
    Ex:
    0FISCPER selection for this year as 001.2008 to 012.2008
    0FISCPER selection for next year as 001.2009 to 012.2009.
    Now  we are changing InfoPackage every year manually, so I need to write a routine for 0FISCPER in InfoPackage to handle dynamically every year
    Thanks,
    SK.

    Hi
    write an ABAP routine to get that value..But are you getting any planned data(why you want till end of the year...till infopackage runs is o.k i think, if you don't have planned data)...Any way you can check the below code, which can be useful...
    You can see the below code at->your infopackage selections>Ty-->choose variable type as 6 and enter any ABAP routine name( to create) and then there is a button on the application tool bar called 'routine info'..this give you the following information...
    Definition
    You can define complex selections for InfoPackages and control the automatic deletion of requests from InfoCubes in the scheduler, by using routines.
    Routines are processing blocks in ABAP programs that consist of a pre-defined data declaration section and an ABAP subroutine (form routine). In the subroutine you can use all of the ABAP programming functions.
    You can use the following routines for making selections in InfoPackages:
    1. Selection routines for fields, on the Data Selection tab page
    2. Selection routines for file names, on the External Data tab page
    3. Selection Routines for selecting the from and to dates for time-dependent data, on tab page Update
    4. Selection routines for determining old requests to be deleted after successfully loading a new request, on the Data Target tab page
    Program frame:
    After you have called up the Editor for routine maintenance, you get the following program frame:
    1. Selection routines for fields, on tab page Data Selection:
    program conversion_routine.
    '$*$ begin of global - insert your declaration only below this line -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line    -
    FORM COMPUTE_<Fieldname>
      tables l_t_range structure rssdlrange
      changing p_subrc like sy-subrc.
    $$ begin of routine - insert your code only below this line       -
      data: l_idx like sy-tabix.
            read table l_t_range with key
                 fieldname = <Fieldname>.
            l_idx = sy-tabix.
            modify l_t_range index l_idx.
            p_subrc = 0.
    $$ end of routine - insert your code only before this line       -
    ENDFORM.
    2. Selection routines for file names, on tabstrip External Data:
    FORM compute_flat_file_filename
         changing p_filename like rsldpsel-filename
              p_subrc like sy-subrc.
    $$ begin of routine - insert your code only below this line-
              p_filename =
              p_subrc = 0.
    $$ end of routine - insert your code only before this line-
    ENDFORM.
    3. Selection routines for selecting the from and to date for time-dependent data, on tabstrip Update:
    form compute_time_dependent_dates
         changing p_datefrom type d
                  p_dateto   type d
               p_subrc like sy-subrc.
    $$ begin of routine - insert your code only below this line-
              p_datefrom =
              p_dateto   =
              p_subrc = 0.
    $$ end of routine - insert your code only before this line-
    ENDFORM.
    4. Routines for determining the old requests to be deleted after successfully loading a new request, on tab page Data Targets:
    form compute_<InfoCube-Name>
      tables l_t_request_to_delete structure rsreqdelstruc
      using l_request like rsreqdone-rnr
      changing p_subrc like sy-subrc.
    *Insert Source Code to decide if requests should be deleted.
    *All Requests in table l_t_request_to_delete will be deleted
    *from Infocube <InfoCube-Name>.
    *Add new requests if you want to delete more (from this cube).
    *Remove requests you did not want to be deleted.
    $$ begin of routine - insert your code only below this line-
         loop at l_t_request_to_delete.
         endloop.
         clear p_subrc.
    $$ end of routine - insert your code only before this line-
    ENDFORM.
    Note:
    Those fields flagged with <...> are dependent on the selection fields and are filled automatically by the system when you call up the Editor.
    Procedure
    Make the following entries:
    1. Between $$ begin of global ... and $$ end of global ... you can define data declarations. These are the declaration sections for the local data in the routine. This data is only visible in the routines.
    2. The subroutines begin with FORM and end with ENDFORM.
    The subroutines for the particular routines are:
    Selection routines for fields on tab page Data Selection: FORM COMPUTE_<Field name>
    Selection routines for file names on tab page External Data : FORM compute_flat_file_filename
    Selection routines for selecting the from and to dates for time-dependent data on tab page Update: FORM compute_time_dependent_dates
    Routines for determining old requests to be deleted after successfully loading a new request on tab page Data Target: FORM COMPUTE_<InfoCube-Name>
    The subprograms have the following parameters:
    Subprogram FORM COMPUTE_<Field name>:
    l_t_range
    In the table l_t_range the routines for all selection fields that are filled, or have a routine, are made available.
    The routines are executed in the scheduler last of all and therefore, you can change all the selections that you have carried out previously.
    p_subrc
    Using the variable p_subrc you can report errors to the scheduler. p_subrc <> 0 signals an error and means the data request is terminated.
    Subprogram FORM compute_flat_file_filename:
    p_filename:
    You give the name of the file that is to be loaded in parameter p_filename.
    This is useful if your file name contains date dependencies that should be determined by sy-datum and calculated during runtime.
    p_subrc
    You can inform the scheduler of an error with variable p_subrc. p_subrc <> 0 signals an error and means that the data request is terminated.
    Subprogram FORM compute_time_dependent_dates:
    p_datefrom and p_dateto
    Fill these parameters with the from and to dates for time-dependent master data and texts.
    p_subrc
    You can inform the scheduler about an error using variable >LS>p_subrc. p_subrc <> 0 signals an error and means the data request is terminated.
    Subprogram FORM COMPUTE_<InfoCube-Name>:
    l_t_request_to_delete
    You give the request number of the request that is to be deleted in parameter l_t_request_to_delete. You can also delete requests from the table. These are then not deleted.
    p_subrc
    You can inform the scheduler about an error with the variable p_subrc. p_subrc  signals an error and means the data request is terminated.
    3. Insert your program code for the routines between $$ begin of routine ... and $$ end of routine ... so that the respective subprogram variables are supplied with the corresponding values.
    4. Check the syntax of your routine with the Check function.
    5. You can then transfer the routine with the Save function.
    You end routine maintenance when you exit the Editor.
    Hope it helps
    Thanks,
    Teja

  • Limited Support for Time characteristics 0FISCPER/0CALMONTH/0CALQUARTER

    The time characteristics 0FISCPER/0CALMONTH/0CALQUARTER are converted into Character type value in Universe which results in following problems on switching to Webi based reporting from current SAP BI front end tools.
    Problem 1: Sorting does not work correctly using the Key Value or Description as both are being treated as Character values. While setting up the Custom sort sounds like a workaround, the sort list has to be generated for all possible months/quarter/year combination that will be seen in the reports. Not a good solution when business analysts has to build their own reports from Universe.
    Problem 2: Using range selections (E.g. between, greater than, less than etc) in Universe conditions/prompts does not yield correct results due to the same fact that all values are treated as characters. Possible workaround is use this kind of conditions in BI query variables directly. But, this does reduce the flexibility of selections a lot, especially when users are used to simple ways of making range selections in BEx.
    Problem 3: keying in the prompt values for these characteristics/dimensions (both Key and text) is very cumbersome due to format issues. E.g. 1/2010 is no more recognized as valid fiscal period. You have to enter key value as K4/001/2010 or Text value JAN 2010 or January 2010 (based on text selected in query/infoobject). Only way of simplifying user input is to use LOVs and let users always select from LOVs. But, the users lose ability to simply key in values.
    Problem 4: The default LOVs generated for Fiscal period takes values from the master data and hence might show all available fiscal periods including special periods 00,13 thru 16 etc. even though they may not be relevant to the underlying report (e.g. a Sales report). This can confuse users who are not used to seeing these periods before. Possible workaround is to apply filters on LOV using condition and in some cases this should fix the problem.
    While some of the workaround for above problems sound acceptable (3 & 4), the others are not in my opinion(unless there is a better workaround anyone else have). My question is to experts from SAP is, can we expect better support for these objects in future Service packs? If not, then perhaps we need to move away from using this objects in reporting and use 0FISCPER3, 0CALMONTH2, 0CALQUART1 in combination with 0FISCYEAR/0CALYEAR to overcome above issues.
    Though  this can mean  (1) good amount of backend changes to include these Infoobjects in underlying Infoproviders, if there are not present already (2) User training to explain them to use these new time char fields instead of the ones they are already used to.
    I'm fairly new to BO and might have overseen somethings. I have already searched the BO forum related to this topic and did not find any satisfactory answers. Any input on this is greatly appreciated.
    Thanks & Regards,
    Sree

    The issue is that these InfoObjects are not Data Type DATS in BI, they are NUMC and PERI7. Only InfoObjects of type DATS will be converted to Date format in the BO universe.
    Workarounds:
    - instead of using these time characteristics to filter results, consider using transaction dates, such as posting date.
    - create a customer InfoObject ZFISCPER which is a transformation of 0FISCPER to DATS data type.
    - create a custom variable in the WEBI reports which looks at the key for 0CALMONTH and only considers the first 2 characters which should identify the month (e.g. 01 = January, etc.). You can then sort on this and it avoids the year concatenation issue (e.g. JAN 2008, JAN 2009, JAN 2010).

  • Issue with activation of 0FISCPER

    Hi Friends,
    I have an issue with activation of 0FISCPER.Based on this link i went uncheck the hirearchiel tab 0CALMONTH and 0FISCPER Not active in BW Production
    and i am trying to activating it is saying already exist transformations it is going to deactivate.
    what is solution for getting my original strucure of 0FISCPER without distrubing the exist transformations.
    Thanks
    rao

    thanks for your Quick reply,
    i am in DEV.
    It's already installed,but when i am installed my cube i found 0FISCPER Info object is in inactive status.based on above link i followed and uncheck the Hierarchie table.when i am activating same 0FISCPER it is  saying already exist transformations.
    Now i want before uncheck what ever the existing structure of  Hierachie structue i need,how i will get?
    Thanks
    Rao

  • OLAP Variable with user exit for Infopackage Selection 0fiscper

    Hi Frds/ Guru's ,
                    I have a requirement to use a OLAP Variable for Fiscal year period 0fiscper(Characteristic ) in the Infopackage Selection. . I need to extract the data for Previous Year and Current Year , that is to be automatically selected with a OLAP Variable . The standard one's provided by SAP are not satisfying my requirement,as they are getting populated with SAP Exit and I am not getting the ranges .I am planning to create a variable and use the processing type as Customer Exit and Populate it with ABAP code in respective Enhancement RSR00001.
    Even Can I create a ABAP Routine ? Please suggest me which is better to do in respect to performance of dataload  , will be really glad if anyone can provide some code for doing this as u might have faced the situation sometime .
    I have checked with all the threads available , could get some idea but will be really thankful if u gimme some hints in writing the code , at Exit level and routine level .
    Thanks,
    Krish

    thnx

  • How to determine 0calday from 0fiscper field ?

    we have a requirement where the user will enter the calmonth variable in the user input, and need to get the amount for top 20 customer's on sales, in the report. The problem is we dont have calmonth in the infocube. we have only 0fiscper and 0fiscalyear , and -0calday.
    0calday is mapped to the transaction date. No calmonth in the infocube and we cannot add it now. its too late.
    The columns we need in the report are ( orange color are column names)
    customer        YTD           DEC 2012 ( sales amount) ....for top 20 customers. like
    customer 1      99999            900
    customer 2      55555             200
    customer 20      11111             234
    sample data is as follows: ...what I want is user will input 0calmonth and 0fiscalyear. and I need to display the data for that month . Please advise how to achieve it. YTD - is 1st of jan of the current year till today's date right ? Irrespective of the user entry variable. Is that right ?

    Now as per your suggestion, I have restricted Z_FY_INPUT to the KF, and created another ZYTD and put this as Z_FY_INPUT as replacement path and and put offshet as 2 to 4 on it.
    Again i will clarfiy:
    First selection--Revenue KF--Fiscper--variable--User input--Z_FY_INPUT--This selection will give the value of that period which user is entering.If user enters 004.2014 so it will give value for the same.Correct!
    Now for YTD we need data from 001.2014 to 004.2014. correct..
    A) Take the revenue KF--Drag and drop 0fiscper --Restrict--Show--Value ranges---Less than or equal to--Choose the variable Z_FY_INPUT.
    B) Now again restrict the above selection with 0fiscyear--Create a characteristic variable with replacement path--Follow steps with screenshot as mentioned in the document.
    So basically for YTD you have restricted with two variables based respectively on 0fiscper and 0fiscyear.
    How this works let me explain that also.
    In Part A i have restricted the kf with the same user input variable which you used in first selection but the range less that or equal to.
    Till this stage if user enters 004.2014 then it will bring all the data which is less or equal to the user input which is not our requirement.We need data from the starting of the year upto user entered value.
    In Part B we have restricted the same selection with replacement path variable on 0fiscyear--We are replacing it with variable entered by user.
    So now this part will hold only the year i.e 2014..How--user entered 004.2014.
    Internal format K42014004--Offset we have given 2 length 4..
    Which gives 2014.
    On combining both the parts we get data data from the starting of the year up to the user entered value.
    I tried my level best to explain you how this works and believe me i have created YTD using the same method in so many queries and it really works as desired.
    Regards,
    AL

  • Error while loading data into cube 0calday to 0fiscper (2lis_13_vdcon)

    Hi all,
    I m getting following error while loading the data into cube.
    "Time conversion from 0CALDAY to 0FISCPER (fiscal year V3 ) failed with value 10081031"
    amit shetye

    Hi Amit,
    This conversion problem. Calender not maintained for Fiscal variant "V3", for Year: 1008.
    Maintain calender for year: 1008 and transfer global setting from soruce(R/3).
    RSA1--> Source systems --> from context menu --> transfer global settings > choose fiscal year variants and calender> execute
    Hope it Helps
    Srini

  • How to convert MMYYYY to 0FISCPER format

    Hi,
    I would like to know how can I convert the following format, MMYYYY from a flat file into 0FISCPER format.
    What conversion routine, routine or formula should I use?
    BTW, this is an ASCII file and not CSV.
    Thanks!

    Hi Fulham FC
    If am understanding you properly then your issue is u r
    having a field calmonth/year now u need to convert it
    to fiscper..
    Please go through the following link i think first one is more help ful for you then
    the second link..
    Re: How to Obtain Fiscper from Cal month in Update routine
    Re: Funcion Module to get Fiscal period
    if any let me know..
    Dont for get to assign points if it help ful..
    Regards
    R M K
    ***Assigning points is the only way of saying thanx in SDN ***
    Message was edited by:
            R M K

  • 0FISCPER conversion exit error

    Hello all,
    I m trying to load data from a flat file to an ODS. in the info package preview screen i m gettig the error msg as CONVERSION_EXIT_PERI7_INPUT.
    In flat file i have date format as YYYYMMDD. In the transfer rules i have only 0FISCPER and 0FISCVARNT. Now i want to upload the above date format to FISCPER field(YYYY.PPP).
    Can any one tell me how can i solve this error.

    hi Pops,
    you can try function module UMC_CALDAY_TO_FISCPER in transfer rules routine.
    data : l_date like sy-datum,
    l_fiscvarnt type PERIV,
    l_fiscper type UMC_Y_FISCPER.
    l_date = tran_structure-calday.
    or your other date filed
    l_fiscvarnt = tran_structure-fiscvarnt.
    call function 'UMC_CALDAY_TO_FISCPER'
    exporting I_PERIV = l_fiscvarnt
           I_CALDAY = l_date
    importing E_FISCPER = l_fiscper.
    result = l_fiscper.
    hope this helps.

Maybe you are looking for

  • Increase the number of portions in process for each conversion object

    I experts, I configured SAP TDMS 3.0 with SP 14 to transfer test data from QAS to DEV (both is ECC 6.0) for the first test with TDMS TIM (Time Based Reduction). The data transfer phase is still running (99% - 60hs running). We analyzed the Display Ru

  • How do i know if i have a fw800 or mdd machine?

    im sure the answer is painfully obvious, but my computer is very old and no one ever told me exactly what it was. i know it's a g4 tower, but aside from that i have no clue. now i'm trying to buy an additional internal hard drive for it and before i

  • Two problems with SelectManyShuttle

    Hi, I've been trying to implement a SelectManyShuttle to edit a detail table in a master-detail relationshiop, mostly adapting code from the example in FOD (user/customer interests). The page has a tree for the master table and the shuttle for the de

  • Why do we go for BPM

    Hi all, Why do we go for BPM?

  • Load movie in a masked clip

    Hi, when I try to load a movie in a masked movieclip/placeholder the clip isn't loaded. When I check for getBytesTotal() it still is 18 bytes like the paceholder. When I put the mask away the clip is loaded. Can I have both? TIA