0CALQUARTER 0FISCPER

Hello,
I use a infoprovider with cumulative key figures. Unfortunately calendar year and fiscal year are different. SAP only offers 0CALQUARTER, but I need the quarter of the fiscal year. Just modifying the value of 0CALQUARTER does not help, because time dimension gets inconsistent.
How can I model it? System prohibits creating a new time characteristics. And creating a new simple characteristic with reference to 0CALQUARTER does not helb, because I have time cumulative key figures.
Thanks for your support

Hello Siggi,
thanks for answering. I have already created a new characteristic. But I have a infoprovider with cumulutative key figures. So It has to be characteristic of type time. There BI does not allow me to create a new one.
Creating a hierarcy of 0fiscper is a good I idea. I will give this one a try.
I will let you know, if I suceeded
Regards
Robert

Similar Messages

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

  • What is the format  for  0calmonth2,0calquarter,0calweek,0calyear,0fiscper,

    what is the format  for  0calmonth2,0calquarter,0calweek,0calyear,0fiscper,0ficper3, 0halfyear1, 0weekday1

    Hi Dominic,
    0FISCPER is a NUMC 7 infoobject. And it takes your 003.200 seven symbols leaving the last symbol. Though, the output format is length of 8.
    A'm not sure if you are dealing with external format (in this case try to enter 0032005) or with internal (then try 2005003).
    Best regards,
    Eugene

  • How calculate Quarters without  0CALQUARTER

    Hi Gurus!,
    i got the next problem: i must create a query with some key figures calculated by quarters, exactly the indicator is how much is the difference between quarter 2. 2011 and 1.2011 for example, but in the cube is loaded many years of data without the IO 0CALQUARTER loaded, now i dont know, if exist some way to simulate this calculation with 0FISCPER in the query designer, this IO  has been loaded all the time, i will appreciate your help gurus.

    hi,
      you can write an abap code that converts 0fiscper into quarters, so that it can act itself as a 0CALQUARTER.
    for example for the fiscper(4)+3= 1 or 2 or 3 , the result field for calquarter(say our variable) can be depicted as one quarter and similarly you can write conditions for other quarters.
    hope this will solve your problem
    regards
    laksh

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

  • How to convert 0CALMONTH to 0CALQUARTER

    Dear All,
    In our Info cube we have 0CALMONTH and it is getting the data from SPMON field.We created monthly reports based on the 0CALMONTH and they r working fine.Now we need to create Quarter wise reports on the same cube.
    I tried 2 ways to map this requirement.I added 0CALQUARTER into the cube and tried to map with SPMON field with time conversion.But could not activate the transformations.(giving the message Time conversion is not possible) Next I tried to create formula given in data functions.When I am activating the transformations it is giving the following error.
    '' Formula 4FNZLVMCEDTVAWG0YRP6O8CVE is not available in the table RSAFORMMAP     .Error while activating transformation''.
    Is there any other way of converting 0CALMONTH to 0CALQUARTER.Please provide me if there is any routine available.
    Thanks & Regards,
    Dinakar.

    Hi All,
    Thanks for ur reply.I asked my ABAPer to write the routine in the transformations.He written the below code to convert 0CALMONTH to 0CALQUARTER.
    DATA : L_SPMON(6),
                   L_YEAR(4),
                   L_MON(2),
                   L_QUARTER TYPE /BI0/OICALQUARTER.
        L_SPMON = SOURCE_FIELDS-SPMON.
        L_YEAR = L_SPMON+0(4).
        L_MON = L_SPMON+4(2).
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = L_MON
          IMPORTING
            OUTPUT = L_MON.
        IF L_MON = '01' OR L_MON = '02' OR L_MON = '03'.
          CONCATENATE '4' L_YEAR INTO L_QUARTER.
        ELSEIF L_MON = '04' OR L_MON = '05' OR L_MON = '06'.
          CONCATENATE '1' L_YEAR INTO L_QUARTER.
        ELSEIF L_MON = '07' OR L_MON = '08' OR L_MON = '09'.
          CONCATENATE '2' L_YEAR INTO L_QUARTER.
        ELSEIF L_MON = '10' OR L_MON = '11' OR L_MON = '12'.
          CONCATENATE '3' L_YEAR INTO L_QUARTER.
        ENDIF.
        RESULT = L_QUARTER.
    But When I am loading the DTP the load got failed with the following errors.
    "Error while updating to Target.Value '22009 ' of characteristic 0CALQUARTER is not plausible".Likewise it is giving the error for all the records.Please can any one check the below code suits our requirement and suggest if any changes to be done.
    Thanks & Regards,
    Dinakar.

  • Chararacteristic 0CALQUARTER is available in version M but not in version D

    Dear Sirs
    I hope you're doing fine. While activating InfoCube 0PUR_C01 I get the following error:
    <i><b>RSAU709 : Chararacteristic 0CALQUARTER is available in version M but not in version D.</b></i>
    (Yes, the word <i>characteristic</i> is misspelled in the message text)
    There is no more detailed information so I'm stuck..Please help.
    With best regards
    Manuel<i></i><i></i>

    Try executing the function module RSDG_IOBC_REORG function module in transaction SE37 (F8 -> single test) with the following parameters:
    Function module              RSDG_IOBC_REORG
    Import parameter             Value
    I_OBJVERS                    A
    I_PROGRESS
    I_IOBJTP                    *
    I_ALL_IOBJ                   X
    I_T_IOBJNM                  0 entries
    I_BYPASS_BUFFER
    F8 -> Execute

  • 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

  • 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

  • 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

  • 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

Maybe you are looking for

  • Open file With System Events

    i have a backup and sychronizing program called Synk that is currently unscriptable. I want to set up folder action so that when i plug various drives in this program opens the correct backup files and the program. So far i have managed to get the pr

  • ITunes, IPhoto and Time Machine

    Hello everyone, i would like to move my iPhoto and iTunes to an external drive to free up space. My question is will Time Machine still make a copy of my music and picture library? Thank you for the help

  • DVD only plays select commercial DVDs

    Hey everyone, This is literally the most frustrating thing I have ever dealt with. When I put in a DVD to watch a movie usually the dvd drive with read the disk for awhile and then automatically eject it. However, sometimes with other movies the dvd

  • BW Queries mismatch in table and ST03

    Hi In St03, 3 queries has run in one infocube with 145 navigation step yesterday. When i checked the table 'RSDDSTAT' , there are infformation about 445 queries that run yesetrday for the same infocube. is it the right way to check the number of quer

  • Can I use Photoshop from Creative Cloud on my Chrome OS laptop?

    I have a Chromebook laptop, which runs the Chrome OS.  Can I use my creative cloud products on that OS?