Total amount/qty of columns in grid/matrix

Hi,
Just want to ask if it is possible to put a total amount/qty of a column in a grid or matrix.

Hi,
I tried couple of months, but I didn't find out.
In my end, I add a row manually. You can add a additional row for total or subtotal.
Hyunil Choi.

Similar Messages

  • Oracle 9i Report - Show Total Amount On Page Footer

    Hi,
    Hope someone can help me with this.
    I'm using Oracle 9i reports.
    I've created a report which has many columns. On the last column is the amount.
    How can I display the total amount on each page ?
    I used the wizard to create the report. It can only display the total amount on the last page.
    Any idea is appreciated.
    Tq
    Madi

    Thx for ur response.
    I have a nother question.
    I have set the total to reset on every page.
    Therefore, the total on page 1 displays the total amount of the column for page 1. Then the total on pg 2 displays the total for pg 2. and so on.
    Actually, this is not what I want. I want the total on page 2 to display the total of page1 and page 2. The total on page 3 to display the total from page 1 - page 3. and so on.
    Is it possible to do this in Oracle Reports 9i ?
    Thanx in advance for ur response. Very much appreciated.

  • Count the total val of the column in matrix

    hi
    how to count the total value of the column in matrix
    eg:
    id     name     points
    10    sachin    100
    12     rama        80
    count the total points in the matrix
    180

    Hi Hareesh,
    Try This....
      Dim finaltot As Integer = 0
                    Dim i As Integer
                    For i = 1 To omatrix.RowCount
                        oedittot = omatrix.Columns.Item("points").Cells.Item(i).Specific
                        finaltot = finaltot + oedittot.value
                    Next
    Thanks
    Shafi

  • On Change Total Amount Should come into Total

    Hi Friend,
    i am using Apex 3.2.
    i have created an TAbular Form. there are four column Rate ,Qty and Total (INR) and Total ($) .
    Here
    Total(INR) = Rate * Qty
    Total($) = Rate * Qty*45
    i need when i enter any value in Rate and Qty then Rate * Qty and Rate * Qty*45 Should Come in to Total (INR) and Total ($) Column With Out Refresh .
    i need It onchange Not OnBlur.
    How Can i do this.
    Thanks
    Edited by: Vedant on Aug 18, 2011 9:30 PM

    Hi
    Try something like following
    <script>
    function makeAmount(pRow)
       //Assuming column No as follows
       //Qty = f01
       //Rate = f02
       //Amount (INR) = f03
       //Amount ($) = f04
       document.getElementsByName('f03')[pRow-1].value = ((document.getElementsByName('f01')[pRow-1].value * document.getElementsByName('f02')[pRow-1].value) );
       document.getElementsByName('f03')[pRow-1].value = ((document.getElementsByName('f03')[pRow-1].value * 45 );
    </script>And call this function on onChange event of Qty and Rate column by using onChange="makeAmount(#ROWNUM#);"
    Zulqarnain
    MaxApex Hosting
    http://www.maxapex.com

  • The page total amount is not correct on discoverer plus 10.1.1.48.18

    on my discoverer report, there is sunnary field based on a column.
    for example, I have a salesrep expense discoverer report.
    the salesrep name is the page item, each page has one salesrep, under the page item there are many line which show the expense detail amount, there is a column called expense, under the expense column there is a total amount summary field to sum the expense for this salesrep.
    Sometimes, the total amount is not the sum of the expense column, sometimes the total amount show negative zero as: -0.00. What I thought this maybe a number round issue.
    Does anybody has similar issue? how to fix this ?
    Thanks

    I actually used toad to run the query and exported to EXCEL then sum it in excel, I got the correct total amount.
    the following is the SQL query, we use the total feature to sum the commission:
    select
    pt.payee_salesrep_id,
    sr.name||','||sr.attribute9 salesrep_name,
    sr.attribute15 employee_number,
    pt.payrun_id,
    pr.name payrun_name,
    decode(pt.incentive_type_code,'COMMISSION',2,'PMTPLN',4,'PMTPLN_REC',1,'MANUAL_PAY_ADJ',2) Sort,
    decode(pt.incentive_type_code, 'PMTPLN','To be Applied in Future','PMTPLN_REC','Previous Payments Affecting Commissions',q.description) Variable,
    sum(decode(pt.incentive_type_code,
    'COMMISSION',decode(q.attribute3,'ARR 12-36',apps.sg_oic_reports.get_multiple(q.name,to_number(ch.attribute16)),1) sign(pt.payment_amount) abs(pt.input_achieved) ,
    pt.payment_amount)
    ) Revenue,
    sum(pt.payment_amount) commission
    from apps.cn_payment_transactions pt,
    apps.cn_commission_headers ch,
    apps.jtf_rs_salesreps sr,
    apps.cn_quotas q,
    apps.cn_payruns pr
    WHERE pt.quota_id = q.quota_id
    and ch.commission_header_id(+) = pt.commission_header_id
    and pt.payee_salesrep_id = sr.salesrep_id
    and pt.payrun_id = pr.payrun_id
    and hold_flag <> 'Y'
    and pr.accounting_period_id>2005012
    and pt.payment_amount<>0
    group by
    pt.payee_salesrep_id,
    sr.name||','||sr.attribute9,
    sr.attribute15,
    pt.payrun_id,
    pr.name,
    pt.incentive_type_code,
    decode(pt.incentive_type_code,'COMMISSION',2,'PMTPLN',4,'PMTPLN_REC',1,'MANUAL_PAY_ADJ',2) ,
    decode(pt.incentive_type_code, 'PMTPLN','To be Applied in Future','PMTPLN_REC','Previous Payments Affecting Commissions',q.description)
    having sum(pt.payment_amount) <>0

  • Ssrs 2008 r2 display only final total amount

    In an existing ssrs 2008 r2 report, I want the final grand total to appear as the last amount displayed in the SSRS report.
    In the 'main' matrix of the report, I have created an outside group row below the last line of the matrix.
    The expresion for this statement looks the the following:
    ="Grand Total: $"+str(sum(cdec(Fields!TransactionAmount.Value),"datasetname")).
    The total amount is correct, but this total amount line appears after every control break. Basically the amount appears every
    time the control break changes by date, teacher, or student number.
    The extra row I added does contain grouping references to date, teacher, and student number. Thus to solve my problem:
    1. Can you tell me how to remove the grouping references to date, teacher, and student number so that the last row will be the only place the total amount will be displayed?
    2. If the above is not an option, can you tell me how to add an extra row to the 'main' matrix so the report groupings do not appear on the final total line?
    3. If the above 2 choices are not an option, would you tell me how to add the final total line in the final report footer and/or any place you believe the final total amount will appear only one time?

    Hi Wendy,
    According to your description, you want to add a row into your matrix to get the total value of TransactionAmount. This can be final total value which appears only one time in your matrix. Right?
    In this scenario, the reason why the total amount line appears after each break change (data, teacher..) because this total amount line is still within the parent group. I guess you didn't add the outside group row on the top parent group. So we just need
    to right click on the textbox which is top parent group, insert a row outside of group. Then put your expression into the added row. Now the total amount will appear only one time in the matrix. It looks like below:
    Reference:
    Understanding Groups (Report Builder and SSRS)
    If you have any feedback on our support, please click
    here.
    Best Regards,
    Simon Hou 

  • Request delivery schedule with fixed total delivery qty updated by MRP

    Hi Gurus,
    Please help on this issue. The issue is since in the "direct Purchase order", the delivery date is fixed & not updated by MRP, seems only delvery schedule line in Scheduling Agreement can be updated by MRP.
    Below is the requirement:
    1) Use appropriate Purchase Document (like Scheduling Agreement) for subcontracting the in-house production parts when capacity is insufficient, so that delivery schedule qty can be updated by MRP.
    2) The Purchase Document will covered partially the requirements of the in-house production parts, the qty covered should be the same as total open qty in the Pur Doc to be delivered (if it's Sch. Agrmnt, should be Target Qty)
    3) During MRP run, source of supply should be assigned to the Purchase Doc iteam firstly, afterward assigned to planned order
    Thanks a lot!
    Jerlyn

    Hi,
    For all of your queries;
    ME01 - Maintain Source List for the materials
    Here maintain, Vendor, Plant, Purchase Org, most important input Scheduling Agreement No  in Agreement column and  in "MRP" column, use "2" i.e. Record relevant to MRP. Sched. lines generated automatically
    Now run MRP and observe the result, it will consider Scheduling Agreement in MRP.

  • Custom total/subtotal formula in an ALV Grid and printing.

    I have an ALV grid using OOPs method (Class cl_gui_alv_grid). The table that I am displaying is a dynamic table.
    call method o_grid->set_table_for_first_display
        exporting
          is_variant      = gx_variant
          i_save          = 'A'
          is_layout       = gs_layout
        changing
          it_fieldcatalog = it_fldcat
          it_outtab       = <gt_tabletotal>.
    On one of the columns in the ALV grid, instead of the regular summation, I had to do weighted averages (not avg).
    I built a logic to manipulate this total field for that column using field symbols.
    CALL METHOD o_grid->get_subtotals
        IMPORTING ep_collect00 = total
                  ep_collect01 = subto.
    ASSIGN total->* TO <ftotal>.
    ASSIGN subto->* TO <fsubto>.
    CALL METHOD o_grid->refresh_table_display
       EXPORTING I_SOFT_REFRESH = '1' .
    I manipulated <ftotal>-mycustomformulafield field there using some logic.
    In my field catalog i have the above field with wa_it_fldcat-do_sum = 'X ' .
    Now, II am able to see my custom formula on the screen. But when I print the grid using the print button or when I export to an excel sheet(I use export to local file and then select excel there) , my custom formula that i calculated above is reset to 0.000 .
    (Also when I email the grid, my custom formula is wiped). How can I avoid this ? Any useful suggestion is well appreciated.

    Hi, Shareen,
    We have the same problema here.
    Could you solve it?
    Thanks in advance

  • Report to extract the total Amount that we spent for materials

    Hi Guru's,
    I was trying to find a report that gives all the following information by Company Code. Out put should have the following fields:
    1)Vendor Name,
    2) Vendor Number,
    3)Company Code,
    4) Payment Terms Code From Vendor Master,
    5) Payment Terms Description,
    6)Material Number,
    7)Material Description and
    8) Amount Spend for last 12 months
    I would appreciate any inputs on these kind of reports.
    Thanks
    Nath..........

    Sridhar,
    Thanks for your response but I am not getting Material number using report FBL1N and also I in the amount column I was looking for the total amount (total spent during the whole year) by Vendor, Company Code and Material. I am trying to execute this for three different company codes. So, will FBL1N work for us to get these total amounts.
    Thanks
    Nath

  • She cess not coming in j1iin(TOTAL AMOUNT SECTION)

    HI ,
    TAXINN PROCEDURE
    in j1iin
    all duties bed/ecess & also shecess are coming  in INVOICE ITEM DETAILS SECTION  in columns BED/ECS/TAX1
    But in below  TOTAL AMOUNT section
    BED/ECS ARE COMING
    & ONLY SHECESS FIELD IS NOT COMING
    1 in excise registeration details i've selected nccd/at1/at2 etc
    2 also in classify ctype i've maintained JA!X Shecess
    But Still in J1iin shecess field in TOTAL AMOUNT SECTION IS NOT COMING
    pL SUGGEST

    Will explain with Eg:
    Say,
    You created Tax Codes: A1 - [email protected]%  & A2 - CST@2%
                                          B1 - [email protected]% & B4-VAT@4%.
    while creating you dont need to enter any value in FTXP, you can save directly w/o values.
    Now In OB40 -
    select the CST Acct Key- to assign CST Tax Codes along with GL accounts ( here you can either maintain same or diff GL accounts, if you assign Diff GL accounts, that would be easy to track, wrt Tax code wise)
    similarly , select the VAT Acct Key - to assign VAT Tax Codes along with GL accounts.
    Create Cond rec- VK11 for CST/VAT with "Country/ Plant region / dest  point region/ Tax class- Cust/Tax Clas Mat" -
    here when you are creating cond rec's- you need to enter "%" manually, system will not pick the "%" automatically, becoz in FTXP , we havent maintained any values. ( if you want the system should pick "%", then maintain the values against to any "Output tax cond type " in FTXP)
    This will def'ly solve ur purpose.
    reg: ur 3rd query- u just assign ur GL accounts to all ETT for ur Excise Group-will solve
    try n revert.

  • How to show Total amount and distributed amounts in one report

    Hi,
    I have the Plan Amounts distributed across Fiscal Year Periods for various WBS Elements in the cube.
    I have to give a report wherein I should display the Total Plan amount for each of the WBS Element in one column, and the plan amounts across the fiscal year periods in the corresponding columns.
    The user enters a Plan Start Date and a Plan End Date as input. The fiscal year periods to be displayed should be between this selection. For example if the user enters Plan Start Date as March07 and Plan End Date as Jun 07, the data should be displayed as follows:
    WBS Element Total Plan Mar07 Apr07 May07 Jun07
    WBS1 5000 3000 1000 0 1000
    WBS2 8000 0 2000 4000 2000
    If I take WBS Element in the row, Amount and Fiscal Year Period in the column, I am getting Plan Amounts distributed across the Fiscal Year Periods. I am not able to display the Total Plan amount.
    If I take WBS Element in the row, and Amount in the column, I am getting Total Plan Amounts for each WBS but I am not getting amounts distributed across the Fiscal Year Periods.
    I have tried by creating restricted key figures for all the fiscal year periods, but this doesn't work as the Fiscal Year Periods to be displayed are dynamic based on the user selection of Plan Start Date and Plan End Date .
    Is there any way this can be handled by writing some ABAP code??
    Please suggest on what can be done.
    Regards,
    Srini.

    Hi,
    If i understand your question ,
    you want like Total plant amount for range entered , and plan amount for variaous fiscal periods , is that correct...
    Y dont u try following ways:
    Total plan amount,,,,,,jan,,feb,,mar,,apri...............dec
    wbs element..
    Now take wbs element in Rows
    In columns take  plan amount , and double click it so u will reach selection screen.
    In this selection... take fiscal period from Time Char and drag it to right side
    Restrict the fiscal period with creating Interval variable...
    change description to TOTAL PLAN AMOUNT
    Now again take Plan amount and bring it in columns..
    Double clikc and in selection bring Fiscal period.
    Right click it and restrict it to january/ period 1
    Change description to January
    Copy this January,,,,, 11 times and paste it below
    now go in each january and then restrict them with different values....
    for one, select february and change description to february
    for 2nd select march as restriction and change description to march...
    Same way carry out till december.
    Save the query...
    Click Query in Menu and click properties...
    Apply zero row suppression to rows and columns..
    This way you will get Total plan amount for total range and for each period in same columns...
    With zero row supression if ur user enter only range march to june ,,, all other period values plan amount will get cancel out and u will not see them in display...
    Try this workaround and let me know...

  • Example query for po headers total amount(including tax amount) from po_headers_all table in  r12

    HI
    there is no such column like po_amount in po_headers_all table then how can i get po total amount(including tax amount) from po_headers_all table  or else tell me how to get data from views  in R12
    As we are using sql developer tool to build queries in our project
    With regards
    siva

    PO line total is not included the tax, to View the tax amount (N) Action-> manage tax
    1) You have to sum up the lines to get the PO total,
      select ph.segment1 po_num, sum ( (pl.unit_price * pl.quantity)) price
        from po_lines_all pl, po_headers_all ph
       where     pl.po_header_id = ph.po_header_id
             and ph.type_lookup_code in ('STANDARD', 'BLANKET')   --Add as per your requirement
    --          and ph.segment1 = '2017'
    --          and ph.org_id = 7852        --Use when you have multiple OU
    group by ph.segment1
    2) To get the tax
    SELECT *
        FROM (  SELECT lines.line_num line_number,
                       lines.item_description line_description,
                       dist.distribution_num dist_number,
                       dist.code_combination_id dist_code_combination_id,
                       NVL (dist.nonrecoverable_tax, 0) nonrecoverable_tax,
                       NVL (dist.recoverable_tax, 0) recoverable_tax,
                         NVL (dist.nonrecoverable_tax, 0)
                       + NVL (dist.recoverable_tax, 0)
                          total_tax,
                       (NVL (dist.req_line_quantity, 0) * NVL (lines.unit_price, 0))
                          amount,
                       dist.org_id,
                       dist.DISTRIBUTION_ID
                  FROM po_requisition_lines_all lines, po_req_distributions_all dist
                 WHERE     lines.requisition_line_id = dist.requisition_line_id
                       AND NVL (lines.cancel_flag, 'N') <> 'Y'
                       AND NVL (lines.modified_by_agent_flag, 'N') = 'N'
    --                   AND lines.requisition_header_id = :1
              ORDER BY lines.line_num, dist.distribution_num) QRSLT
    ORDER BY LINE_NUMBER, DIST_NUMBER
    Join the po_distributions_all, po_lines_all & po_headers_all tables to get the specific value.
    Thanks

  • PO: Rounding of Total Amount

    Hi SAP Experts,
    We are encountering a problem with regards to the printing of Total Amount PO. In the break down of each item, the amount is correct. But when it comes to the total amount, the value is rounded to the next cent (local currency).
    Ex.
    Qty    Unit Price    Amount
    3     1,249.25 / 1   3,747.75
    Total       <b>3,747.76</b>
    Can you give us some tips on how to correct this discrepancy?
    Hoping for your immediate reponse.
    Thanks and regards,
    Pat

    Please check the data type of amount and total.
    I guess you are using PO Form medruck and Print program : SAPFM06P.
    If you want to print amount value same as total or vice versa..
    you need to copy program to zprogram,check the text element in main window,if you see print program some where they are calling in write-form.
    here you need move value to one variable,use that vaibale in your layout.
    Thanks
    Seshu

  • Summary filed to show the total amount

    Hi ,
    Version : Jdeveloper 11.1.1.5
    Table : Revenue ( Columns - RevId ,InAmount, OutAmount)
    Based on the Table i Created Entity Object and Based On Entity I Created View Object (RevenueVOW)
    I Created one method --> RevenueVOW to show Create Mode and 4 new Records to show
    how i will create summary field to show the total amount on InAmount
    ( In forms and reports we will create formula column)
    Thanks
    shk

    HI,
    Did you try with groovy expression
    Check
    Sum of field in af:table

  • Overview stock total amount and units on itemgroup

    I have made an xl reporter that generates overview of total stock in all warehouses sorted on itemsgroup with total amount per itemgroup and total amount of units. Now the result is different from the stock report in SAP but that is not sorted on itemgroup and not usefull for reporting.
    Now i want to create an query which gives the right data out of SBO.
    But how do i get the sum / total of the itemgroups
    thx mark

    Hi Gordon,
    That's nice but is it possible to get the following layout of the query. Only 3 columns.
    itemgroupname1   total quantity stock                            total stock in amounts (financial)
    itemgroupname2   total quantity stock                            total stock in amounts (financial)
    itemgroupname3   total quantity stock                            total stock in amounts (financial)
    itemgroupname4   total quantity stock                             total stock in amounts (financial)
                                 TOTAL QUANTITY STOCK                  TOTAL STOCK IN AMOUNTS
    Thanks Again
    Mark

Maybe you are looking for

  • Dbms_lob.instr question

    Hello, I have a field that holds CLOBs in the database. I have a textfield in which the user can enter a target string, then I hope to use dbms_lob.instr to search for the target string in CLOB. The code looks like: dbms_lob.instr(upper(I.COMMENTS),u

  • Nokia 2520 Tablet - Outlook Connection

    I have the tablet and I luv it. I have added my yahoo email address as an account in Outlook. I can receive emails from yahoo but I can not sent email through the Outlook from my yahoo account. What could be the problem? Thanks John

  • Abap hr doubt

    Hi all, When we use GET PERNR statement , we declare TABLES:PERNR to define the structure pernr in our program. We declare the logical database as PNP for the standard  selection screen.Now , if we dont declare LDB as PNP and create our own selection

  • Avoiding pixelation with image resizing

    i just redesigned my site (with a ton of help from many people on this forum--thank you nancy riki osgood Sudarshan!!) i have my thumbnails resizing (using max width: 100%) in a gallery but on a large browser window like my 32" monitor they get pixel

  • Output processing

    hi gurus, here is an issue which I have regarding output processing. I  need to print a label as a batchjob at any time the user wants. For this, the ABAPERS  created a Z transaction from which it will take u to a selection screen. So once the user e