Parameter anad calculation problem

HI!
I have one problem. I have reports, that are used to compare YTD facts.
In Desktop, I can see results OK, even when I group by 'All' (like for REGION which I have in page items in report).
But in PLUS, I don't see results for ''share_i'', when I group by.
Is this a bug in PLUS, will migration to higher version solve my problem?
The example query from video tutorial is like this one:
SELECT
O100026.REGION, O100024.PRODUCT_TYPE,
DECODE(( SUM(DECODE(TO_CHAR(O100025.TRANS_DATE,'yyyy'),:last_year,O100025.SALES,0)) ),0,0,( SUM(DECODE(TO_CHAR(O100025.TRANS_DATE,'yyyy'),:cur_year,O100025.SALES,0)) )/( SUM(DECODE(TO_CHAR(O100025.TRANS_DATE,'yyyy'),:last_year,O100025.SALES,0)) )) share_i,
SUM(DECODE(TO_CHAR(O100025.TRANS_DATE,'yyyy'),:cur_year,O100025.SALES,0)) sales_new,
SUM(DECODE(TO_CHAR(O100025.TRANS_DATE,'yyyy'),:last_year,O100025.SALES,0)) sales_old
FROM VIDEO5.TIMES O100022, VIDEO5.SALES_FACT O100025, VIDEO5.STORE O100026, VIDEO5.PRODUCT O100024
WHERE ( ( O100022.TIME_KEY = O100025.TIME_KEY ) AND ( O100026.STORE_KEY = O100025.STORE_KEY ) )
GROUP BY O100026.REGION,O100024.PRODUCT_TYPE
As you can see, I use DECODE to get facts for 2 different years and then I simply divide these two year_facts to get share.
Oracle Application Server Discoverer 10g (9.0.4.00.00)
Oracle Application Server Discoverer Plus 10g (9.0.4.45.07)
Discoverer Model - 9.0.4.45.07
Discoverer Server - 9.0.4.45.07
End User Layer - 5.0.2.0.0.0
End User Layer Library - 9.0.4.45.07
Thank you,
Gor

HI!
I have one problem. I have reports, that are used to compare YTD facts.
In Desktop, I can see results OK, even when I group by 'All' (like for REGION which I have in page items in report).
But in PLUS, I don't see results for ''share_i'', when I group by.
Is this a bug in PLUS, will migration to higher version solve my problem?
The example query from video tutorial is like this one:
SELECT
O100026.REGION, O100024.PRODUCT_TYPE,
DECODE(( SUM(DECODE(TO_CHAR(O100025.TRANS_DATE,'yyyy'),:last_year,O100025.SALES,0)) ),0,0,( SUM(DECODE(TO_CHAR(O100025.TRANS_DATE,'yyyy'),:cur_year,O100025.SALES,0)) )/( SUM(DECODE(TO_CHAR(O100025.TRANS_DATE,'yyyy'),:last_year,O100025.SALES,0)) )) share_i,
SUM(DECODE(TO_CHAR(O100025.TRANS_DATE,'yyyy'),:cur_year,O100025.SALES,0)) sales_new,
SUM(DECODE(TO_CHAR(O100025.TRANS_DATE,'yyyy'),:last_year,O100025.SALES,0)) sales_old
FROM VIDEO5.TIMES O100022, VIDEO5.SALES_FACT O100025, VIDEO5.STORE O100026, VIDEO5.PRODUCT O100024
WHERE ( ( O100022.TIME_KEY = O100025.TIME_KEY ) AND ( O100026.STORE_KEY = O100025.STORE_KEY ) )
GROUP BY O100026.REGION,O100024.PRODUCT_TYPE
As you can see, I use DECODE to get facts for 2 different years and then I simply divide these two year_facts to get share.
Oracle Application Server Discoverer 10g (9.0.4.00.00)
Oracle Application Server Discoverer Plus 10g (9.0.4.45.07)
Discoverer Model - 9.0.4.45.07
Discoverer Server - 9.0.4.45.07
End User Layer - 5.0.2.0.0.0
End User Layer Library - 9.0.4.45.07
Thank you,
Gor

Similar Messages

  • Income Tax Calculation problem: Urgent Help Needed

    Dear Gurus,
    I am facing a unique problem. Our client has two incentives –
    1) Product Incentive
    2) Sales Incentive
    Every month incentive figures get changed. These two are Monthly Regular Income (Cumulations Class 24) i.e. included in annual tax calculation.
    Now for tax calculation, my client wants "Actual Earning" and "Estimated Earning for the rest of the year" to be different. But Income tax calculation in SAP (for the month of April 2007) takes Actual Earning and multiplied it by 12( i.e. 11+1) to calculate Estimated Earning. But my client wants this Estimated Earning to be different. 
    Now please let me know is this possible in SAP system and how to calculate this?
    Your help will be highly appreciated
    Waiting for an early reply.
    Thanking You,
    With Best Regards,
    Pratik

    Hi,
    I am not understand your problem give your mb then i talk to you
    mhpo

  • Sale Analysis Profit Calculation problem

    Hello
    I create sale Invoice having Qty 2 unit price 150 & tax code is VAT@4% then Base amount is 300 & Total Bill
    amt is 312.
    My purchase price for the same item is INR 100 so my Gross profit show on Bill is INR 100 & profit percent
    is 33.33%
    Customer will debit with INR 312
    But when Create Rate difference bill ie credit memo of INR 20 per uint ie Qty 2 Tax VAT@4%  (maintain
    drop ship warehouse in row level to can't reduce the qty)
    Customer will debit -41.60
    So Customer Debit balance is 270.40
    But when I run Sale analysis report the result shows that Gross profit INR 260 & Gross Profit % is 100%
    But actually i calculated manually the real Profit is INR 60 & Profit % should be 23.08 should be show in sale
    analysis
    So what i do to see the same result

    Hi
    There is some problem in sales analysis report in some of the sap versions. Refer the following documents.
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3030303130313637303426]
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3135383735363826]
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3136363835363426]
    Regards,
    Sudhir B.

  • [8i] Date/Time calculation problem...

    So, I am currently facing a situation where I need to calculate the total hours a workstation is in use for each day in a particular time period. I have a table with the log of each time each workstation is used. The problem is, a workstation can be used for any amount of time, starting on any day and ending on any day. This means that a particular entry in the log can span multiple days. I'm not sure how to split the difference between the end date/time of an entry and the start date/time of the entry over multiple days.
    Here's a sample table and some sample data for what I'm trying to do:
    -- Note: in reality, this table contains more columns
    CREATE TABLE     my_hrs
    (     record_id     NUMBER     NOT NULL
    ,     sdatetime     DATE     
    ,     edatetime     DATE     
    ,     workstation     VARCHAR2(4)
         CONSTRAINT my_hrs_pk PRIMARY KEY (record_id)
    -- Note: sdatetime, edatetime, and workstation CAN all be NULL, though I won't provide
    -- any sample data for these situations since I want to ignore them in my results
    -- Additionally, there are hundreds of workstations, but I'm only using 2 to simplify the sample data
    INSERT INTO     my_hrs
    VALUES (12345,TO_DATE('03/01/2010 08:00','mm/dd/yyyy HH24:MI'),TO_DATE('03/01/2010 13:35','mm/dd/yyyy HH24:MI'),'123A');
    INSERT INTO     my_hrs
    VALUES (13427,TO_DATE('03/01/2010 08:10','mm/dd/yyyy HH24:MI'),TO_DATE('03/01/2010 10:02','mm/dd/yyyy HH24:MI'),'321B');
    INSERT INTO     my_hrs
    VALUES (21543,TO_DATE('03/01/2010 14:07','mm/dd/yyyy HH24:MI'),TO_DATE('03/01/2010 16:30','mm/dd/yyyy HH24:MI'),'123A');
    INSERT INTO     my_hrs
    VALUES (22412,TO_DATE('03/01/2010 10:15','mm/dd/yyyy HH24:MI'),TO_DATE('03/01/2010 15:30','mm/dd/yyyy HH24:MI'),'321B');
    INSERT INTO     my_hrs
    VALUES (11976,TO_DATE('03/01/2010 17:00','mm/dd/yyyy HH24:MI'),TO_DATE('03/02/2010 02:30','mm/dd/yyyy HH24:MI'),'123A');
    INSERT INTO     my_hrs
    VALUES (34215,TO_DATE('03/01/2010 22:10','mm/dd/yyyy HH24:MI'),TO_DATE('03/02/2010 04:30','mm/dd/yyyy HH24:MI'),'321B');
    INSERT INTO     my_hrs
    VALUES (24789,TO_DATE('03/02/2010 13:00','mm/dd/yyyy HH24:MI'),TO_DATE('03/05/2010 02:30','mm/dd/yyyy HH24:MI'),'123A');
    INSERT INTO     my_hrs
    VALUES (31542,TO_DATE('03/02/2010 21:30','mm/dd/yyyy HH24:MI'),TO_DATE('03/04/2010 10:30','mm/dd/yyyy HH24:MI'),'321B');Based on my sample data above, these are the results I want to see:
    WORKSTATION     DATE          HRS_IN_USE
    123A          3/1/2010     14.96667
    321B          3/1/2010     8.95000
    123A          3/2/2010     13.50000
    321B          3/2/2010     7.00000
    123A          3/3/2010     24.00000
    321B          3/3/2010     24.00000
    123A          3/4/2010     24.00000
    321B          3/4/2010     10.50000
    123A          3/5/2010     2.50000
    321B          3/5/2010     0.00000Is this possible? (Please note, if the workstation was not used on a particular day, I want it to show 0 hours for that workstation for that day). Another thing to note is that I'm working with Oracle 8i.
    Thanks in advance for the help!

    Thanks, Frank, your explanation helped. My main problem was just that I couldn't picture what that line of the query was doing, even working from the inside out. I learn better through visual and hands-on methods, so to really understand, I had to look at the cross-join of a and h and go line by line. (In case there's anybody who looks at this post in the future and learns like I do, I've posted that data below).
    This definitely solves my problem!
    >
    By the way, this query is full of things that could be done better in later versions of Oracle. Generating table a is just one of them. Starting in Oracle 9, you can do a CONNECT BY query on dual to generate exacly how many rows you need. You never have to worry about an upper bound, and it's much faster than using ROWNUM. From time to time you might gently remind the people who decide these things that you're using a very old, unsupported version of Oracle, and that everyone could be more productive if you upgraded.
    >
    I could go on and on on this topic.... we have tried and continue to try to convince the powers that be to pay for the upgrades... if it were just Oracle that needed to be upgraded, we might actually have a chance at succeeding. As it is, ...ha.
    TABLE A (FROM SUB-QUERY)
    a_date          next_date
    3/1/2010     3/2/2010
    3/2/2010     3/3/2010
    3/3/2010     3/4/2010
    3/4/2010     3/5/2010
    3/5/2010     3/6/2010
    TABLE H (MY_HRS)          
    record_id     sdatetime     edatetime     workstation
    10000          2/28/2010 18:00     3/1/2010 5:30     123A
    12345          3/1/2010 8:00     3/1/2010 13:35     123A
    13427          3/1/2010 8:10     3/1/2010 10:02     321B
    21543          3/1/2010 14:07     3/1/2010 16:30     123A
    22412          3/1/2010 10:15     3/1/2010 15:30     321B
    11976          3/1/2010 17:00     3/2/2010 2:30     123A
    34215          3/1/2010 22:10     3/2/2010 4:30     321B
    24789          3/2/2010 13:00     3/5/2010 2:30     123A
    31542          3/2/2010 21:30     3/4/2010 10:30     321B
    CROSS-JOIN TABLE A WITH TABLE H                                             (and calculations done by the query below)     
    record_id     sdatetime     edatetime     workstation     a_date          next_date     LEAST (h.edatetime, a.next_date)     GREATEST (h.sdatetime, a.a_date)     GREATEST(TO_NUMBER(L-G),0)
    10000          2/28/2010 18:00     3/1/2010 5:30     123A          3/1/2010     3/2/2010     3/1/2010 5:30                    3/1/2010 0:00                    0.229166667
    10000          2/28/2010 18:00     3/1/2010 5:30     123A          3/2/2010     3/3/2010     3/1/2010 5:30                    3/2/2010 0:00                    0.00000
    10000          2/28/2010 18:00     3/1/2010 5:30     123A          3/3/2010     3/4/2010     3/1/2010 5:30                    3/3/2010 0:00                    0.00000
    10000          2/28/2010 18:00     3/1/2010 5:30     123A          3/4/2010     3/5/2010     3/1/2010 5:30                    3/4/2010 0:00                    0.00000
    10000          2/28/2010 18:00     3/1/2010 5:30     123A          3/5/2010     3/6/2010     3/1/2010 5:30                    3/5/2010 0:00                    0.00000
    12345          3/1/2010 8:00     3/1/2010 13:35     123A          3/1/2010     3/2/2010     3/1/2010 13:35                    3/1/2010 8:00                    0.23264
    12345          3/1/2010 8:00     3/1/2010 13:35     123A          3/2/2010     3/3/2010     3/1/2010 13:35                    3/2/2010 0:00                    0.00000
    12345          3/1/2010 8:00     3/1/2010 13:35     123A          3/3/2010     3/4/2010     3/1/2010 13:35                    3/3/2010 0:00                    0.00000
    12345          3/1/2010 8:00     3/1/2010 13:35     123A          3/4/2010     3/5/2010     3/1/2010 13:35                    3/4/2010 0:00                    0.00000
    12345          3/1/2010 8:00     3/1/2010 13:35     123A          3/5/2010     3/6/2010     3/1/2010 13:35                    3/5/2010 0:00                    0.00000
    13427          3/1/2010 8:10     3/1/2010 10:02     321B          3/1/2010     3/2/2010     3/1/2010 10:02                    3/1/2010 8:10                    0.07778
    13427          3/1/2010 8:10     3/1/2010 10:02     321B          3/2/2010     3/3/2010     3/1/2010 10:02                    3/2/2010 0:00                    0.00000
    13427          3/1/2010 8:10     3/1/2010 10:02     321B          3/3/2010     3/4/2010     3/1/2010 10:02                    3/3/2010 0:00                    0.00000
    13427          3/1/2010 8:10     3/1/2010 10:02     321B          3/4/2010     3/5/2010     3/1/2010 10:02                    3/4/2010 0:00                    0.00000
    13427          3/1/2010 8:10     3/1/2010 10:02     321B          3/5/2010     3/6/2010     3/1/2010 10:02                    3/5/2010 0:00                    0.00000
    21543          3/1/2010 14:07     3/1/2010 16:30     123A          3/1/2010     3/2/2010     3/1/2010 16:30                    3/1/2010 14:07                    0.09931
    21543          3/1/2010 14:07     3/1/2010 16:30     123A          3/2/2010     3/3/2010     3/1/2010 16:30                    3/2/2010 0:00                    0.00000
    21543          3/1/2010 14:07     3/1/2010 16:30     123A          3/3/2010     3/4/2010     3/1/2010 16:30                    3/3/2010 0:00                    0.00000
    21543          3/1/2010 14:07     3/1/2010 16:30     123A          3/4/2010     3/5/2010     3/1/2010 16:30                    3/4/2010 0:00                    0.00000
    21543          3/1/2010 14:07     3/1/2010 16:30     123A          3/5/2010     3/6/2010     3/1/2010 16:30                    3/5/2010 0:00                    0.00000
    22412          3/1/2010 10:15     3/1/2010 15:30     321B          3/1/2010     3/2/2010     3/1/2010 15:30                    3/1/2010 10:15                    0.21875
    22412          3/1/2010 10:15     3/1/2010 15:30     321B          3/2/2010     3/3/2010     3/1/2010 15:30                    3/2/2010 0:00                    0.00000
    22412          3/1/2010 10:15     3/1/2010 15:30     321B          3/3/2010     3/4/2010     3/1/2010 15:30                    3/3/2010 0:00                    0.00000
    22412          3/1/2010 10:15     3/1/2010 15:30     321B          3/4/2010     3/5/2010     3/1/2010 15:30                    3/4/2010 0:00                    0.00000
    22412          3/1/2010 10:15     3/1/2010 15:30     321B          3/5/2010     3/6/2010     3/1/2010 15:30                    3/5/2010 0:00                    0.00000
    11976          3/1/2010 17:00     3/2/2010 2:30     123A          3/1/2010     3/2/2010     3/2/2010 0:00                    3/1/2010 17:00                    0.29167
    11976          3/1/2010 17:00     3/2/2010 2:30     123A          3/2/2010     3/3/2010     3/2/2010 2:30                    3/2/2010 0:00                    0.10417
    11976          3/1/2010 17:00     3/2/2010 2:30     123A          3/3/2010     3/4/2010     3/2/2010 2:30                    3/3/2010 0:00                    0.00000
    11976          3/1/2010 17:00     3/2/2010 2:30     123A          3/4/2010     3/5/2010     3/2/2010 2:30                    3/4/2010 0:00                    0.00000
    11976          3/1/2010 17:00     3/2/2010 2:30     123A          3/5/2010     3/6/2010     3/2/2010 2:30                    3/5/2010 0:00                    0.00000
    34215          3/1/2010 22:10     3/2/2010 4:30     321B          3/1/2010     3/2/2010     3/2/2010 0:00                    3/1/2010 22:10                    0.07639
    34215          3/1/2010 22:10     3/2/2010 4:30     321B          3/2/2010     3/3/2010     3/2/2010 4:30                    3/2/2010 0:00                    0.18750
    34215          3/1/2010 22:10     3/2/2010 4:30     321B          3/3/2010     3/4/2010     3/2/2010 4:30                    3/3/2010 0:00                    0.00000
    34215          3/1/2010 22:10     3/2/2010 4:30     321B          3/4/2010     3/5/2010     3/2/2010 4:30                    3/4/2010 0:00                    0.00000
    34215          3/1/2010 22:10     3/2/2010 4:30     321B          3/5/2010     3/6/2010     3/2/2010 4:30                    3/5/2010 0:00                    0.00000
    24789          3/2/2010 13:00     3/5/2010 2:30     123A          3/1/2010     3/2/2010     3/2/2010 0:00                    3/2/2010 13:00                    0.00000
    24789          3/2/2010 13:00     3/5/2010 2:30     123A          3/2/2010     3/3/2010     3/3/2010 0:00                    3/2/2010 13:00                    0.45833
    24789          3/2/2010 13:00     3/5/2010 2:30     123A          3/3/2010     3/4/2010     3/4/2010 0:00                    3/3/2010 0:00                    1.00000
    24789          3/2/2010 13:00     3/5/2010 2:30     123A          3/4/2010     3/5/2010     3/5/2010 0:00                    3/4/2010 0:00                    1.00000
    24789          3/2/2010 13:00     3/5/2010 2:30     123A          3/5/2010     3/6/2010     3/5/2010 2:30                    3/5/2010 0:00                    0.10417
    31542          3/2/2010 21:30     3/4/2010 10:30     321B          3/1/2010     3/2/2010     3/2/2010 0:00                    3/2/2010 21:30                    0.00000
    31542          3/2/2010 21:30     3/4/2010 10:30     321B          3/2/2010     3/3/2010     3/3/2010 0:00                    3/2/2010 21:30                    0.10417
    31542          3/2/2010 21:30     3/4/2010 10:30     321B          3/3/2010     3/4/2010     3/4/2010 0:00                    3/3/2010 0:00                    1.00000
    31542          3/2/2010 21:30     3/4/2010 10:30     321B          3/4/2010     3/5/2010     3/4/2010 10:30                    3/4/2010 0:00                    0.43750
    31542          3/2/2010 21:30     3/4/2010 10:30     321B          3/5/2010     3/6/2010     3/4/2010 10:30                    3/5/2010 0:00                    0.00000
    (Then, the query sums up the last column in the "table" above, grouped by a_date and workstation).

  • Alternative sales commission calculation problem

    hi sir,
    I am a junior consultant trying to solve a problem for my Senior, the question goes as follows:
    We are trying to impute sales commissions to sales rep as a discount for every sale, in which for every sale a determined amount is imputed to the sales rep as a commission.
    the problem arises when the product is returned and customer asks for a refund. Then the commission should be refunded aswell. Could you please throw some light to wether we should clear that invoice the same month or the next one as a negative pendent discount, if so, how is the negative imputation applied?
    thanks a lot in advance,
    HF

    Bobsterslc wrote:
    Here is a screenshot of a piece of what I'm working on.
    Hi Bob,
    Here's what your screenshot looks like when embedded in a post, using the HTML code that Photobucket provides (third item in the list of codes provided).
    In your original post you said:
    I have a table that calculates sales commissions for a number of people and includes an overriding commission for the sales managers. I need to cap the sales commission at a fixed percentage, say 25%, for the sales people.
    I'm not sure what you mean by "I need to cap the sales commission at a fixed percentage."
    The first question that comes to mind is "25% of what?"
    Do you mean that the commission is not to exceed 25% of Total earnings?
    If so, your formula for B5 (the first cell where commission is calculated) would be:
    =MIN(formula1,B2/3)
    Where formula1 is whatever formula is used to calculate the commission when it is less than the cap, and B2 contains the salary/wages which must constitute at least 75% of the total compensation under this interpretation.
    Do you mean the commission rate is on a sliding scale that rises with increased sales, but does not exceed 25%?
    If so, you need to specify the rules that control the rate. Does it rise in steps? Does the 'new' rate at each step apply to total sales, or only to sales above that step? Are the steps the same size for everyone, directly related to the individual goals, or set by some other criteria?
    There's not enough information available fom your table to determine a pattern. For the first three columns, person B's commission is 12% of sales, person C's is under 4% and person D's is 30% of sales.
    For a more detailed response, we'll ned a more detailed specification of the question.
    Regards,
    Barry

  • Date Difference Calculation problem

    I am creating a form which should calculate the number of days between two calender dat
    es using the Date2Sum expression but my result cell gives me
    zeo despite setting the locale and the calculation correcttly. Where could
    my problem be?
    Darlington Sakwa

    Validate the date patterns on the date fields match the date patterns used in Date2Num. For example, the attached has a start date with the display date pattern date{YYYY-MM-DD} and that matches the date pattern in my Date2Num function call.
    // form1.page1.startDateNum::calculate - (FormCalc, client)
    if (form1.page1.startDate.isNull) then
      $.rawValue = ""
    else
      $.rawValue = Date2Num(form1.page1.startDate.rawValue,"YYYY-MM-DD")
    endif
    Steve

  • Different parameter usage causes problem

    Hi there,
    I am creating a report based on a sql query. Therefore I have to parameters to filter the query i.e. "SELECT * FROM Person WHERE Birthday >= {?StartDate} AND BirthDay <= {?EndDate}". Both parameters are defined as Date.
    This works so far. Then in the Field-Explorer I define a third parameter named "GroupName" which is dynamic and should be filled from the column "Groupname" of the resultset. This parameter is used to identify a leading group which is then separated from all the others.
    My problem now is that I am asked twice to input parameters. First those two I defined in the query using the database wizzard (StartDate, EndDate). Then I am asked a second time to input all the three parameters (StartDate, EndDate, GroupName) where the two first parameters where prefilled with what I entered before. But the list of groupname is not filled so I can not select one or multiple values.
    My questions are:
    - Why am I asked twice and not once including all three parameters
    - Why is group not filled in the parameter mask
    - Is this behavior by design and if yes how can I workaround
    This concerns Crystal Report 11 and 12.
    Thanks for every hint.
    Kind regards
    Patrick
    Edited by: Patrick Jox on Sep 18, 2008 9:06 AM

    Hi Patrick,
    I think in crystal if you create a parameter in command and then if you create a parameter from report then it will prompt twice. The only way is to create all the parameters in command or in report. Why you want to create a groupname parameter in report level but not in command?
    Regards,
    Raghavendra.G

  • Y-intercept calculation problem: "A2:A7" isn't a valid reference

    This is actually a problem I have with many calculations in Numbers but I will use the following as an example:
    I am trying to calculate the y-intercept and slope for a set of data. Table 1 contains the raw data with each data point in triplicate. In Table 2, column 1 is the ordinate value and column 2 is the abscissa value, which is the average of the triplicates. I would like to place the calculation for the y-intercept in column 3 and the slope in column 4, but always get the error, "A2:A7" isn't a valid reference" for a result. Instead, I have to have a third table for just the y-int and slope. Why isn't A2:A7 a valid reference?

    No, I didn't; I only had a 5 rows but I made it 7 rows - so it was a 4 column x 7 row table - and then the formulas worked. The odd thing is that there was still only data in the first 5 rows and, after I set up the formulas, I reduced the table back to 4x7 and the formulas remained unchanged. Thanks for the help.

  • REP-52007 Error and Web Parameter Form Format Problems

    I am attemting to get Oracle 9i reports working. I created a super simple report just for test purposes. I am using the following URL to call it directly from the browser:
    http://myserver.com:8008/reports/rwservlet?server=repapp&report=jtest_rep.rdf&userid=myuser/mypass@mydb&DESTYPE=cache&DESFORMAT=pdf&PARAMFORM=YES
    When it generates the parameter form page, the formatting of the section that has the paramters is terrible. Looking at the HTML generated, it is creating a large <table> that places the elements outside of the viewing area. I do not know how why it is doing this or how to fix it.
    If I actually do find the field and enter in the prameter and hit submit, I then get:
    REP-52007: Parameter form format error.
    java.lang.IllegalStateException: Response is already committed!     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse.setContentType(EvermindHttpServletResponse.java:973)     at javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:27)     at oracle.reports.rwclient.RWReportRunner.setContentType(RWReportRunner.java:261)     at oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:135)     at oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:95)     at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1312)     at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1129)     at oracle.reports.rwclient.RWClient.doPost(RWClient.java:318)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    If I set paramform=no and pass in the parmater in the url string, then it skips the paramter form and runs fine accepting the input.
    Any idea what the solution is for these two errors?

    After more searching, I found out that the problem for both is an Oracle Bug posted on mealink. It has to do with using capital letters for the oracle default parameters. Once you make it lower case, it works.
    ex:
    http://myserver.com:8008/reports/rwservlet?server=repapp&report=myreport.rdf&userid=myid/mypass@mydb&destype=cache&desformat=pdf&paramform=yes

  • Calculation Problem help solution needed quickly

    I have created an adobe acrobat registration form in Adobe LiveCycle.  I've worked on this all day and needed to distribute today.  I can not find out what the problem with my code is.  I need a discerning eye right away if possible.  The calculated fields are on page two.  The right column TotTour, TotMDin, TotWDin & then TotDue
    Nikki

    Paul the problem was solved by someone else.  When I posted another post.  This is the answer I got, which worked.
    Nothing wrong with your code.
    Simply go to the Row1[0] and uncheck the "Repeat Row for Each Data Item" option
    Nikki

  • Plan Cost calculation problem

    Hi friends,
    I am facing problem in Plan costing part. When I run KOC4, & see Material Overheads, activity cost, it shows 0 agst Paln, but calculated agst Actual Cost.
    Is there any option to run for all plan order recalculation of costs in one go. If yes, what & how????
    regards
    Vikas

    Hi Amit,
    Thanks for your reply. I confirmed with my basis team that this note is already implemented in system but still we are facing this error.
    If any one help in this regard that will be really appreciable.
    Regards,
    AVI

  • Percentage Variance calculation problem

    Hi experts,
    I have report with following scenarios:
    <h3>Account Name---ActualBudget---Variance --Variance Percentage </h3>
    Account Level 1______3400_______5200____-1800______________X
    -Account Level 2______2200_______4200_____-2000______________XX
    --Account Level 3______1000_______2000_____-1000_______________-50
    --Account Level 3______1200_______2200_____-1000_______________-45.45454545
    -Account Level 2______1200_______1000_____200________________XX
    This is how the report is now displayed. I have done a Hierarchical Grouping of database field (Field Account). Here the Actual and Budget columsn are the summary fields with "sum" and the Summarize across hierarchy checked.. The formula for Variance Percentage is
    if Budget =0 then 0
    else  ((Variance/Budget)*100)
    Now, all the output is displayed in Group Header. The problem here is the calculation of Variance Percentage of Levels above Level3 i.e. Level 2 and Level 1. Level 2 percentage should be the calculation of (Variance / Budget ) *100 of that Level only i.e. Level2 and same should be the case for Level 1. When I apply the summary field on this column, the percentage calculation is all wrong as the Level 2 will be sum of Level 2 variance percentages which is not correct output.
    I need a solution to this quickly.. if some more clarification is required please reply to this post..
    Thanks

    Don't use a summarized field. Instead create a formula field
    Right Click on the formula field which will be there in your Field Explorer --> Select New --> Provide the name for your formula field in the text box shown
    and put the condition there like
    if {test.Budget} =0 then 0
    else  (({test.Variance}/{test.Budget})*100)
    Once formula field is created place in the desired location where you need to show the Variance Percentage.
    Hope this helps!

  • Calculation problem

    how can i make a function that takes a String parameter (math expression) and return the calculated result.
    function calc(str_exp in varchar2) return number is
    Result number;
    begin
    *// logic here*
    return(Result);
    end
    if i call it as r = calc(' 2+3*2') then it should return 8
    Edited by: Aasem on Feb 25, 2009 10:12 AM

    Hi ,
    I implemented like this ,
    I created a function,
    create or replace function cal (strin in varchar2) return number is
    resul number;
    begin
    resul := to_number(strin);
    return (resul);
    end;
    then I called the executed the following line Sql developer,
    declare
    resul number;
    begin
    resul:= cal(to_char(2+(3+2)+(8-2)+(3*2)));
    dbms_output.put_line('Result'||'----'||resul);
    end;
    and it gave me 19 as a result.
    Thanks,
    Pavan.

  • Can rdisp/max_alt_mode profile parameter cause memory problem?

    After we increased the parameter to 8 from the default 6 because of the customer asking, we need to reset it to the default and restart the SAP.
    We go a lot of error :
    (u201EInsufficient Main Memoryu201D; "SPOOL_NO_CONVERSION"; Not enough ROLLR memory for STSOO block ) and a lot of update error.
    These problems were comming up at the high level usage time. Now we use the default 6 max sessions but they still would like to increase it. Can anyone give an advice or have an experiance about this problem?
    How should i refuse their claim? Or is there anyhitng else what should be set  too with max_alt_mode parameter.
    It is sapbasis 620 sp level 54.
    Thank you very much.

    Hi,
    What is the value of ztta/roll_area parameter ? Is your existing roll_area is enough to handle multiple logon sessions of the user ? 
    I have opened the parameter description and found the following.
    Parameter : rdisp/max_alt_modes
    Short description: Maximum number of external sessions
    Parameter description :
    You can use this parameter to restrict the maximum number of external sessions a user is allowed to open in one logon.
    You should only change this if the circumstances require it (for example, if there are too many roll areas, or the dialog load is too high).
    Note that  in certain situations the system may create new, hidden sessions automatically (for example, for frontend spooling).
    You can change the parameter dynamically. The changes take effect logons that occur after the parameter change.
    Caution:
    Up to and including Web AS 6.10, SAP GUI can display a maximum of
    6 external sessions. If you want to set the parameter to a higher
    value, you require a SAP GUI of release Web AS 6.20 or higher.
    You should only change this parameter if the circumstances require it (for example, if there are too many roll areas, or the dialog load is too high)
    Regards,
    Bhavik G. Shroff

  • RFEBBECODA00: rounding calculation problem

    Hi there,
    I'm running program RFEBBECODA00 vi transaction FEBC but for one account in OMR (defined with 3 decimals in TCURX), SAP seems to calculate the ending balance based on amounts with 2 decimals whereas the bank statement has actually amounts with 3 decimals. Because "Calculated ending bal. <> statement" is with 0.01 difference during RFEBBECODA00 execution and, then the conversion is not done.
    Do we have to force this amount via user exit FEB00002 or is there any else solution ?
    Thanks for your help,
    Rgds,
    Phil

    Hi john,
    first of all I would like to say thanks for responce,when I am exporting all data from this Database in middle it is going to freaz every time from past 2 months before that there is no problem like this so i that it has some in DB .I have expoted level0data then deleted all data from DB then loaded level0data after this ran CALCall
    Please give any suggestion
    regards,
    Prabhakar

Maybe you are looking for

  • Can not insert record into database

    Hi: I have problem with inserting a record into oracle database . can some one please give some help? I created a project which connected to a external database. My project is on one of the tables called family. I followed the steps in the example "T

  • Variable sharing from one class to another??

    Hi!! Suppose two classes, one class extend from JFrame and another from JDialog.I want to share the variable of Second one(extending JDialog) into firstone.How can I get this? please help me.

  • What kind of lock should I get for my Macbook?

    Hi! I'm going off to college in a couple months and I want to be able to lock my MacBook Pro 13" to a desk or something in my room so it's secure while I'm away. I've looked at a couple Kensington locks which have had mixed reviews. I'm just wonderin

  • Spring Service class for Flex

    Hi Guys, I have to display data from db on to Flex page. For which I have been asked to create Service class for Flex screen. But i donot know what is service class, what should be its functionality. I am totally new to this. Can anyone tell me what

  • Photo imports - file size inconsistencies

    I have lots of 60MB .tif files that I convert to .jpg before importing into the Starter Edition. I am getting confusing messages - sometimes it will let me import 4MB .jpg files and the next minute it will not import a 1MB .jpg files - says "File is