XL-Reporter : Monthly & Yearly

Hi!  Hav anyone tried in getting monthly & yearly values in XL-Reporter?
For current day's detail of sales we can use,
FIG( SO_TaxDate = CurrentDate ), which works good.
similarly if i put
FIG( SO_TaxDate = CurrentMonth )
FIG( SO_TaxDate = CurrentYear )
it is not showing any values, but '0'
how can i get the monthly & yearly values similar to 'CurrentDate' ?
in case of year i hav to go for fiscal year which is frm Apr - Mar
Meera.

Hi Meera,
If you filter your column selection by financial period where the Code = CURRENTPERIOD
Then for your year to date column selection you could filter by the financial period where CODE = YTD(CURRENTPERIOD)
I hope this helps, regards
Adrian

Similar Messages

  • Report by Day/Week/Month/Year

    Hi All,
    I have the table showing below
    Empid     name     tikcetno     Completed date
    694     anil     10051     23-Jun-09
    695     madhu     10052     23-Jun-09
    694     anil     10053     23-Jun-09
    695     madhu     10054     22-Jun-09
    695     madhu     10055     6-Jan-09
    I need to create the report which will show employee wise count of tickets in a day,week,month and year.                  
    Day: count(tickets) for current date
    Week: count(tickets) for current week
    Month: count(tickets) for current month
    Year: count(tickets) for current year
    I need to show all these four columns in a horizantal table. I am using crystal reports2008. Please help me. ur help would be appreciated.
    Anil.

    Hi,
    create 4 formulas for day, week, Month and year
    for ex, in Day formula
    IF Date Field = CurrentDate then 1 else 0... similarly for other ranges. Create a Group based on employee, and insert a SUM  summary field of these formulas in Group header.
    Hope this will help you.
    Jyothi
    Edited by: Jyothi Yepuri on Jul 13, 2009 3:04 AM

  • Need to display "Calendar Month/Year" at report level from Calendar Day

    Hello Experts,
    I have a scenario in which I have 0CALDAY (e.g. 01.01.2009) along with other fields available in my report. My requirement is to display "Calendar Month/Year" (01.2009) in my report. Is it possible to have "Calendar Month/Year" in my report from 0CALDAY, by making changes to the query, as I cannot remodel the underlying InfoCube.
    Many Thanks,
    VA

    What you mean with huge - 100 Mio dataset?
    The import of the new infocube will be also take a long time - the database must be insert a new field for every dataset.
    => is this a big infocube, then don't use virtual infoobjects.
    => on a big infocube is important to have a good datamodel - please insert always all 11 infoobjects for the time dimension.
    Sven

  • To Display "Calendar Month/Year" at report level from Calendar Day

    Hello Friends,
    I have a scenario in which I have 0CALDAY (e.g. 01.01.2009) along with other fields available in my report. My requirement is to display "Calendar Month/Year" (e.g. 01.2009) in my report.
    Is it possible to have "Calendar Month/Year" in my report from 0CALDAY, by making changes to the query, as I cannot remodel the underlying InfoCube?
    Many Thanks,
    VishwA

    HI Vishwa,
    Hope it will helps.
    How to get month from CREATE DATE field??
    Regards,
    SVS

  • Report filtered by month/year

    To gurus:
    I am creating a pivot table report that must be filtered on 'page section' by month/year.
    I am trying to use the specif colum formula upon "Service Request"."Opened Date" to group the result by this specific filter with no sucess.
    well, I can group by 'month' or 'year' but not the both as well.
    Could someone help me?
    Thanks in advance.
    Mtb

    While creating a report, on the left of the screen, you have access to the fields. Fields are classified by entity (Service Request, Account, ...) and you have to click the "+" to display the fields of an entity.
    Here you have an entity named Date Opened. If you click on the "+", you have fields such as Calendar Month/Year, Calendar Week/Year, Calendar Quarter, ...
    It replace the job of the cast...
    Max

  • Date for Month year only?

    I Have a report being done where, the user wants to see the 'slow moving inventory' for a 2 month period.
    It's not automatic, the past 2 months. they can select which 2 months they want. So, I was thinking of the best way for the parameters.
    Maybe just have them enter one? month/year. but in any case if i do a from and to, I dont' need the entire calender- is there  a way to display just the month and year? if not i can create the parameter that way.

    I would create a command (SQL Select statement) to use for data for a dynamic prompt.  It might look something like this in Oracle (allows for two full calendar years in the past):
    Select distinct
    To_Char(OrderDate, 'MMM-YYYY')  as MonthYear
    from Orders
    where EXTRACT(Year from OrderDate) >= (EXTRACT(Year from Sysdate) - 2)
    Or like this in SQL Server:
    Select distinct
    Left(DateName(month, OrderDate), 3) + '-' + DateName(year, OrderDate) as MonthYear
    from Orders
    where Year(OrderDate) >= (Year(GetDate()) - 2)
    DO NOT link the command to anything in the report - its sole purpose is to provide data for a dynamic prompt.  Crystal will complain that this is generally not supported, but it will work in this situation.
    Now create a dynamic parameter that will use this data - DO NOT use any other data from your report tables!  This parameter will identify the start month for the report.
    Lastly, you'll need to create a two formulas - one that will calculate the start date from the parameter value and another that will create the end date.  If the parameter is called {?StartMonth}, they might look like this:
    {@StartDate}
    StringVar monthName := UpperCase(Left({?StartMonth}, 3));
    //get the month number
    NumberVar mn := Switch (
      monthName = 'JAN', 1,
      monthName = 'FEB', 2,
      monthName = 'DEC', 12);
    //get the Year number
    NumberVar yr := ToNumber(Right({?StartMonth}, 4));
    //return the first day of the start month:
    Date(yr, mn, 1)
    {@EndDate}
    //Subtract one day from the start of the month 2 months after the start date to get the end of the
    //month after the start date
    DateAdd('m', 2, {@StartDate})  -  1 
    Use these formulas in your selection criteria for your report.
    -Dell

  • How to derive date from given month, year and day?

    Hi all,
    I have a doubt in date function. I need to create a date from the given month, year and day. How can i do it?

    consider this example
    REPORT zconvertdate001 .
    TYPES : BEGIN OF tt_date_in,
            day(2),
            sep1,
            month(3),
            sep2,
            year(4),
            END OF tt_date_in.
    DATA : wa_date_in TYPE tt_date_in VALUE '07-Jul-2006'.
    TYPES : BEGIN OF tt_date_out,
            day(2),
            month(2),
            year(4),
            END OF tt_date_out.
    DATA : wa_date_out TYPE tt_date_out.
    TRANSLATE wa_date_in-month TO UPPER CASE.
    SELECT SINGLE mnr
    INTO wa_date_out-month
    FROM t247
    WHERE spras EQ sy-langu
    AND   ktx EQ wa_date_in-month.
    CONCATENATE wa_date_in-year wa_date_out-month wa_date_in-day
           INTO wa_date_out.
    WRITE : / ' Date in:', wa_date_in,
            / 'Date out:', wa_date_out.

  • Change of Month names as per selection of Month / Year

    We have the following requirements:
    1. Change of Month names as per selection of Month / Year e.g. If the user select April 08 then the column name should be April 08, at the same time the next column should be April 07.
    2. Next there are two in -line totals as per different logic as recurring rows. e.g Row header is Total and it totals the items in the column, next row header is Comparable total and it is based on checking the adjacent column values for doing the total.
    Please let us know if this is feasible and can be done using BI Publisher. If you have any alternate way of doing it using OBIEE also , please share.

    Hi,
    The parameter / prompt used is for month which can have values from JAN , feb, MAR, APR,....... DEC. and the other PROMPT being YEAR e.g. 2006, 2007, 2008.
    The Column Name of the Report SHould get changed as April 08 if selected as month APril and year 2008.The subsequent column of the report should be April 2007. The same applicable for selecting any month/ year
    Layout of Report as below
    SALES
    || April 08 || April 07
    Shop1 100 200
    Shop2 300 100
    Thanks
    NJ

  • Get amount of megabytes for the message transfer per day, month, year

    Dear experts,
    can you please tell me the name of the report which can be used to get the amount of megabytes for the message transfer per day, month, year etc.? I can't find it in our system.
    Best regards,
    David

    Hi,
    Check this blog: /people/gourav.khare2/blog/2007/12/12/interesting-abap-tables-in-xi-150-part-i
    SXMSPFRAWH: this table contains runtime performance data for successful message and sender and receiver information is stored as address id that derive information from SXMSPFADDRESS, from this table you can find out volume and latency also.
    Regards,
    Gourav

  • DRQ : General Ledger Optional Display of Subtotals Daily ,Monthly, Yearly

    Hi experts,
    In general ledger reports, in 2nd screen, at present Display Subtotals Daily ,Monthly, Yearly are mark checked by default, If user wishes to unmark the options it takes so much time ...
    If the same is made optional in the first screen/form (Parameter selection screen/form), then user will have choice to mark his/her selection for Subtotals Daily ,Monthly, Yearly, again the same can be repeated in the next screen, so if the user cheange the selection in next screen, he/she can have the view of Subtotals Daily ,Monthly, Yearly as per requirement.
    I believe this little change/enhancement will make the general ledger report very flexible and user friendly.
    Samir Gandhi

    Being reached to 10 open question, I am forced to close this thread

  • How to schedule month/years

    I have a report that needs to run a few days after the previous month. How is the best way to do this?
    The report has dates from and to but this can be changed to just month year.
    The user wants to see data for the entire month and as well the previous year entire month.
    1. the same report can run twice, with the year diff
    2. can make 2 reports, one has the current year and last month
    other has prev year and that month
    how to calculate these?

    Hi Paul,
    Are you asking how to schedule the report to run or are you asking how to pass the last vs. previous year month?
    If you want to pass the last and previous year month, there are two ways to do it:
    1)  build the report with a parameter that will allow your user to select which period they want.  The parameter would be used in the RecordSelection Formula like:
    DateVar myDate;
    DateVar StartDate;
    DateVar EndDate;
    myDate := cDate(DateAdd ("m", -13, CurrentDate));
    StartDate := Date (Year (myDate), Month (myDate), 1);
    EndDate := Date (Year (myDate), Month (cDate (DateAdd ("m", 1, myDate))), 1) - 1;
    Case {?rptPeriod}
         "Last Month" :{table.DateField} in LastFullMonth
         "Last Year" :{table.DateField} In [StartDate to EndDate];
    The formula calculates the start and end dates for last year based on the current date - 13 months.
    The Case statement looks at the parameter your use selects and uses the appropriate date range.
    2)  Create a report based on last month.  Save and save a copy of the report and add it in as a subreport.  The subreport you can pass a similar formula as above from the main to the sub report, without the need for a parameter.
    This will give you a current vs. previous all in one report.
    Thanks,
    Brian

  • Current Month/Year to default in prompt

    Hello Friends I have 2 User prompts for report for which i created the filter. where I want to calculate the Month/Year TO value as default to current month/year.
    Can u Help me with the code  in OLAP SAP BI as backend Universe
    substr(TO_CHAR(current_date,1,7))
    Above does not work but if I hard code it works
    I am trying to default the current month and year
    Code that works with hard code 200906 but not with d efault the current month and year
    Please correct my code
    <OPERATOR VALUE="AND">
    <FILTER EXPRESSION="[ZFISCPER].[LEVEL01].[[2ZFISCPER]].[Value]">
    <CONDITION OPERATORCONDITION="Betweenl">
    <CONSTANT NAME="@Prompt('Fiscal Month start','A','Period\Fiscal Mth',mono,primary_key,not_persistent)"/>
    <CONSTANT NAME="@Prompt('Select Fiscal Month','A','Period\Fiscal Mth',mono,free,Not_Persistent,{ '2009/06' },User:0)"/>
    </CONDITION></FILTER>
    </OPERATOR>
    Soniya

    Hi Didier,
    Same comment here.
    Very interested to know what the plans are in this area and when it can be expected. This is a very important feauture.
    Are there documented best practises available for using user exit's?
    We've also been exploring the option to use operating system environment variables to work around the issue (combined with some scheduled scripting). No luck so far in web intelligence (which is needed for OLAP universes).
    Please see
    @variable and Operating system variables (Windows environment variables)
    Thanks in advance for your thoughts on this!
    Raf

  • Monthly & Yearly Closing

    Hi Sappers!
    1. I would like to know what steps & transaction codes are involved in period end (monthly & yearly) closing in FI.
    2. How do we carry forward the balances to the next period? Will opening & closing periods in OB52 achieve this?
    3. In our existing system once we close a particular module like Sales Order Module, it automatically transfers the amount in the General Ledger. How do we achieve his in SAP.
    4. Are there any special closing activities involved in quarterly closing?
    Appreciate your time!
    Vj

    Hi,
    Below is list of MEC/YEC transactions reqd usually see what applys in Your case.
    Check List for full closing
    1 Execute Report for Inter Company Activity & Journal Entries
    2 Open posting period for next yr (T.Code: OB52)
    3 Run Business Area's Assignment report. (T.Code: F.50)
    4 Review list of recurring journal entries (T.Code: FBD3)
    5 Execute Recurring Entries for A/R, A/P, G/L (T. Code: F.14)
    6 Process Parked A/R, A/P, G/L accounting documents (T.Code: FBV0)
    7 Final Cutoff for the Maintenance of Fixed Asset- Add Transfer and Retire (T.Code: ABUMN)
    8 Run Depreciation in Test Run and post (T.Code: AFAB)
    9 Verify Display Log for Depreciation Test Run (T.Code: AFBP)
    10 Capitalize AUC Assets if needed (T.Code: AIAB, AIBU)
    11 Enter Payroll Data to SAP (T.Code: CAT2)
    12 Verify Depreciation Balances with GL balances ( T.Code: ABST2)
    13 Post Depreciation (T.Code: AFAB)
    14 Execute Asset History Report, and retire assets if needed (T.Code: S_ALR_87011963, ABAVN)
    15 Adjust specific depreciation areas if necessary (T.Code: ABCO)
    16 Reconcile AM sub ledger with GL (T.Code: ABST2)
    17 Check Bank Data (T.Code: S_P99_41000212)
    18 Review AR Open Items (T.Code: FBL5N)
    19 Review AP Open Items (FBL1N)
    20 Execute Pending Invoices(T.Code: MRBP)
    21 Clear Open Item for GRIR, freight (T.Code: F.13)
    22 Reconciliation of Financial Documents and transactional figures (F.03)
    23 Open new CO Posting Period: (T.Code: OKP1)
    24 Compare current (cost estimates) with last current price (Moving Avg) ( T.Code: OKBH)
    25 Update current cost price to material master price field (T.Code: CK11N, CK24)
    26 Process Freight charges, Match SD freight to actual (T.Code: V-31)
    27 Review Internal Order Postings(T.Code: OKSA)
    28 Settle All Orders (T.Code: KO88)
    29 Verify All Post Goods Issue have been Invoiced (Billing Due List) (T.Code: VF04)
    30 Review SD Billing Doc from prior month that have not yet been released to accounting (T.Code :F.2D)
    31 Reconciliation of MM movements in Transit Intra-SAP to Non SAP
    32 Reconcile PI Inventory with SAP (T.Code: MI07)
    33 Perform Manual Adjustment if needed (T.Code: F-02, FB50)
    34 Verify balance of the GR/IR account ( T.Code: MB5S)
    35 Post Accruals and Deferrals (T.Code: FBS1)
    36 Clearing of Cancelled Documents (T.Code: F-03, F-32, F-44)
    37 Check Profitability Segment Adjustment (T.Code: KISR)
    38 Aging Report-Reconcile GL balances with sub ledger balances AP ( T.code: FBL1N, FBL5N, FBL3N)
    39 Check the check run numbers (T.Code: FCH1, FCHI)
    40 Bank reconciliation Data (T.Code: FF67 & FEBA)
    41 Enter Tax Journal Entry (T.Code: FB41)
    42 Reconcile GL balances with sub ledger balances AR/MM/AP ( T.Code: F.03)
    43 Display Balance Sheet Adjustments (T.Code: F.5F)
    44 Post Balance Sheet Adjustments (T.Code: F.5E)
    45 Post Foreign Currency Valuation (foreign exchange) (T.Code: F.05)
    46 Check generic cost centers for posting with wrong accounts
    47 Correct wrong postings on generic cost centers
    48 Check Validation dates for Cost Centers, Cost Elements, CO area (T.Code: GGB0)
    49 Check COGI--for both month end and year end
    50 Doubtful receivables (T.Code : F104)
    51 Verify In-transit Inventory
    52 Reconcile PA to G/L (T.Code: KE5U)
    53 Post Cost Center Assessments and Distributions (T.Code: KSU5 & KSV5)
    54 Run CO-FI Reconciliation to balance (T.Code: KALC)
    55 Run BW reports P&L and Balance Sheet
    56 Maintain CO yr variant (T.Code: KCRQ)
    57 Fiscal Yr Balance carry forward AP/AR/AM (T.Code: F.07,
    58 Fiscal Yr Balance carry forward CO (T.Code: CXS1)
    59 Fiscal Yr balance carry forward FI ( T.Code: F.16)
    60 Fiscal Yr balance carry forward PCA (T.Code: 2KES)
    61 Set Document number ranges - FI - new year (T.Code: OBH2, OBA7)
    62 Set Document number ranges AP/AR - new year (OBA7)
    63 Generate Financial statement Reports ( T.Code:OB58) OR (T.Code: FSE2)
    64 Change Fiscal Year For Assets (T.Code: AJRW)
    65 Year end Closing-- Asset Accounting--final for year end (T.Code: AJAB)
    66 Close CO Posting Period : (T.Code: OKP1)
    67 Close Prior A/R Posting Period ( T.Code: OB52)
    Regards
    Parag

  • Need month in month-year order?

    Hello Experts,
    The output of below SQL query is as shown in below fig,
    CREATE TABLE DBO.TEST_DATA(PU_ID INT NOT NULL, PU_DATE DATE NOT NULL, X_COUNT INT NULL, Y_COUNT INT NULL)
    INSERT INTO DBO.TEST_DATA VALUES(28, '2014-01-01', 10, 20), (28, '2015-01-01', 30, 20), (28, '2014-12-12', 10, 20), (28, '2015-02-02', 10, 20)
    SELECT @PIVOT_COLS = STUFF((SELECT DISTINCT '],[' + CONVERT(CHAR(3), PU_DATE, 0) + '-' + CAST(YEAR(PU_DATE) AS VARCHAR) FROM TEST_DATA FOR XML PATH('') ), 1, 2, '') + ']'
    SET @PIVOT_QUERY = N'SELECT *'+ 'FROM ( SELECT * FROM (
    SELECT CONVERT(CHAR(3), PU_DATE, 0) + ''-'' + CAST(YEAR(PU_DATE) AS VARCHAR) PU_DATE, SUM(X_COUNT) X_COUNT, SUM(Y_COUNT) Y_COUNT FROM TEST_DATA
    GROUP BY CONVERT(CHAR(3), PU_DATE, 0) + ''-'' + CAST(YEAR(PU_DATE) AS VARCHAR) ) TMP
    UNPIVOT
    (COL FOR [GROUP] IN (X_COUNT, Y_COUNT) ) AS UNPVT ) PVT ' + 'PIVOT ' + '(MAX(COL) FOR PU_DATE IN (' + @PIVOT_COLS + ')) AS J'
    EXEC(@PIVOT_QUERY)
    Here Month-Year order in output column is not correct. I need below order,
    JAN-2014->Dec-2014->Jan-2015->Feb-2015
    Please suggest. Thanks!

    Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
    to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you need to read and download the PDF for: 
    https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
    A table has to have a key to be table.  Here is my guess at a repair job: 
    CREATE TABLE Test_Data
    (pu_id INTEGER NOT NULL
      REFERENCES PU(pu_id),
     pu_date DATE DEFAULT CURRENT_TIMESTAMP NOT NULL,
     PRIMARY KEY (pu_id, pu_date),
     x_count INTEGER,
     y_count INTEGER);
    Identifiers are not numeric in a good schema. What math do you do with them? They are also the key in the table that models the entity they identify. Where is the PU table (and what is a PU anyway)? 
    INSERT INTO Test_Data
    VALUES
    (28, '2014-01-01', 10, 20), -- crap! No key in this mess!! 
    (28, '2015-01-01', 30, 20), -- 
    (28, '2014-12-12', 10, 20), 
    (28, '2015-02-02', 10, 20);
    A PIVOT is not a query and not even part of SQL. It is how Microsoft programmers who do not know RDBMS or have a report writer violate the tiered architecture of SQL. We also do not use XML mixed in SQL. It is a bitch to maintain, has poor performance and again
    violates the tiered architecture principle. 
    A query is not sorted because it is a table. A file in COBOL can be sorted and that seems to be what you really want to write. 
    Old COBOL love the Sybase CONVERT() string function to avoid SQL temporal data. 
    We never use SELECT * in production code; Google it. Not only are you generating code, you are generation bad code. 
    Since SQL is a database language, we prefer to do look ups and not calculations. They can be optimized while temporal math messes up optimization. A useful idiom is a report period calendar that everyone uses so there is no way to get disagreements in the DML.
    The report period table gives a name to a range of dates that is common to the entire enterprise. 
    CREATE TABLE Month_Periods
    (month_name CHAR(10) NOT NULL PRIMARY KEY
       CHECK (month_name LIKE <pattern>),
     month_start_date DATE NOT NULL,
     month_end_date DATE NOT NULL,
      CONSTRAINT date_ordering
        CHECK (month_start_date <= month_end_date),
    etc);
    These report periods can overlap or have gaps. I like the MySQL convention of using double zeroes for months and years, That is 'yyyy-mm-00' for a month within a year and 'yyyy-00-00' for the whole year. The advantages are that it will sort with the ISO-8601
    data format required by Standard SQL and it is language independent. The pattern for validation is '[12][0-9][0-9][0-9]-00-00' and '[12][0-9][0-9][0-9]-[01][0-9]-00'
    You caqn now sort or group things on the "month_name"column's substrings.  
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How to Include previous Month/Year in Transformation

    Hi,
    From Source System (DB Table;DB Connect)
    Location_ID,EMP_ID,AMOUNT
    There is no date field avaliable in the source system.
    The Data load to BW will me Monthly frequency...I,e:Data will be loaded once in a Months on 1st of every month.
    My requirment is to Include a date field in BW transformations which input previous month/year data for every record
    How can i do that and wether do i need to write a start or field routine in transformations
    Code please
    Thanks

    Hi Pal,
    You could use the following code to achieve this:
    DATA: v_calmonth(6) TYPE c,
          v_month(2) TYPE c,
          v_year(4) TYPE c.
    v_month = sy-datum+4(2).
    v_year = sy-datum+0(4).
    IF v_month = 1.
      v_year = v_year - 1.
    ENDIF.
    IF v_month = 1.
      v_month = 12.
    ELSE.
      v_month = v_month - 1.
    ENDIF.
    CONCATENATE v_year v_month INTO result.
    Hope this helps.
    Thanks and Regards
    Subray Hegde

Maybe you are looking for

  • Bonjour for windows: "The printer you have selected is no longer available"

    Whenever I go to try and set up sharing my imacs printer with wifes windows computer, the bonjour for windows app at first sees my two printers, but as I select them I then get a message stating that "the bonjour printer you have selected is no longe

  • Reading PDF's with voice over

    I can't seem to figure out how to get the ipad's voice over to read PDF files. Is there a problem here? Also Voice Over seems a little quirky, anyone else experience the same?

  • Import scenario - CIN

    Hallo, We are implementing SAP CIN and we have import scenario. However we are not using PO for imports, but we use only scheduling agreement for imports. So, is it possible for paying cutoms and other duties thorugh MIRO (planned delivery cost) like

  • SELECTION-SCREEN-ICON

    Hi ,   How to have a icon for a pushbutton in application toolbar using selection-screen.   help me out. Thanks.

  • 64bit JVM for JRE1.6.0.27 crashes

    I get this report below when my JVM crashes unexpectedly. Although I run on Win XP, I get the same outcome on Win 7 and Linux machines. Any help/pointers greatly appreciated. Thanks very much. # A fatal error has been detected by the Java Runtime Env