Report Painter: Incorrect formula component = Y002

Dear All,
I have a error messagewhile creating the Formula in GRR1
Incorrect formula component = Y002
    Message no. KX430
Diagnosis
    An incorrect component was discovered in one of the formulas.
Procedure
    You can get an overview of the valid syntax for formulas by pressing F1  in the Formula Editor. Check whether all formula components are written correctly. If operators are allowed the following applies: Operators  such as 'ABS' for an absolute amount must be written as follows 'ABS     K1 )' where 'K1' represents a valid key figure. If variables may be used
    in formulas in the application, these begin with '&' and have a maximum of 9 characters  (including '&').
Regards

You are seeing a syntax error. What columns do you currently have? Which formula are you trying to create? Even an extra space or absence of it could probably trigger an error message. If you are using just = Y002, probaby you are trying to have another column with the same values of Y002. If it is used within a condition, may be some space is missing.
Can you describe what is the report you are trying to create?

Similar Messages

  • Report Painter: Separate formula in each cell of a column

    Hi,
    I'm creating a report painter report using GRR1. My 1st column is particulars (which includes revenue & costs) and 2nd column is % to sales. I need a separate formula in each cell of column2 to divide the contents of the respective cell in column1 by sales (the figure in 1 cell) & then multiply it by 100. Is this possible? If yes, then how?
    Regards,
    Sangeeta

    Any suggestions guys????
    Regards,
    Sangeeta

  • Report painter element formula

    Hey guys..
    i need to create ratio in console report using report painter. environment i have is still using LC @ 4.6C.
    Element Column :
    Total Consolidation -> sum of legal comp, elimination and CI
    Element Row
    Total Asset --> sum formula
    Total Liabilities -->  sum formula
    Ratio --> divided formula
    In intersection of column total consolidation i have row ratio. how i can achieve ratio in total consolidation column?
    the thing happens right now ratio @ total consolidation is a sum of all ratio in legal comp, elimination and CI.
    many thanks....

    @ Shaubhik :
    Here some example :
    (for better view please copy & paste into the excel and set data to column)
    text,                                           Total Consolidation,       Elimination,      CI,         Total Groups
    Total Current Asset,                  60,                                 10,                  20,         30
    Total Short Term Liabilities,        30,                                 5,                   10,          15
    Ratio,                                          1.5,                                0.5,                 0.5,         0.5
    I want ratio @ Total console is 0.5 not 1.5.
    Hope i serve the illustration completely for you.
    @ Nikolas John :
    yes, i tried to use it. but it shown error and can't be used when i used those value that already marked by double click. (value 60 and value 30 is mark)
    Regards

  • Re: Report Painter Diff. formula in same column.

    Hi,
    I have some queries for report painter.
    I have 2 columns, A & B. I've created column C and the first 5 row I would like to have a set of formula such as A10 and for the same column, the row 6 to 10 from column B, I want to have formulate B5-10.
    My question is, whether it's posible to have 2 formula defined in the same column because value for each row may need to apply the formula differently.
    Thx & Rgds

    You can do this, although you need to split the columns into "Sections".  You also need to remove the column headers so they are not repeated between each section.
    They almost act similar to a page break, without actually breaking the column over pages.
    http://help.sap.com/saphelp_47X200/helpdata/EN/c7/50673ad016ec32e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_47X200/helpdata/EN/5b/d22d8a43c611d182b30000e829fbfe/frameset.htm
    You can then have different calculated key figures within the same column.
    To amend sections, go to Formatting > Section Overview/Section Layout.

  • Report painter variables in formula columns

    Hello,
    I need to insert variable in column formula to create  average month result.
    using syntax 'variable' or &variable is Incorrect formula component message .
    How can i enter variables in formula columns?
    Thanks ,
    Ran

    Hi
    I suspect you are not able to use the '& symbol in the formula in your system because the note 593897 was not present in old release.   
    Due to this note there is no need to enter '&' symbol for variables in the formula but in order for the variables to be used please make sure  that the variable is contained in the general data selection of the  report.                                                                
    Kidn Regards
    davide

  • COPA Report Painter

    Hi,
    I consider possibility of using conditional expression 'IF' in COPA report painter in formulas. Is it possible ? I am asking because syntax from common report painter is not correct in COPA it means e.g.:
    IF Y001 <> 0 THAN Y001 ELSE Y002.
    It would be beneficial for me.
    regards,
    Rafal S.

    Hi again,
    Thanks for reply, but are you sure that the syntax is correct for COPA report painter formulas ? I have tried to apply it and after the check system gives me "incorrect syntax" message.
    regards,
    Rafal S.
    Message was edited by: Rafal Skwarczynski

  • Add in Library for Report Painter/Writer 9PCC

    Hi SAP,
    I need to include in Library for Report Painter/Writer the component 9A2 CO-OM-IS-BP Business processes: Special reports because I need to run 9PCC, but 9PCC don't exist in my system.
    Would I like know if it exist the SAP note include in Library?
    Best regards,
    Edited by: Fabio Gil on Jul 1, 2010 6:35 PM

    Hi,
    You can create a library via GR21 transaction. What tables do you want to join? Depending on this, one can tell whether it's possible or not.
    You can search for available info on the forum; similar questions were already asked.
    Regards,
    Eli

  • Report painter- problem in creating formula variable- ps

    Hi Experts,
      i have copied report  6P3 - 6PP1-001 Act/Com/Total/Plan    from library in report painter.
    our requirement is we want two user fields from cj20n  in this report. they are prps-usr04
    and prps-usr05.
    i have added these in header as  special text variable as they were ALREADY available at header under
    MASTER DATA FOR PROJECTS / WBS ELEMENT IN REPORT-WRITER. 
    now my requirement is to add new columns. for that i required these two fields in formula.
    but as they are not present in formula component  i am not able to get it.
    what should i do to enter these fields in component list in formula?
    PLEASE GUIDE ME?
    AMOL

    ActRunningBal is a running total calculated in crystal or database field? If it is a database field then you can try this
    if {command.CR-Amount} &lt;&gt;0 then
    {command.CR-Amount}
    else
    previuous()+previous({command.Dr-Amount})
    If it is a running total you cannot apply previous function on it.
    Regards,
    Raghavendra

  • Calling Report Parameter in Row Formula - Report Painter

    hello
    i have a unique situation in which 11 months out of the year i need to call a certain "cell" and then in December I need to call another "cell"
    i figured if that is possible I would be able to do this one of two ways:
    IF "Eval Period" <> 12 THEN "Y021" ELSE "Y023" - this would result in a single line solution
    IF "Eval Period" <> 12 THEN "Y021" ELSE 0
    IF "Eval Period" = 12 THEN "Y023" ELSE 0
    the later formula would be split into two lines.
    i am a big excel and VBA user (where this would be possible with some trick coding), but i am slowly learning the art of report painter. Is this possible. I know you can define a row or column with a variable, but can you call it out in a formula?
    thanks

    Hi Adam01,
    I am not sure if I have understood your problem, but I am going to comment one thing in case it is helful for you.
    If you press F1 in the u201CFormulaLineu201D when you are editing the formula, you can read:
    Formula syntax in the Report Writer
    A formula consists of operands, operators, numbers, and parentheses.
    The following operands are possible:
    Row numbers (for example, Y001 for row 001)
    Column numbers (for example, X001 for column 001)
    Cells (for example, Z001 for a specific total in a report)
    Value variables (for example, '1PERIK' for the value variable 1PERIK)
    You can enter numbers directly, with or without a decimal point (for example, 100 or 2.5).
    Example (percentage difference):
    ( X001 - X002 ) * 100 / X001
    In addition to basic arithmetic operations + - * / the following operators are supported:
    Operator Example
    ABS   Absolute value ABS(-10) = 10
    DIV   Quotient-whole no. div. 10 DIV 3 = 3
    MOD   Remainder-whole no. div. 10 MOD 3 = 1
    SQRT  Square root SQRT(9) = 3
    INT   Truncation to integer INT(3.9) = 3
    TRUNC Truncation to integer TRUNC(3.9) = 3
    ROUND Rounding ROUND(3.5) = 4
    EXP   Exponential function EXP(1) = 2.71828
    LOG   Logarithm LOG(10) = 2.3025
    SIN, COS, TAN  Trigonomic functions (length of a curve)
    Example (difference of absolute values):
    ABS(X001) - ABS(X002)
    Logical Expressions:
    IF c1 THEN f1 ELSE f2
    where c1 is a comparison condition, f1 and f2 are formulas.
    In comparison conditions, the following operators are allowed:
    < less than
    <= less than or equal to
    > greater than
    >= greater than or equal to
    = equal to
    Example (determine maximum value):
    IF Y001 > Y002 THEN Y001 ELSE Y002
    For instance you can write:
      IF '8A-PER' < 12 THEN Y023 ELSE Y021
    Best regards,
    Paco

  • Formula line in Report painter

    Hello,
    Can I use 'IF' phrase in Formula column in Report painter ?  If so what's the right Syntax .
    Thank you,
    Ran.

    Hi Ran,
    Glad to hear from you too!
    Did you put '.' in the formula at the end of the message? You shouldn't in this kind of statement, so the expression should be:
    IF X005 > 0 THEN X004 + X003 + X005 ELSE X004 + X003
    Regards,
    Eli
    P.S. I tried it, just in case, and it works.

  • Report painter/writer for actual cost component split

    Hello Gurus,
    Any of you guys ever explored possibility of creating a report using report painter or writer that can give both Standard and Actual cost component splits in one report? Is it even possible without custom ABAP involvement?
    Thanks
    RG

    Hi Raghu,
    After your reply, I am getting a doubt..
    Have you Activated Material Ledger? When you say Actual Cost Component Split, are you talking about it what you get in Actual Costing/Material Ledger?
    If yes, then you can map your cost compnents for Actual Costing in the path SPROControllingProfitability AnalysisMaster Data Valuation--Setup Valuation using Material Cost Estimate -- Define Access to Actual Costing / Material Ledger
    Further, there are no standard reports available in COPA. Try to build a report comprising two columns, 1st column with the value fields which are mapped for Standard Cost Components and 2nd column with the Value Fields which you have assined for Actual Costing under the above path.
    You will be able to get the comparison...
    Pls don't hesitate to call me for further assistance....
    Srikanth Munnaluri

  • Formula Variables for Report Painter

    Dear Experts,
    I have a Report Painter Report which displays month wise report in columns and now i want the report to be displayed based on the period mentioned in selection screen.
    Can someone please advice how do I do the same with use of Formula Variables.
    Regards,
    Rahul

    Go to the selection screen and press F1 and go to technical details to name the name of the screen field. example: 8A-VON (period from) and 8A-BIS (period to).
    In your report designer, you enter the those variable for the "period" characteristic and tick the variable ON/OFF checkbox.

  • New column with formula in Report Painter - GRR2

    Hi gurus,
    I want to insert a new element in my new report painter created by GRR2. I took a standard report and I copied the report.  I know how to insert a new element.
    The problem is I want to choose the value of a field in PROJ table for create a formula in my report. The users insert a value in user-define fields of CJ20n, and i would like to choose this value for create a formula in my report.
    Can I create a formula to take this value from the table PROJ? If I need to create a characteristic for choose this field, as I can create?
    Thanks.

    Hi,
    My question is:
    Can i pick a value of a table (proj) for use in formula of report painter??
    Many thanks.
    Regards.

  • Report Painter - Use of Constants / Local Formula Variable

    Hi,
    I am using constant and/or local formula variable in report painter in FSI.
    I could use both the values for calculating percentages, ie. it can be used for multiplication or division. However, when I try to use it for addition or subtraction, I am getting the error message no. KH206.
    In all cases, I am using different values in the formula, i.e. a absolute figure and a GL based figure.
    I am not able to understand, why it even allows me for calculating percentage.
    Can anyone help me in using a absolute figure for input and thereafter use it in addition / subtraction.
    I would prefer an immediate solution to this as I am in the final stages of this report.
    Full points guaranteed.....

    Hi Kash,
    Thanks for your reply..
    Can you elaborate bit further. You mean to say I should create a Constant with some value.
    Thereafter how should I bring that in the form. But, How do I enter the Constant in the Formula... There is no key for entering any text in the formula.. there are only ID (the values which we bring in the form and which can be selected for the formula) and numbers which can be entered.
    So how do I enter the name of the Constant?
    I tried just keying in the name of the Constant, and I could check the formula also, However, while saving the form, I am getting an error,
    Element WCaplimit Bis letztem ATag bis &$BISD is not defined correctly -> check definition
    Message no. KH206
    Diagnosis
    In element WCaplimit Bis letztem ATag bis &$BISD the system adds quantities and values or different currencies.
    Can you please revert back with step by step solution?
    Appreciate your prompt reply.... Thanks

  • Report Painter - variables in formulas

    Dear all,
    we try to use value variables in formulas within Report Painter reports which should not influence the selection. Example: the benchmark of a daily rate is 975 € - and the report should calculate the variance between the effective daily rate (total of service-provider costs divided by number of rendered hours divided by 8). The 975 € should not be stored as a fixed value within the formula but should be defined as a value variable.
    Ideally the value should be editable at the selection screen.
    Has anybody an idea?
    Thanks for your response.

    Hi
    I suspect you are not able to use the '& symbol in the formula in your system because the note 593897 was not present in old release.   
    Due to this note there is no need to enter '&' symbol for variables in the formula but in order for the variables to be used please make sure  that the variable is contained in the general data selection of the  report.                                                                
    Kidn Regards
    davide

Maybe you are looking for

  • Text field is not working at first time after loading the flash files

    Hi to all,      In my Java application, I'm using a text field and a panel to load flash files. I'm using JDIC 0.9.1 to load the flash files in the panel. The flash files are created by Flash CS4.      While running the application, I can't enter any

  • Mac Pro Mountain Lion Kernel Panic Dual Video Cards

    I've been getting constant panics since upgrading to Mountain lion on my 2009 Mac Pro. Worth noting is I have dual GT 120 Video Cards and dual 30" LCDs.  Every panic seems to be caused by com.apple.NVDAResman This computer has been rock solid since 2

  • Field MCEKKO-KZKPF in POOL of 2LIS_02_ITM

    Hello Guys, In the data-source 2LIS_02_ITM, in LBWE-> Maintain -> We have a field as KZKPF - Header COunter field. Can anyone please tell me what does this 'Header Counter' field stands for? Does this help us counting the Unique Header Documents with

  • Retain the alignment of print preview in download of smartform

    Hi ABAPers, I need to retain the alignment of the smartform print preview when I download the smartform as PDF. The text alignment is ok but the issue is with character "-". In print preview Shift Date Qty.Kgs Qty.Lts ST Fat% CLR SNF% Fat(Kg) Rate UO

  • Is there a way to revert back to the old version of Cloud

    I installed Mountain Lion on my laptop to try it out before installing it on my Mac Pro. I didn't like it so I decided to leave the Mac Pro alone. Problem is, it installed the new version of Cloud and now I can't sync my Mac Pro. Now my laptop is bro