Formula in Report

Hi,
I have following fields in the reports Vendor, Net Due Date, Clearing Date and Credit Amount. Cube being used is 0FIAP_C03. I want to display the difference in Days (Net Due Date - Clearing Date) for each Vendor Payment made. How can this be done.
Thank you,
sam

Hi,
If you donot want to ready to change the ODS ,still you have others way to do it.
1) Try to Create A Global calculate KF with  Aggregation = Before Aggregation. But still you need 2 formula varibles in the CKF. But Formula variables will be evaluated after OLAP Aggregates the data. So I am not sure whther you will get correct results here.
2) Create A base query with document number ,Date fields and Difference Between dates.
Use this query to upload a Transactional ODS by using APD.
And create a Info set on this ODs.
And tehn finally you can create your required Query on infoset with out any calculations in teh query.
With rgds ,
Anil Kumar Sharma .P
This is one of limitaiton of Bex (this calculation with a single query),what I want to see when will the SAP get rid of it.
Message was edited by:
        Anil Kumar Sharma

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.

  • Adding formula in report writer

    Hi Experts,
    I am trying to build a formula in report writer
    In one the hierarchy report   I need I have 4 columns formula should be
       A-B-C =X but values should populate in the X column when the A column value is greater than the B or C, or B and C 
    If add the simple formula A-B-C= X it will show wrong values if B values or C values or B+C values is greater than the A
    Is there any possibilities creating a conditions in the table TKCKO
    Please help me this issue.
    Thanks and Regards,
    Naren

    Hi,
    In the formula make a condition "IF (A > B) OR (A > C) THEN A-B-C". (if I got your logic right)
    Regards,
    Eli

  • Constant Checking in Row Formula for Report Writer

    Dear All,
    Please advice what is the format to check a constant (string) in the row formula for Report Writer.
    Let's say if I want to check the cost center group -->
    If '&1KOSET' = 'ABC' then .... else......
    So, what is the format for ABC? Because if i put 'ABC' it will be treated as cell. But if i do not put the ' ', then i get system error.
    Thanks a million for your advice.
    Best Regards,
    CW

    Hi John Lee,
    The logic that you would want , can be implemented through a column set. That is, as per your logic written in the set, your column values differ.
    First in your set, keep your account number in the first set line. ie. 5000000.
    Then you enter the following formula in the second line of a set defined for a report column:
    IF u2018001u2019 > 5000000 THEN u2018001u2019 ELSE 0
    If the value in the first column (set line 001) is greater than 5000000, then this value displays in the second column; if the value in the first column is less than 1000, the value 0 displays in the second column.
    Revert if you need any additional help.
    Regards,
    Subin John

  • 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

  • Using Formulas in Reports

    Is there any way to create your own formula in Reporting instead of using the mathematical functions in the function drop down bar?

    What Tool are you using
    Interactive Reporting
    Financial Reporting
    WebAnalysis
    Wayne Van Sluys
    TopDown Consulting

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

  • How to get unique Id's along with using a formula in Report

    Hi,
    I have data in the following format:
    PO no  Subfield Created date Changed date
    123              A               01/01/2011        20/01/2011
    123              B               01/01/2011        20/01/2011
    124              A               01/01/2011        25/01/2011
    124              B              01/01/2011        25/01/2011
    I want to get  unique number of PO's which has difference(changed date - created date)  greater thn 20days and less thn 20days.
    So I want to get in report:
    PO no >20    <20
    123             ____        1
    124            1       _____
    I know to get unique PO number and how to calculate two dates difference in days by using formula variable replacement path.
    But how to incorporate these two functions.
    Edited by: SAP Consultant on Aug 14, 2011 8:34 AM
    Edited by: SAP Consultant on Aug 14, 2011 8:35 AM

    Hi,
    This link will help you:----
    Calculate difference of days between two dates
    Regards,
    Suman

  • 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

  • Cell formulas stop reporting correct values. Numbers 3.5.

    10.10
    Numbers 3.5
    In the same table:
    I have a cell (say #1) with a number value entered say 10.40.
    I have another cell (say cell #2) that is set to equal that cell's value.
    This works and cell 2 reports the correct value of cell 1.
    But once every 10 or so restarts cell 2 stops reporting cell 1's value correctly.
    It reports the previous value after I change Cell 1's value.
    Sometimes deleting cell 2's reference and re-entering it works.
    Other times it just continues to report cell 1's previous value.
    Getting cell 2 to report the current value of cell 1 can be a chore.
    Other cells on the same sheet with more complicated formulas also stop reporting the correct values.
    Many references are for cells in other tables on the same sheet.
    I can spend 30-45 minutes correcting the mess every 10 or so restarts.
    Anyone else have this issue?
    Any suggestions welcome.
    Thanks   ...   Ken

    Nothing like that here.  Have you tried deleting Numbers 3.5 (go to LaunchPad, hold down the mouse button until the icons quiver, and click the x by the Numbers icon) and re-downloading from the Mac App Store?  Also have you tried shutting down and restarting your Mac?
    SG

  • Formula for report to run with data of only current day

    I need a report that whenever refreshed it run with data for only the current day. It is for knowing how many checks were performed from the start of the current day to the time the report runs. Iu2019ve tried to use the select expert but I guess I need to use a formula in it.
    Thanks,
    Andreia

    Andreia,
    I think you've posted this into the wrong forum!
    -Anil

  • 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

  • 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

  • Formula - Crystal Report

    Hello all,
    I have report a for Sales by Sales Employees. The Sales Column is less VAT and I have used the formula (OINV.DocTotal/1.16) to get sales figure. NB. VAT = 16%
    However, I want to come up with a conditional formula to exclude invoices with zero rated items from being divided by 1.16. The logic should be as below:
    IF INV1.VATGROUP='O2' THEN OINV.DOCTOTAL
    ELSE IF
    INV1.VATGROUP='01' THEN OINV.DOCTOTAL/1.16
    Kindly assist me to achieve the above using the correct Crystal syntax. Thank you
    Regards,
    Henry

    Hi Henry
    The total vat in the document is OINV.VatSum.
    Rather than doing the division you could use OINV.DocTotal - OINV.VatSum
    Hope this helps
    Rob

  • Selection formula breaks report

    Hi all,
    I have a reporrt which basically outputs this...
    Fred Smith 0
    Tom Jones 3
    John Doe 2
    Mary Thing 0
    Peter Cupcake 1
    Now I only want to see entries that are flagged in the database with 0 so I'm trying to remove the others using this in the selection formula:
    not ({RMP.NO} in ["1", "2", u201C3u201D])
    But in Crystal this returns a blank report.
    Any ideas on what is going on here?
    Bill

    have you tried
    ({RMP.NO} ="0")
    Or Not ({RMP.NO}) in ["1", "2", "3"])
    maybe you made a mistake in ""? in the array
    Regards
    Jehanzeb

Maybe you are looking for

  • Help: Windows freezes and iPod empty

    Last night (UK) I posted a message considering the problem that My Computer, iTunes and iPod Updater don't recognise my iPod ANYMORE (so it did before). Now, even worse, when I plug in my iPod Windows XP freezes. My iPod cannot be properly disconnect

  • Framebuffer not able to use my monitor's full resolution

    My monitor supports up to 1440x900, and that's what I use with X.  But the most framebuffer seems to support is 1024x768 (that's the most listed when I boot with the option vga=ask, and run vbetest).  Is there anyway I can make framebuffer use the fu

  • QTPro 7 won't open image sequence?

    I recently bought a new ASUS computer with Windows 7 and added QTPro7 to create .mov's from jpg image sequences. I've done it numerous times on my older HP6226 with Windows Vista. It works sometimes, but not others and I can't see why...i.e. I tell i

  • VERY IMPORTANT FOR LOOP QUESTION

    public class ForTest2 {      public static void main(String args[]) {           int i=0, j = 0;           for (j=0; j < 10; j++) {                i++;                System.out.println("i is: " + i);                System.out.println("j is: " + j);  

  • Outlook Contacts Sync - Partial SOLUTION to error (-50)

    Im using Outlook 2003. Was getting the error (-50) while trying to sync contacts to my iPod. I resolved it by: - Go to the Outlook Contacts View - Go to File -> Folder -> Sharing -> Outlook Address Book - Click the check box for "Show this folders as