FR-studio Conditional formula

Hi All ,
I am using Hyperion Financial reporting studio for creating reports.
My requirement is I want to show Blank value in a column if the value in another column is ZERO or MISSING else it will show the Variance.
For doing that I am using this formula :
IfThen((IsMissing([C]) OR [C]=0), 'Blank' ,Variance(,[C])).
Can any one tell me what should I put in place of blank in the above formula to achieve the above stated requirement?
Thanks

Hi ,
Think this method may not work ,because formula will not take any special character..
You can try another solution to this requirement..
Create one text column say..[K] and hide it and put it in your If statement.. like this
IfThen((IsMissing([C]) OR [C]=0), [K] ,Variance(,[C])).
hope this shall solve the purpose...

Similar Messages

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

  • 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

  • Conditional formula help

    Post Author: scd07
    CA Forum: Formula
    Hi, Crystal Reports novice here...
    I have been asked to take out any lines in several reports with all "0s" in the columns.  I have tried formatting each field to suppress Zeros and then right click on the Description column and click "suppress if blank".  Didn't work.  I then tried to write a conditional formula that I put under the description field (field 1), "common", "formula" and "suppress".  The formula followed the following:
    If = 0 and = 0 and = 0 then true else false
    Unfortunately this also didn't work.  I don't know if my formula is incorrect or if I am entering it in the wrong spot.  Any help would be very much appreciated!  Thank you!!

    Post Author: Bandit07
    CA Forum: Formula
    Right click on what you want to suppress and click the x-2 button next to suppress.  Put your formula in there.
    = 0 and = 0 and = 0,  If all of these conditions are true then it will suppress.
    B

  • Conditional Formula to supress page header in 1st page of the report

    hi,
    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

    Try it first in CR Designer, then when you get the formula collect you'll see how it's done. If you can't do it in the designer then you can't do it in code, same set of API's.

  • Condition formula for alternative calculation type

    Hi gurus,
    we need to create some condition formulas to be applied in our pricing procedure.
    Do you know where to program them in the system and what additional settings are required?
    Thanks and best regards,
    VL

    Hi Victor,
    For your query, you can create new alternative calculation or alternative condition base values in T-COde VOFM with the help of an ABAP.
    Go to VOFM T-CODE
    Then Click on Formulas then condition value or condition base value.
    You need to take Acces key from basis team to create a new calculation type for that number should start from 900 to 999.
    Tell you Abaper to take the values from internal table XKOMV, XKOMK, KONDI, XKONP there are many internal tables are there, from that you will get respective conditon type values.
    In internal table KBETR field contains condition record value & KWERT contains the calculated value.
    Read wrt condition tyep and calculate according that and pass the value.
    Try this, which will help you in resolving your query.
    If satisfied close the thread.
    Regards,
    Nagesh

  • Create value condition formula on VFOM

    Hi people,
    I am with a little problem...
    I have to create value condition formula on VFOM, so I go on VFOM, then formulas, then value condition ...
    I go on botton of the list, set on edit mode, enter number 936 for the formula(witch doesnt exist)...
    But when I double click on number, the program ask me for the acces key...
    What should I do?
    tks

    Hi,
    You have to get the access key from Service Market Place, without access key you cant create routines.
    Thanks
    Arbind

  • 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

  • Is it possible in CrystalReports 8.5 to set conditional formula at runtime?

    I program in C++.
    Is it possible in CrystalReports 8.5 to set suppress formula (or any other conditional formula under "x+2" button) at runtime?
    I know I can do a workaround, for example create a parameter field, type in (at design-time) a suppress formula with this parameter field and then set the value of the parameter field at runtime.
    But... In our application crystal reports are modified at runtime. And in a section, which has its suppress formula, suppress property is changed at runtime, so the suppress formula disappears. But later (e.g. a user changed its mind) it would be very nice, if the suppress formula appeared again. How to do that?
    (I tried to search and google, but answers I found was not those I wanted them to be.)
    Thanks in advance.
    Jacek.

    Hi Jacek,
    That is a very good question. There are no sample app's any more for 8.5 which is 10 + years old now and I don't recall if that function was considered Report Creation which was only available for OEM Partner. Or the RDC had a few RCAPI's also. Typically you would add the formula in the Designer and then get that formula and alter the info.
    But it's been so long now and you never say which engine you are using, not that it matters, I don't recall now if you can or not or how ....
    Search the Header file if using CRPE32, or load up VB and the RDC , craxdrt.dll, and use the Object Browser to see if access is there... If you are using the OCX then it's the same as crpe32.h.
    Good luck.
    Don
    PS - Time to upgrade to .NET and CR for .NET

  • VOFM Condition Formulas

    Hi,
    I need to create some condition formulas for some pricing procedure. In these formulas we need to check some conditions and based on that we need to set some flags in VBAK and VBAP tables thru' condition formulas.
    Is it possible to set flags in VBAK/VBAP?
    If you have any document based on Condition formulas, please send it to me.
    Thanks in advance.
    Regards,
    Umesh

    Hi Umesh,
    Please check the following links, which will give some good picture about VOFM.
    <a href="http://www.saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf">PDF</a>
    <a href="http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/38996#">LINK1</a>
    <a href="http://www.sap-img.com/sap-sd/quantity-based-discounts-in-bulk-quantities.htm">LINK2</a>
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/a1/78268609e811d2956400a0c9306667/frameset.htm">LINK3</a>
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • What is Condition formula/call type/routines for ECS and SECess

    HI
    what is Condition formula/call type/routines for ECS and SECess (SECONDARY HIGHER EDU CESS) to assign pricing procedure
    JFACT.

    ECS reqt is 10 and a/c key os2
    SECess reqt is 10 adn a/c key os3

  • FR Studio - Sum formula with conditional replacement not working

    Hi All,
    I'm on Hyperion FR Studio 11.1.2 and trying to build a report against our HFM information.
    I'm building a drillable income statement report that conditionally replaces any future months' information with a "-". However, when I try to use the [A:L].sum function to sum up all the months to get to a YTD value, the result comes up with nothing. The reason I'm using the conditional replace is because I don't want the periodic amount pulling through for the next month as a negative number and subsequently make the YTD sum zero.
    I also tried to change the conditional replace to "0" hoping it would recognize a number better than a dash, but the summation formula still didn't work. I'm also hesitant to use the "YTD" view to pull the YTD column because I have the report scaled to thousands. The report does not always foot when adding the rounded periodic values vs. pulling a rounded YTD value.
    Does anyone have a suggestion on how to build this report better or how to get the summation formula to work?
    Thank you!
    MR

    Might be best to open an SAP message.  But till then try the following.  It may work-
    include two formulae in your query
    Formula1 = First Day of Next week
    Formula2 = Original Promise Date
    Calculate Past due Days = Formula1 -Formula2
    You can hide both Formula1 and Formula 2 in query view. (or you can leave them open temporarily to see if they are actually getting populated). Also ensure that the dates on which the replacement path is being done are present in the query view.
    I dont know why but this worked for us.

  • Pricing condition formula on IPC

    Hi,
    Here's the issue -
    The freight for items is calculated using scale based rates for gross weight of the items.
    For example, if the gross wt. for an item is 38 pounds, the rate is determined as $18 from the scale. However, if the quantity is increased to 2, a rate of say, $30 is taken from the scale corresponding to the gross wt. which is now 76 pounds.
    However, the requirement is that the rate of $18 should be chosen and multiplied by the quantity for all quantities greater than 1. So the freight should have been $36 (18 x 2) instead.
    The freight is calculated using a pricing formula in R/3 where the gross wt. is first divided by the quantity to get the base condition. Scale based rates are taken to calculate the freight condition value and multiplied by the quantity again.
    AltCTy
      modify xkomv.
      read table xkomv with key kschl = 'ZABC'.
      xkomv-kwert = xkomv-kbetr * komp-mgame.
      modify xkomv.
      xkwert = xkomv-kwert / 1000.
    AltCBV
      if komp-mgame ne space.
        komp-brgew = komp-ntgew.
        xkwert = ( komp-brgew / komp-mgame ) * 1000.
        komp-brgew = ( komp-brgew / komp-mgame ) * 1000.
      else.
        komp-brgew = komp-ntgew.
        xkwert = ( komp-brgew / komp-mglme ) * 1000.
        komp-brgew = ( komp-brgew / komp-mglme ) * 1000.
      endif.
    The problem arises while implementing this formula in IPC. Unlike on the R/3 side, it is not possible to change the gross wt. of an item in IPC. Also, I couldn't find a way to explicitly specify the gross wt. to calculate the condition.
    The other option was to implement a BADI to change the gross wt. of the items before calculating the conditions. I tried using the CRM_PRODUCT_I_BADI where it is possible to change the gross wt. when an item is entered, however, the quantity for the line item is not available in this BADI so as to divide it to get the appropriate gross wt. for an item.
    Any help would be greatly appreciated.

    Hello,
    If this badi is executed inside order creation you can try call function CRM_ORDER_READ to get the item quantity.
    It might work if the item data is updated before this badi is called.
    Instead of pass the header like in the example below, pass the item guid to the function.
    INSERT gc_object_name-orderadm_i INTO TABLE lt_requested_objects.
      INSERT gc_object_name-schedlin INTO TABLE lt_requested_objects.
      CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid       = lt_header_guid
          iv_mode              = gc_mode-display
          it_requested_objects = lt_requested_objects
        IMPORTING
          et_orderadm_i        = lt_orderadm_i
          et_schedlin          = lt_schedlin
        EXCEPTIONS
          document_not_found   = 1
          error_occurred       = 2
          document_locked      = 3
          no_change_authority  = 4
          no_display_authority = 5
          no_change_allowed    = 6
          OTHERS               = 7.
      IF sy-subrc <> 0.
        MOVE sy-msgty TO ev_type.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 INTO ev_message.
        EXIT.
      ENDIF.
      LOOP AT lt_orderadm_i INTO ls_orderadm_i.
        MOVE ls_orderadm_i-number_int TO itens_vlr-numitem.
        MOVE ls_orderadm_i-ordered_prod TO itens_vlr-produto.
        MOVE ls_orderadm_i-description TO itens_vlr-descricao.
        READ TABLE lt_schedlin INTO ls_schedlin
            WITH KEY item_guid = ls_orderadm_i-guid.
        IF sy-subrc = 0.
          MOVE ls_schedlin-quantity TO itens_vlr-qtdprod.
        ENDIF.
        APPEND itens_vlr.
      ENDLOOP.
    Regards,
    Mauricio

  • Conditional Formula for VAT on Receipts

    Hello!
    I’m recording receipts in a table. Therefor, I’m using different columns for two different scenarii:
    E:H : input including VAT (inserting data into column F)
    I:M : input excluding VAT (inserting data into column I or/and K, as some receipts contain different VATs)
    For this example, I kept both cases on the same row, for demonstration purposes. In real life, I’d use either E:H or I:M, not both for the same row.
    So, at present, the VAT-level of 19% or 7% is selected for:
    - E:H : by the little pop-up-menu in column E, with conditional styles turning the cell to rose (7%) or blue (19%).
    - I:M : by inserting the value in either column I (for 7%) or K (for 19%).
    It feels like a dumpy workaround and I presume there is a more elegant alternative, probably based on a checkbox enabling
    - both calculation modes (inserts either “with”(F) or “without”(I or/and K) VAT)
    - inserting data in only 2 cells instead requiring 3 different columns (F, I or/and K)*
    - and reducing the actual amount of columns.
    *: One single cell would be perfect but there is still receipts containing 7%-items and also 19%-items – therefor 2 different cells are still required.
    Is there a much smarter and sleeker alternative?
    G

    Hi G,
    OK, I think (after about three attempts) I have the table structure determined.
    Column: Contents
    A: Unique ID Number for each receipt.
    B: Transaction date
    C: Month (calculated from B)
    D: Receipt number? Supplier? (does not enter into calculations?)
    E: Input column: 1+tax rate for receipts where only the tax-in total is provided.
    F: Input column: Tax-in amount for this category of receipt
    G: Net (tax-out) amount calculated from E & F
    H: Tax (Calculated from E & F)
    I: Input column: Net amount subject to 7% VAT
    J: Tax on amount in I (calculated)
    K: Input column: Net amount subject to 19% VAT
    L: Tax on amount in K (calculated)
    M: Gross (Tax-in) amount (sum of columns I-L)
    N: Cumulative Tax total to this row. (sum of J,K)
    M and N appear to ignore any amounts in column H.
    With the conditions you describe:
    ---Some receipts list only gross amounts, and must have the tax extracted from them
    ---Gross amounts in above receipts can include tax at either 7% or 19% (but at only one rate within a single receipt)
    ---Some receipts contain net amounts subject to 7% VAT AND net amounts subject to 19% VAT
    ---Each receipt is recorded on a single line
    Given those restrictions, I think you are already at the minimum number of columns. The only change needed is to include column H in the cumulative tax calculation.
    The largest design issue I see is the intermixing of input and calculation columns. Separating those would reduce the likelihood of accidently destroying one or more of the formulas with an accidentally misplaced click and keystoke.
    If the receipts could be reduced to each having items of only a single category from the list below, it is probably possible to reduce the number of input columns to 2: One for the receipt amount (which could be either a before tax, net amount or a tax included gross amount), and a second column containing a five item pop-up menu:
    " " (single space, indicating no entry yet made
    Brutto: 07%
    Brutto: 19%
    Netto:  07%
    Netto:  19%
    This would allow a set of nested IF statement to:
    Suppress the calculation if the first character is a space.
    Choose the formula to calcualte the tax based on the first character of the menu item.
    Determine the tax rate to use in the formula from the rightmost three characters of the menu item.
    And allow the Gross amount currrently in column M to be calculated from the first input column plus zero (if that was already the gross amount) or the result of the tax calculation above (if the input was a net amount).
    This could also be done with a pair of checkboxes replacing the buttom four choices on the pop-up menu, and a LEN(A)<1 test to determine if an entry has been made:
    Three formulas, each entered in row 2 and filled down from there.
    D2: =IF(LEN(A)<1,"",IF(B,A-A/IF(C,1.19,1.07),A*IF(C,0.19,0.07)))
    F2: =IF(LEN(D)<1,"",A+IF(B,0,D))
    G2: =IF(LEN(D)<1,"",SUM($D$2:D2))
    Regards,
    Barry

  • How can I programatically perform a conditional formula in "Eval Formula Node"?

    Okay, I'm stumped. I have an application where I need to evaluate a conditional programatically, and I can't do it with a Formula Node.
    Basically, my user wants to be able to enter some formula which describes conditionals, such as "if this temperature goes above X degrees or this temp goes above Y degrees, then take a reading" kind of thing. Since the conditional will be saved in a file, the formula node needs to be dynamic.
    I've used the "Eval Formula Node" before, which is built for this type of application...sort of. I tried it, but after trying in vain to get it to work properly, found out that it doesn't do boolean and conditionals in its parser, so it won't work.
    Does anyone
    have a good idea how to do this??

    Why do you even want to use the formula node at all? I don't think you "can take a reading" (i.e. interact with hardware) inside a formula node anyway.
    The formula node allows conditionals, see e.g. the example in the online help (image attached).
    You could also use a case structure with seperate formula node in each case.
    I highly prefer to skip the formula node and use wires instead. It will be more efficient and also much easier to debug. A formula node is not "in the true spirit of LabVIEW" ;-)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    FormulaNode.gif ‏2 KB

Maybe you are looking for

  • Problem in Automatic mail generation after shipment creation in vt01

    Hi All, In VT01 Automatic mail generation to  customer  whenver a new shipment is created & in from address user mail adderess is mentioned but in my requirements i have  to mention different mail id in user mail address. how can i do this? please gi

  • Local Web Sharing php issue

    I am running OS 10.6 on a macbook pro. I host copies of my websites for testing on the laptop, using php5.3.8 Darwin Kernel Version 10.8.0: My web host runs FreeBSD 6.4 and php 5.3.6 I am having an issue with extra space rendering in pages on the tes

  • Steps to  add  new fields  PYORD  in  selection fields O7F1

    Hi I  am in  O7F1  screen. But  I  do not see any  create  or  add  options.  How  can  I  add the  field   PYORD to it. Thanks kamala

  • Help installing Photoshop

    Errors encountered during installation.  (U44M1P7)

  • RAW photos pixelated in PSE 9 raw converter program.

    I just bought a new Nikon D7000 and shot family portraits this weekend. I was shooting in RAW. Upon loading my images into the PSE 9 RAW Converter they are badly pixelated. What went wrong? My jpeg photos look better and that's just plain wrong. I he