Period in report painter report

Hi Experts,
I use a report painter report where certain variables are used.
In report, I have two columns. First column shows details of current period and second column shows immediate prior period.
Say 1st column shows details of period 2, 2011 then 2nd column shows period 1, 2011.
Here, the problem I am facing is, if I execute for period 1, 2011 u2013 I expect period 1 of 2011 in column 1 and period 12, 2010 in column 2 u2013 but in 2nd column, instead of period 12, it shows heading as period u20180u2019 and no details are displayed. This is happening only if I execute for period 1. From period 2 onwards its fine.
The variables I used in column 1 and 2 are
Column 1
     Fiscal year : Variable u2018ZYEARu2019
     Period : ZPERTO
Column 2
     Fiscal year : Variable u2018ZYEARu2019
     Period : ZPERT-1
Details of formula variables
ZYEAR: From field (GLPCT- RYEAR) with formula (IF '#S006' = 1 THEN '#S001' - 1 ELSE '#S001')
ZPERTO: From field (GLPCT- RPMAX) with formula (IF '#S006' = 1 THEN 12 ELSE '#S006' u2013 1)
ZPERT-1: From field (GLPCT- RPMAX) with formula ('ZPERTO' -1), also Internal variable check box is checked in this variable.
Could someone explain me how to solve this. I would like to se the system right with minimum changes because these variables are used in some other reports too. So would like to make the thing possible with minimum changes.
Thanks.

Hi,
Create 2 more variables and use this formula.
Variable 1: ZYEAR (Fiscal Year) RYEAR u2192 '#S001'
Variable 2: ZPERT (Period) RPMAX u2192 '#S002'
Variable 3: ZPERT-1 (Period -1) RPMAX
IF 'ZPERT' > 1 THEN 'ZPERT' - 1
       ELSE 12
Variable 4: ZYEAR-1(Year for Period-1) RYEAR
IF 'ZPERT-1' < 'ZPERT' THEN 'ZYEAR'
                                    ELSE 'ZYEAR' - 1
Use the Variables
1.ZYEAR & 2.ZPERT for Current Month.
3.ZYEAR-1 & 2.ZPERT-1 for Previous Month.
Hope it solves your problem.
~Andrew

Similar Messages

  • Selection values in Report Painter Report

    Hi All,
    I am creating a report  painter report for Plan/Actual values using  library 0FL.In my characteristic value column I included fiscal year as a  value and  hard coded the fiscal year so i dont need this parameter in my selction screen.When I execute the report the fiscal year is coming in the selection twice.i.e:
    Fiscal Year
    Fiscal  Year
    Company Code
    Period
    From Profit Center
    To Profit Center
    How do I wipe out this fiscal year from my selection screen? In GRR2 -> EDIT--> General data selection , I only have  profit center values.I dont  know why this fiscal year is coming up as a selction parameter when I hard coded in the column.Any help.Thanks
    Regards
    Shaun

    HI Shaun
    In GRR2, Against the char, there is a check box where in you specify to treat it as a variable.. DId you check that box? Unless you check that, it wont appear in the selection screen
    Regards
    Ajay M

  • Display Profit Center & GL Account in 2 Seperate Columns in Report Painter Report

    Hello All,
    I am building a Report Painter Report for Inventory Balances. As psrt of my requirement I have to display GL Account & Profit Center ina different Column & their Balances for each month on this Current Fiscal Period. As/of now I am only able to have both GL Account & Profit Center in the Same Lead Column? And it is perfect if I look on the Report but when I download all the GL Account & Profit Center are not seperated with Color, so it becomes confusing. I need to have  execlty the Report as Same Format S_PL0_86000030.
    How can this be achievable? Thanks for your valuable input?

    the account is probably in account group or set. Look for that one in report painter and then go to the set or account group and remove/add the account.

  • Selection Field in Report Painter Report

    Dear All,
    Could any one tell me the procedure to add new field at selection screen for the report painter report ? To change the report painter selection screen i have to change the Report group or Report of the report group?
    Thank in stack

    In general data selection, i have already cost center, but it is not apprearing at selection screen. Only three field are appearing (Year + Period + Forecast),  and i want to add cost center at the selection screen. How to make cost center field at selection field from General data selection option. Please guide me
    Thank in stack
    Nilesh Shete

  • Selection screen fields order in report painter report..

    hi experts,
    i have a  problem with selection screen fields order in report painter report.
    Actually in report painter report selection screen order is different compare to report writer report selection screen.
    how should i get the same selection screen fields order For  Report painter  report compare to Report Writer report ?
    For example, Report Writer selection screen order is:
      ledger:
      company code:
      period:
      current fiscal year:
      previous fiscal yer:
      previous quarter end period:
    where as Report Painter selection screen order is:
      ledger:
      previous fis year:
      current fis year:
      company code:
      period:
      previous quarter end period:
    please help me regarding with this.
    Thanks and Regards,
      NAGARJUNA.

    hi nagarjun,
    Go to Sq01, select the query and goto to change mode.go to the next screens till u reach Selection fields. Here u enter the NO field in the sequence which u want ot appear in the selection screen and it is done. Save and execute.
    Ex:
    Selection fields No
    Exclude Cancelled Lots 5
    Material number 1
    Plant 2
    Material type 3
    Inspection Lot Origin 4
    Regards,
    Lokesh

  • Issue with Report painter report

    Hi Gurus
    I need your help with an issue with one of our report painter reports. I have created a new report with Fiscal Year, Ledger, Company code, and Account number range in General data selection. The report row has field Segment and each period corresponds to one period of the fscal year. In here, I have selected Period and Record type 0 as characteristics. The basic key figure is KSL for second currency.
    I am able to save the report but when I execute it, I get the error that
    *Characteristic GJAHR cannot be combined with key figures*
    Can someone please help me as why I am getting this error?
    I appreciate your help.
    Thanks,
    Shalu

    Hi
    I think you have to rechek the genral data selection setting , related to fiscal year.
    had u defaulted the fiscal year or used variant for fiscal year
    Thanks
    alok

  • Zero balance display in report painter reports

    Hi all,
    I have an issue with some report painter reports where the "print zero balances" flag is switched on in both the report and the section layouts, however the accounts are still not appearing on the report.
    The accounts do not have any postings in the current year and the Bal carried fwd was zero in all profit centres but my client would still like to see a zero value on the report.  Any suggestions?
    Many thanks
    Phil.

    Also, when I display the balance of the accounts that appear on the report in FAGLB03, I get a screen showing a zero balance in all periods.
    When I display the balance of the accounts which do not appear on the report in FAGLB03, i get the message that "no data exists for fiscal year 2009".
    I have tried re-running the balance carry fwd transaction but this has had no affect. 
    please help!
    Thanks
    Phil.

  • Opening Balances in Report Painter Report

    Dear All,
    We have created a Cash Flow Statement using Report Painter. We are getting all the current year transactional figures correct but we are not getting the Opening balances.
    We have defined 3 columns as below:
    1. Fiscal year
    2. Balance Sheet
    3. Net Difference
    In the column Balance Sheet, the Opening Balances are not getting reflected.
    Request all to help.
    Thanks,
    Shalin Shah

    HI,
    so its not a report painter report but a drilldown report (based on New GL data).
    Please check SAPNET note 878539 what to do if balance carryforward values are missing (in the form definition).
    Guess it is caused by the period from definition which needs to be set as "000" (as this "zero" period contains the balance carry forward values).
    best regards, Christian

  • In report painter report, line item level drilldown report requirment

    Dear All,
    I created one report in GRR1, when I execute the report i am not getting line item wise drilldown option. For example one cost center no of line itemwise posting ( g/ls wise)posting is there. By double clicking on that specific line item we will go that ledger and see the data available in that ledger.In standard reports that option available but my own reports I unable to go drilldown at ledger level cost reports.
    Please sugget anyone, where I am doing mistake in report creation level.
    Thanks
    M Srinivasa reddy
    Ph : 9637399076

    Thank you,
    I attached reports to Library based on that I am able to drilldown line item level of the report.Is it corret or any other way for line item level drilldown option for report painter reports
    Thanks
    M Srinivasa reddy

  • Data of the Report Painter report

    Dear ALL,
    I have the Report Painter report. When I'm executing this report I can save the data into the extract.
    Could you tell me where are these data in the system(table?)? I want use these data for SAP script form.
    Best regards,
    Igor

    Please go through the enclosed document. This will give you step-by-step approach for Report painter:
    http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    Check url
    http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
    Check Report Painter Step-by-Step example under Tools->Report Painter / Report Writer->Report Painter->Creating a Report Painter Report.
    Just go through These Links to learn about report Painter.
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
    Please go through the enclosed document. This will give you step-by-step approach for Report painter:
    http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    Check url
    http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
    Check Report Painter Step-by-Step example under Tools->Report Painter / Report Writer->Report Painter->Creating a Report Painter Report.
    Just go through These Links to learn about report Painter.
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
    I think it will give you some hint. I wish I could have authorization to use report painter on my this project so I can help you out practically.
    Please see these steps , it`ll help you ...
    http://www.thespot4sap.com/Articles/Code_CostCentreReport.asp
    regards
    vinod

  • Report Painter Report Performance Issue

    hi,
    My client facing the problem with Report painter reports , almost all the reports taking much amount of time to execute . we are Using 5.0 version tables FAGLFLEXT and CSSS . i have some doubts report index is the cause for this or any other reasons can any one help me in this regard,
    thanks in advance
    sasidhar.A

    Hi,
    just create a proper index and performance will increase. There are some SAP OSS notes who deal with this (for example field "client" should be added if'm not mistaken).
    We did the same on profit center tables with huge performance increases
    grtz
    dries

  • Problem in Exporting a Report Group having a Report Painter Report.

    I am having a problem in exporting a Report group having a Report Painter report.When I am trying to export the Report Group using transaction GR57 with all dependent objects,it is displaying:
           group 0102CPDNUEA-CCROSI not transported.
           Transport groups separately if necessary.
    There are 6 such groups which are not transported.Can anybody help me in this regards.Can anybody help me in exporting these Groups.Specifically in Report painter reports what do these Groups signify and how can we see them.Please help me....

    hi,
    I am able to export my report groups with dependent objects successfully.
    I dont know why you are getting error message. Just keep break point at ***** and execute it for single group and find out why it is giving error.
      IF SY-BATCH = 'X' OR NO_LIST = 'X'.  "direct or batch
        SET PF-STATUS 'LIST'.
    *****PERFORM TRANSPORT_OBJS USING 'X'.  "transport all jobs
        IF FILE_EXP <> 'X'.
          READ TABLE WT_E071 INDEX 1.
          IF SY-SUBRC = 0.
            LEAVE.
          ENDIF.
        ENDIF.
      ELSE.                                "online
        SET PF-STATUS 'MENU'.
       PERFORM WRITE_TRANSP_OBJS.
      ENDIF.
    regards,
    ram

  • Profit center group number on the report painter report.

    Hi,
    We have a client requirement where we have to develop Profit center by Functional Area report by using report painter report functionality, however we are able to bring profit center group description on to the report as per the requirement, but not able to get profit center group number displayed on the report.
    Can anyone please advice me if we can get the Profit center group number displayed on the report in Report painter report. Else let me know if we can get the requirement met by an ABAPER.

    Hi.
    First of all, through transaction GS01 create a set ID for profit centers.
    Give table GLPCT, let the set type be the default (basic set) and give field name RPRCTR. Then define the range of profit centers you want. If you want all the profit centers give * in the "from value field".
    Then create a variable through transaction GS11. Give table and field as above, choose variable type set and at the default set field choose the set you created.
    Finally, at report painter go to Edit/General Data Selection and select profit center.
    Check both flags (for entering sets and variables) and give at the form field the variable you've made.
    Now the progit center group will be available in the selection screen with default value the set you've made.
    Regards

  • Report Painter Report - Leading White Spaces in Cost Element

    When calling up a report painter report, e.g. S_ALR_87013613, with cost element characteristic in Office integration/Microsoft Excel as output parameters, the cost element (row item) is indented with white spaces.  The number of white spaces seems to be in relation with summation levels (sub-totals) visible in the left panel.  For some cost centres that only have limited transactions, such as no posting to salary account group, there are less levels of summation, meaning less leading white space in cost elements.  Is there any way to eliminate or have a fixed number of leading white spaces in cost elements? 
    We export the report to Excel worksheet for further processing.  VLOOKUP function is used to read the cost element into another workbook.  The inconsistent number of leading white spaces creates a problem for the formulas to work properly. 
    Any suggestion is appreciated.
    Regards,

    Hello,
    There are different ways of downloading the report to excel. One option is
    System ==> List ==> save (to local file)
    Please try with other options.
    If still not working, then the work around would be
    You can put ctrl+H (replace all spaces)
    Then text to columns
    Hope this works.
    Regards,
    Ravi

  • Issues in Report Painter Reports

    Dear All,
    We are on ECC 6.0. We are using some Report Painter Reports and we are facing the following 2 issues:
    1. Authorization
    For some of the Profitability Reports, we are facing authorization issues. e.g. If I do not need a user to view the profitiability of a particular Business Area to which he does not belong to then I should be able to restrict the same via authorization. However, I do not know where to maintain such authorization objects in Report Painter Reports
    2. Financial Statement Version
    We have created a Cash Flow Statement by using the Report Painter. We have created a Form whereby we have assigned GL Accounts to some characteristics and Financial Statement Version Item to others. However, when we execute the report, we can see figures for only those items where we assigned the GL Accounts and not for those items where we assigned FSV Items.
    Thanks,
    Shalin Shah

    Hi,
    1: search SAPNET with search terms "report painter, authorization", guess you find some useful notes.
    2: Try T-code KE5B to convert Financial Statement Verison sets to sets that can be used in report painter.
    Best regards, Christian

Maybe you are looking for