Conditional formula in report painter.

Hello.
I create new CO-PA report in KE31 transaction which is based on a form.
In transaction KE35 I define the new form and in this form I want to create formula.
This formula should be conditional. How to define conditional formula in that kind of form.
I can also define key figure scheme in transaction KER1 but in this transaction I also don't see possibility to define
conditional formula.
Conditional formula means that some value fields should be summ and some value fields should be substract
depending on the value of characteristics.
How to solve this problem in R/3 4.6C?
I am waiting for help.
Best regards
Bogdan

Hi,
I don't think that we can put the conditional formula. but we can do the calcualtion by row wise or column wise.
Thanks.

Similar Messages

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

  • Conditional formating in report painter (GRR2)

    Hi all,
    An end user ask me if it's possible to do a conditional formatting in a cell of report painter (run with GRR3) if the value is true (i.e. as in excel, you can colour a cell if it's less than zero and so on). I know that it's possible with the BEx (for SAP BI), xcelsius, crystal reports and surely with bussiness object. I can see that it's only available do the format for the all column or for a line, but I don't  find the option for a cell with a condition (surely because it isn't available).
    Please, confirm me if it is not available, because I'm a long time looking for a reply but I only find info about BEx, xcelsius and so on (nothing related with report painter, GRR2 and so on). But if it's possible, please let me know how to do it.
    Thanks in advance
    Best regards,
    Eduardo

    Hi,
    I don't think that we can put the conditional formula. but we can do the calcualtion by row wise or column wise.
    Thanks.

  • API/RAS - is it possible to remove suppress condition formula from report Section?

    I need to modify a report on the fly so that sometimes the 'Suppress (no drill down)' condition formula is completely removed from a report Section. Optionally I would like to just modify the formula to return FALSE so that the section appears.
    It seems like the code below works when the section format 'EnableSuppress' option is TRUE, but does not seem to do anything when there is a suppress formula for the section.
    Is this possible to do?
    Thanks
    Helen
    private void RemoveSuppress(CrystalDecisions.ReportAppServer.Controllers.ReportSectionController ctlSec
        , CrystalDecisions.ReportAppServer.ReportDefModel.Section sect)
        CrystalDecisions.ReportAppServer.ReportDefModel.ISCRSectionFormat
    secFmt = new CrystalDecisions.ReportAppServer.ReportDefModel.SectionFormat(); // also tried getting the current section format object
        secFmt.EnableSuppress = false;
        secFmt.ConditionFormulas.RemoveAll(); // *** Should ensure the condition formulas are removed correct?
        ctlSec.SetProperty(sect, CrystalDecisions.ReportAppServer.Controllers.CrReportSectionPropertyEnum.crReportSectionPropertyFormat, secFmt);
    private void doOutput(CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocument oras)
        CrystalDecisions.ReportAppServer.Controllers.ReportSectionController
            sect = oras.ReportDefController.ReportDefinition.FindSectionByName("DetailSection1");
        RemoveSuppress(oras.ReportDefController.ReportSectionController, sect);
        CrystalDecisions.ReportAppServer.CommonObjectModel.ByteArray
            boByteArray = oras.PrintOutputController.Export(RASDefModel.CrReportExportFormatEnum.crReportExportFormatPDF, 1);
        boByteArray.Save(@"c:\temp\r.pdf", true);

    Hi Helen,
    Not sure why or how I missed this one but see this post for more info:
    http://scn.sap.com/thread/3712393
    Don

  • CO-PA column formula in report painter

    Hi all,
    Sorry about previously explanation!
    In KE34, when define a form, we need several columns with a formula that is a combination between cells.
    Rows:
    - Row 1: Revenue (Y001)
    - Row 2: Total cost (Y002)
    - Row 3:  Wages cost (Y003)
    - Row 4: Depreciation cost (Y004)
    - Row 5: ...
    Columns:
    - Column 1: Plan - value (X001)
    - column 2: Plan - % (X002)= Cost / revenue * 100
                       for example: Cell Z001 (interaction between row 2 and column 2) = Y002/Y001 * 100%
                                             Cell Z002  (interaction between row 3 and column 2) = Y003/Y001 * 100%
    How I can set formula for column 2?
    I tried to define formula for each cell in column 2. It worked, but it takes too much time cause the report includes 3 column like column 2; and about 20 rows -> 3*20 cells need to define for each report like this???
    Is there any tool or formula variable i should  use instead?
    Thanks for any help
    HuyenTT
    Edited by: huyentt4 on May 17, 2010 11:22 AM

    Hi,
    there is no need to define the formula for each cell.
    Mark cell 1/1 (Plan revenue) Have no other cells marked. --> this is cell Z001
    Define column 2 formula as: Column 1 / cell Z001
    The formular will for line X take the plan value from line X and divide it by the plan value from line 1.
    I have lots of reports where I use this
    Regards
    Nikolas

  • Formulas in report painter - form

    Hello,
    does anyone know where I can add some formula components in KE35? I want to add some components to calculate new formulas.
    thanks a lot!
    David

    Hi,
    Good morning and greetings,
    In KE35 click on Extras Menu > Report Parameters > Click on Display Form
    For example in Net Revenue line double click to define the formula for the same.
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Default formula in report painter

    Hi,
    We have added one total 'column formula' and one percentage 'line formula'
    The problem is in the cell met by these two formulas. The system takes the column formula by default.
    How can we modify this so that the system takes the line formula by default?
    The total percentage is always the sum of all the percentages but not the percentage of the 'total column'
    Thanks for your answers,
    Best regards,
    Laurent

    Laurent,
    I am struggling with the exactly the same issue. Did you manage to figure out a solution ?
    Regards,
    Peter

  • Difficult report formula in report painter

    Hi Gurus,
    I would like to do the following:
    I have 5 columns(X1-X5) and 5(Y1-Y5) rows. If I wanted column X2 in row Y2 to be the sum of X2 in row y3, how would I go about this.?. The issue is really about putting in a formula in different cells.
    Any help would be appreciated
    Regards

    You need to use special cell processing. First select the cells. Then the selected cells will have a new variable starting with "Z".
    Now use these selected cells to make your custom formule.

  • How to apply condtion formula inside Report Writer and Report Painter

    Hi anybody,
    I am doing report painter. but i don't know how to include condition formula inside report painter or report writer. ex if condition ..
    Anybody please explain to me the steps of report writer how do this.
    I will appreciate goods answers to me.
    thanks
    Regards,
    S.Muthu
    Edited by: Subramaniyan Marimuthu on Jun 3, 2009 7:50 AM

    www.virtuosollc.com/PDF/Get_Reporter.pdf
    This is most useful PDF written by industry expert. This is more informative.
    http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7dc143c211d182b30000e829fbfe/frameset.htm
    Regards,
    Ravi

  • 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

  • New variable in Report Painter - GRR2

    Hi,
    Can i create a variable with a value of table PROJ, the value is in Z field of table PROJ?
    I need to create a formula in report painter to take the field value PROJ table and multiply by the actual costs.
    Many thanks.
    Regards.

    Hi,
    Easier option is to create a profit center group excluding the dummy profit center and assign it in the report painter instead of the variable.
    Other option is at the time of executing the report, exclude the dummy profit center with out making any changes in the report.
    Regards
    Sudhakar Reddy

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

  • Conditional formula to supress a section in the first page of the report

    hi all,
    how to programatically add a conditional formula to supress a section only on the first page of the report.
    i am using CR XI R2 RAS server.
    thanks in advance
    Padmanaban V

    Hi Padmanaban,
    You can download samples from [here|https://www.sdn.sap.com/irj/boc/businessobjects-samples]
    Regards,
    Shweta

  • 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

Maybe you are looking for

  • Client Certificate Authentication

    Hi guys I am not sure if this is the right place to ask but here I go. We are trying to find the best option to push client certificates to our user's Mobile Devices so they just log into a website, type their credentials and the user certificated ge

  • Office network design ideas..

    Hey all, we are upgrading to a Cisco network and wanted some input on our possible network design... Currently we have: A Juniper SSG 140 and IDP for our firewall and IDS 3com (layer2/3) switches for our desktops 2 Dell PowerConnect 5424 switches for

  • Sale tax register

    Hi everybody, I am creating sales tax Register. I refered J_1ISTAX , but i am not getting it. My requirement is to display Material Value, Discounts, Freight (taxable and non taxable), Accessible value for excise, Excise + Education Cess , Taxable va

  • Principal Propagation: User needs to be defined in PI???

    Hi All, We have a major SRM implementation using Principal Propagation(PP) for most of the interfaces. We are currently in design state. One of the things that were brought to my attention was that the user to be propagated from Sender needs to be ma

  • Illustrator won't open at all following Mavericks update.....

    This is very frustrating. InDesign and Photoshop open up just fine, but Illustrator (CS6) literally does not even budge. I hopped the Mavericks update train a bit late, and now I wish I hadn't at all. I need Illustrator for work. Now. And do not have