0calmonth, ocalyear

Hi Gurus,
I don't get 0calyear , 0calmonth, 0calweek, 0fiscper from source sytem. How do I populate the above fields in the cube.  I need those fields in the report. Any advice.
Thanks
Liza

Ok!
then ..is there any logic to decide when the record is created.
If you do not have any logic to derive from an incoming record, Only possible thing is to assume that all records were created on the date they are loaded into BW.  To do this you should have the 0cal day in  info source and fill it in transfer rules with  system date.
regards
ashwin

Similar Messages

  • How to write formula for 0calweek from 0calmonth

    Hi Friends,
    I'm doing weekly report. my infocube, data coming from three sources, two sources are ODS. In ODS doesn't have 0calweek only have 0calmonth. When i see my report i can't view those ODS data in the report.
    So i want write a formula. How do i write a formula for this.Pls give me the formula.
    Thanks & Regards
    Siri

    I got the solution by creating calweek formula based on Syster date.
    Siri

  • ABAP code needed to convert from 0calmonth2 & 0calyear to 0calmonth

    Hi SAP GURUS,
    Can anybody give me the ABAP code to convert from 0calmonth2 and 0calyear to 0calmonth.and please suggest me whether i have to write start routine or end routine in transformations.
    Thanks ALL.

    hi,
    in the transformation map 0calmonth2 and 0calyear to the 0calmonth field, and from drop down choose routine.
    there will be an area where it will be mentioned write your piece of code below this line.
    paste the below code:
    Concatenate source_fields-0calmonth2 source_fields-0calyear into result.
    also delete the line result = .
    save the routine and execute the package.
    regards,
    Arvind.

  • Month Text display for 0CALMONTH

    Hi,
    Currently in our reports 0CALMONTH - Calendar year/month is
    being displayed as 009.2013 or 005.2014.
    How can I make it display SEP.2013 or MAY.2014 (instead of
    month Number I want to display text).
    Thanks

    HI,
    if you want maintain like that SEP.2013 or MAY.2014 maintain the master data like that - 009.2013 - SEP 2013.
    it is not possible to display alphabet and year you should maintain the specific master data.
    in BEx designer  select the 0CALMONTH - go to display tab -> select display as text.
    Thanks,
    Phani.

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

  • Problem in conversion of month and year from R/3 into 0calmonth of BI

    Hi,
    I have to convert two fields of R/3 Calendar month and year into one field of Calendar year/month of BI.
    How can i do this..... i have tried using concatenation formula in transformation rules but its not working and converting 09, 2006 into 06.2009.
    Please help me if you guys have any idea.
    regards

    Why do you want to combine CALMONTH and CALYEAR ??
    CALMONTH will give you both month and year (eg: 09.2007)
    you can directly map (R/3)KMONTH to 0CALMONTH(BI).

  • Problem with variable offset for 0CALMONTH

    Hello Community,
    I have a problem with using variables offset for time characteristic 0CALMONTH
    Let's say my current query looks like this:
    ...................01.2006..........02.2006..........03.2006   (0CALMONTH)
    Sales ..............100..................125................200   (Keyfigure)
    What I want do now is to add a previous year comparison. So that it should look this way:
    ...................01.2006..........02.2006..........03.2006   (0CALMONTH)
    Sales ..............100..................125................200   (selected months)
    LY_Sales...........50..................100................100   (selected months - 12)
    (LY_Sales should show figures of 01.2005, 02.2005 and 03.2006 in this example)
    I used new selection for LY_Sales with variable offset for 0CALMONTH -12 but that didn't work. Figures in second line are zero. The desired figures would show up (if I expand the selected time intervall wide enough) in 01.2005, 02.2005 and 03.2005 but that's of course not what I want.
    Please help if you can!
    Regards,
    Ulrich

    Hi,
    We can get an an other way by using CELL editor caoncept.
    First create teh query like this:
    ...................01.2006..........02.2006........12.2006.....01.2005...02.20005...12.2005  Sales ..............100................125..............200.............50...........100.........100 
    Sales ..............100................125..............200.............50...........100.........100
    Then hide the 2005 years' kf:
    ...................01.2006..........02.2006........12.2006
      Sales ..............100................125..............200 
    Sales ..............100................125..............200
    Though the call editor concept overwrite the second rows(selection) content with hidden columns of second row(selection) one by one .i.e first cell of 2nd row will be overwritten by 13 th cell of second column.similarly second cell of 2nd row will be overwritten by 14 th cell of second column........
    First row(selection) : Cal year Charactertic with restriction 2006.
    second row(selection) : Cal year Charactertic with restriction 2005.
    With rgds,
    Anil Kumar Sharma .P

  • What is the format of 0calmonth data in flat file

    Hi,
    What is the format  for  0calmonth field data  in flatfile to load data in to cube.
    Thanks .

    Hi Alex,
    Thanks for your response. Iam providing 0calmonth  field data as 200904 ,200905 and further  then at the time of loading it is throughing error like
         Value '090420 ' of characteristic 0CALMONTH is not plausible     BRAIN     27     
    Please suggest me.
    Thanks.

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

  • Help with Planning Query - 0CALMONTH not showing up

    Hi, I have a simple planning query where I am trying to allow users to input or change an Amount by Material/Month.  The User inputs a Version and a Date Range to maintain.  The selected dates should show up going across the screen even if there is no existing data.  These Variables are in the Query Filter along with a few other characteristic Filters.  So in my query I have 0MATERIAL in the Rows and I have 0CALMONTH and my Key Figure.  Under advanced for the characteristic 0CALMONTH it is set as Master Data.
    When I run the query for some reason the 0CALMONTHS do not show up going across.  If I run the query and put in one value then the 12 months show up.  Seems like a bug.  I have another similar query where this works.  Can anyone take a look at the screen shots and help me figure this out?
    [Query Def Screen 1|http://i35.tinypic.com/1h8con.png]
    [Query Def Screen 2|http://i36.tinypic.com/1f781c.png]
    [0MATERIAL Def|http://i36.tinypic.com/xefq8i.png]
    [0CALMONTH Def|http://i35.tinypic.com/ej8qpv.png]
    Thanks!
    Edited by: Kenneth Murray on Nov 5, 2009 3:12 PM

    Dear  Kenneth,
    I think its a bug.  If we post the value without the drilldown on 0CALMONTh then its open for the input, and after that if we drill down it with 0CALMONTH for same selection, it opens for input.  but for new selection of month it not opens.
    Have you solved the problem?
    Regards,
    V B Udani

  • Issue with F4 help for the variables for the 0CALWEEK and 0CALMONTH

    We have custom IOs which refers to 0CALWEEK and 0CALMONTH.In the report we have variables on the custom IOs.For these variables F4 help does not giving any values .I tested with  0CALWEEK also. For the 0CALWEEK also F4 help does not working..Please help me on this issue.The variable I haveused d to test with 0CALWEEK is 0S_CWEEK.
    Edited by: Sudhakar Are on Jul 6, 2010 4:17 PM

    Hi Pramod,
    I don't know how it is done in infoset. But if you have a context node and attribute for the field which is displayed in the view, create a custom dictionary search help for the field you want. Design the search help as per your requirements (what fields to be displayed etc..).
    In the context attribute of that field property, select 'Dictionary search help' in the Input help mode. Enter the name of your custom search help here.
    Thanks & Regards,
    Satheesh.

  • Read 0CALMONTH takes long time

    Hi all,
    I have a performance problem. When I read some data from a large ODS, it takes a very long time. I noticed that during the reading the system spend a lot of time on 0CALMONTH characteristic (select from sid table). I'd like to know why, and if I can do something for improving it.
    Thanks for the support!

    If you are reading from a DSO, are you reading using the key of the DSO, if not make sure you create a secondary key on the DSO for the fields you are using to read.
    thanks.
    Wond

  • Format 0CALMONTH from MM.YYYY to MMYYYY in Bex

    Hi,
    Currently I am using 0CALMONTH in my reports, by it's nature it is displaying the values in report as MM.YYYY format.
    Is there a way I can display this from MM.YYYY to MMYYYY(without dot). I do not want to change settings either in control panel or un the user profile. Because I just need this format specific to this report only.
    Any thought very much appreciated.
    Regards,
    Ramesh

    Hi,
    Virtual characteristics/ key figures need to be created and associated with the base infoproviders first and then need to be assigned in Multiproviders.
    Please find below the link to know more on the implementation part of the Virtual char and KF.
    http://sapbikk.blogspot.com/2008/05/writing-virtual-characteristics-or-key.html
    -Vikram

  • Derive 0fiscyerar from 0calmonth in a query

    Hello all,
    We need to build a query which will show three columns: the first two will use calendar month using the value of the entry variable the user will enter. The third one has to show YTD values using 0fiscyear. But the user only wants to enter 0calmonth, so, is there a way to derive 0fiscyear from 0calmonth in a query?
    Thanks in advance
    Kenya

    hi,
    to get the YTD value you can use SAP EXIT variable.
    for 0FISC YEAR check the variable which sap has provided.
    there r variable like >>cumulated upto current month>>.
    u check them.
    regards
    sridhar.v

  • Calendar year / Month (0CALMONTH) values format differs from Infocube

    I run BEx query which is based on Infocube, the values of 0calmonth displayed as 01/2008 whereas in infocube the values are shown 200801.
    How to change the 0calmonth format in query result same as Infocube .( ie. 01/2008 into 200801).
    Note : I need to load this query result through flatfile into Infocube, here the 0Calmonth values format mismatches.
    Thanks,

    Hi,
    The Standard date format for saving in sap 0CALMONTH is YYYYMM.
    And , the same fields displayed in query is MM.YYYY
    This is the standard format in sap to store the values.
    And if you want to store with flatfile then change the format in flatfile to MM.YYYY
    Hope you get what i suggested.
    Regards,
    Sagar

Maybe you are looking for

  • Adobe CSXS Extensions update failed on multiple CC apps

    I am cross posting this on this forum because there has been no response on the CC specific setup forum, only several other users that are having the same issue. Hopefully this might actually get some attention here. Stagg3r wrote: I have a notice to

  • IBM POS with SAP Issue.

    Dear Experts,        I am working at client site, have a peculiar issue please help by providing your suggessions or ideas to solve it. Here is the Issue : Every time a Transaction is completed at the terminal the data will be written (Appended) to t

  • Photoshop CS6 Retail Subscription suddenly will not open any image files

    I signed up for a trial subscription and I have 18 days left. I was using this as recently as yesterday and it was fine. Even the 'windows' menu shows no open windows BUT the recent places menu shows the files I tried to open. What could the problem

  • Regarding CRM ICWC

    Hi friends I am new in this can any one send me the material regarding the Transaction Launcher, BOR object so that i can work in Interaction Center . Any material regarding CRM ICWC will give me a grate help. My id is :[email protected] Thanks in ad

  • Libraries and Workspaces

    I'm trying to organize my InDesign CS4 libraries into workspaces (Eg. I use libraries 1-5 for 'Project Type A' and libraries 6-17 for 'Project Type B'). What I'm trying to do is set up one workspace for each project type - I've got panel location and