Currency Wise Total

Hi,
i am getting following ALv.
KUNNR       BUY_CURR       BUY_AMT       SELL_CURR       SELL_AMT             AMT
now i want subtotal and grand total based on curr, mens based on BUY_CURR and SELL_CURR.
plz suggest.
thanx

hi,
for that 2 fields use this statement.
  fieldcatalog-fieldname   = 'DMBTR'.
  fieldcatalog-REF_TABNAME   = 'BSEG'.
   fieldcatalog-seltext_m   = 'LOCAL CURRENCY'.
  fieldcatalog-col_pos     = 19.
fieldcatalog-cfieldname   = 'WAERS1'. , < ---- use this
  fieldcatalog-do_sum   = 'X'.
  fieldcatalog-emphasize   = 'X'.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.

Similar Messages

  • Currency wise grand totals IN ALV

    Hi friends,
    I  have problem  in alv report, my requirement is want to display the
    currency wise grand totals in ALV Report.if any having this idea please
    address the solution.
    yours
    ramakrishna.Y

    if i am not wrong then ithink you are talking about subtotal as per currency .
    then you have to use sort fnality..
    you have to write your fieldcat for currency value field
    wfieldcat-do_sum = 'X'.
    data : isort type slis_t_sortinfo_alv,
             wsort type slis_sortinfo_alv.
    wsort-spos = 1.
    wsort-up = 'X'.
    wsort-fieldname = ' YOUR CURRency key field in caps'.
    wsort-group = 'UL'.
    append wsort to isort.
    you have to pass that to reuse alv fm it_sort = isort.
    regards
    shiba dutta

  • GRR3 report is not showing cost centers monthly wise totals

    Hi,
      we are having cost center report for full year company code currency report which was working in R3 system. after upgrade it is not showing monthly wise total currency values but when drill down it to actual line item level it is showing all totals. can anybody hlep me to identy issue.
    Thanks,

    Dear Venu
    Check any other standard summarisation report and see whether they are giving data or not. If not you need to implement note 1817039 to fetch summarisation data. But before that I suggest once again you do data collection upto the period and try running your report.If no success then read the note and apply it.
    Regards
    Rajneesh Saxena

  • Get the sum currency wise.

    hi all,
    i am using report 6i.
    i have written query like below in data model and data is coming correct.
    SELECT
         bft_company
    ,     bft_reference
    ,     bft_charge_code
    ,     bft_chg_basis
    ,     bft_quantity
    ,     bft_currency
    ,     bft_local_amount
    ,     bft_mode
    ,       bft_remarks
    FROM
         Bdl_Freight
    WHERE bft_mode = 'C'i want sum(bft_local_amount) group by currency. page wise total and grand total, at the end of the report.
    my problem is i am not able to get the pagewise sum.
    i have formula like below
    SELECT bft_currency, sum(bft_local_amount)
    FROM Bdl_Freight
    WHERE bft_company = :bft_company
    AND bft_reference = :bft_reference
    group by bft_currency;from the above forumula i am getting grand total, but i am not able to get the page wise column. due to lack of "reset at" property.
    How can i get the pagewise total baseed on the currency.
    Please help.
    Thanks..

    Hi
    In Report you can get sum values based on group values/full report.
    In case if you want per page- i think you should do manually like predefined rows. But is not advisable way.
    Please check below link, you may have some idea
    How to display pagewise total in Oracle reports?
    Edited by: AppsLearner on Aug 1, 2012 9:11 AM

  • Currency wise subtotal at the end of the Report

    Hi Friends,
        In the report how can we get the currency wise subtotal at the last of the report. In the report my document currency column displays different type of currecy amount like USD,GBP,INR etc.,. I need total of different currencies at the last of the report. How can it be acheived, suggest me.
    Thanks in advance
    Karthik

    Hi Karthikeyan,
                      Try to put you columns like this
    currency char1 char2 char3 amount
    This may help.
    Thanks,
    Vijay.

  • XML Publisher - Page Wise Total

    We are facing problem in incorporating ‘Page Wise Total’ in Invoice Report - Invoices print at format CAP_ETA for Germany. It an XML Report and its output appear in PDF format. As per the new requirement sent by L1 team, we are required to make changes in RTF, to show ‘Page Wise Total’.
    We have worked on this enhancement but unable to display ‘Page Wise Total’. We are able to display Sum Total of all the records appeared in three different blocks of records for that particular page at the end of the footer of Page, but not yet able to SUM UP total of these three Sum Total of three different blocks on that particular page.
    For e.g. First page of my XML Report display three different Block of data as shown below with Subtotal of 38,600.00, 4,453.47 for 1st and 2nd Block respectively, but 3rd block records appeared partially on the first page and remaining appeared on the next page. So My Report should display ‘Page Wise Total’ or ‘Amount Forward’ as 52853.47, which sholud be carried forward to next page as ‘Amount Forward’ - 52853.47. The next page/second page will dispaly the remaing line records of the 3rd block and Subtotal( Please see attachment New_Layout_Invoice_TUM_English.doc)
    Name Description Unit Quantity Price Amount in Euro
    Rösner Fees Day 17.00 1,400.00 23,800.00
    Schreiber, Clemens Fees Day 2.00 1,400.00 2,800.00
    Slegers, Arnd Fees Day 4.00 1,400.00 5,500.00
    Weiler, Andreas Fees Day 4.00 1,400.00 6,400.00
    Subtotal: 27.00 38,600.00
    Römer, Michael Expenses 2,253.79
    Schreiber, Clemens Expenses 157.69
    Slegers, Arnd Expenses 519.78
    Weiler, Andreas Expenses 1,522.21
    Subtotal: 4,453.47
    Rösner, Michael Travel expenses 2,400.00
    Schreiber, Clemens Travel expenses 2,000.00
    Siegers, Arndt Travel expenses 1,800.00
    Weiler, Andreas Travel expenses 2,000.00
    Marek, Gruchala Travel expenses 1,600.00
    Amount forward 52853.47
    As mentioned above we are able to show independently three different Page Wise Total of each of these blocks by using syntax:
    <?add-page-total:block1amount;’L_AMOUNT’?>, this syntax is used to sum up all the line records appeared in a block for a particular page and
    <?show-page-total: block1amount;’#####.##0,000’;’ ###.##0,000)’?> is used to display the Sum Total calculated by above syntax.
    But we are not able to further sum up all these Page Wise Total of different blocks.
    Please find attached copy of RTF file from Production (V18_CAR253E1), copy of RTF (V18_CAR253E1_TEST Where we are testing these new changes) and .out XML output file.
    I need help on this issue
    Thanks & Regards,
    Praveen S Negi
    [email protected]
    91-09930799325

    Hi Praveen,
    You got the solution for page total in Invoice Report in XML publisher report.
    Can you pls help regarding the same, i want to display total amount in the invoice report.
    Thanks in advance,
    Sunny

  • Profit Center Wise and Currency Wise balances in same report?

    Experts,
    Is there any report where we can see Profit Center and Currency Wise balances in the same report?
    How can we get such report?
    - Nilesh

    Hi
    Did you try FAGLL03?? I think that should suffice
    or try FGI3
    br, Ajay M

  • Document currency (Transaction currency) wise G/L account balance report.

    Dear All,
    Is there any report available in FI for Document currency (Transaction currency) wise G/L account balance display.
    Something similar to S_ALR_87012277; which gives currency-wise balance display?
    Thank you for help.
    Regards
    Vijay

    Hi Mike
    Thank you for your quick responce.
    I don't have access to this S_PLO_........ tcode; Ours is ECC 5.0 installation.
    Is any other report available.
    Thank you
    Vijay

  • Urgent:page wise total in smartforms

    hi,all
    How to do page wise total in smartforms   ?
    use table in smartforms for summary in pagebreak
    ex. page1
    10 (line 1)
    20 (line 2)
    30 (line 3)
    total 100
    page 2
    40 (line 1)
    50 (line 2)
    total 50
    Total in page 1 incorrect = line1(page1) + line2(page1) + line3(page1) + line1 (in page2)
    Total in page 2 inccorrect = line2 (in page2) .
    please help me guys to solve this problem..

    r u printing the internal table data using the TABLE node then--> in the Calculation tab u can do this.
    first create a variable in Global difinations-->global data tab.(ex v_tot)
    then in the TABLE>calculations TAB> 1select ->sum then 2nd colun>give the field name which u want to calculate (ex-wa_itab-netwr) in the Target Filedname tab> give the varialbe u have declared for the total(ex v_tot). in TIME colums select AFTER theLOOP...
    then in theTABLE>footer>inset a line display the variable(total u r using).here
    after the the printing the total..->create a program lines> cleat the v_tot... why u need to clear this is.... u want to display only the total value which are displaying in the current page... after printing this v_tot... clear this... so that in the next page it start totaling the freshly...
    lem me know if u have any clarifications.
    u can calculate as the above way for all the 6 fields.
    please Avoid postin duplicate threads

  • Primary Cost Element Report - Cost Center wise Totals

    Dear Seniors,
    Requirement is to have a report which gives Cost Center wise Totals (Net posted amount) for Primary cost elements with the following fields --
    Company Code
    G/L account
    Business Area
    Cost Center
    Accounting Period
    Fiscal Year
    Net Posted Amount
    Debit / Credit Indicator
    Currecny
    Which Table gives me this information ?
    Thanks and Regards
    KVKR

    Hi
    If you are on New GL - Then FAGLFLEXT (Totals table)
    If not - Then GLT0 or tables startng with GLT*
    You can also use reports FBL3N and subtotal on Cost Element/Cost Center
    br, Ajay M

  • Item wise total quantity prob

    hi experts,
    i made an alv,which shows o/p like this:
    truckno(likp-traid)| dono(likpvbeln)|party nm(kna1-name1)|skucode(lips-arktx)| qty(lips-lfimg)
    wb03-7809         |  80000345       | msaha                      |  frooti_pet            |   40,000  cs
    wb03-7809         |  80000346      | msaha                      |  frooti_ tetra          |   20,000  cs
    wb03-7809         |  80000345       | msaha                      |  appy1 ltr             |   60,000  cs,
    but client requirement is that,
    they need item wise total ie say, frooti_pet       is assigned against dono(80000345), bt this item can also be assigned against another do say(80000389) with sum qty in it.
    they want total sum of a particular skucode(item) means  frooti_pet(item wise)  , that may be assigned in diff dono  , but duff dono may be assigned in same truck
    o/p will show,
    like
    truck no| skucode| total(partycular item wise).
    how to do it?
    thnx in advance.

    Declare the fields in the internal table in the below order.
    dono(likpvbeln)|
    skucode(lips-arktx)|
    truckno(likp-traid)|
    party nm(kna1-name1)|
    qty(lips-lfimg)
    Above the loop sort the internal table as follows.
    Sort itab by dono skucode.
    Loop at itab.
    at end of skucode.
    sum.
    here move the Quantity  to another variable.
    endat.
    endloop.
    Edited by: Poorna Chandrasekhar on Jan 23, 2009 12:07 PM

  • JSF datatable pagination - showing page wise total.

    Hi All,
    i am ok with normal pagiation. but i have a requirement to show total count of a column page wise in the footer and also total count of th column at the datatable bottom.i can able to get total count but how can we show page wise total count in the footer of datatable. please help me in this
    Regards,
    A.

    So you want something likedouble subTotalPrice = 0.0d;
    for (int i = dataTable.getFirst(); i < dataTable.getFirst() + dataTable.getRows() && i < dataList.size(); i++) {
        DataItem dataItem = dataList.get(i);
        double dataItemPrice = dataItem.getPrice();
        subTotalPrice += dataItemPrice;
    return subTotalPrice;?

  • How to find item wise totals and header wise total using hierarchical ALV

    Hi Friends,
    I came across an issue of finding  item wise total using hierarchical ALV. I am getting header wise total by setting the field catalog. May you help me in finding  Item wise total.
    Regards
    Nikhil.

    hi,
    you must use "w_fieldcat-do_sum = 'X'" and change your layout like :
    w_sort-fieldname = 'FIELD'.
      w_sort-tabname   = 'TABNEME'.
      w_sort-up        = 'X'.
      w_sort-subtot    = 'X'.
      APPEND w_sort TO i_sort.
      CLEAR w_sort.
    you can use detailed code from http://wiki.sdn.sap.com/wiki/display/Snippets/Subtotalsinhirarchial+report.
    regards,
    orhan
    Edited by: goktasor on Jun 1, 2010 11:03 AM (need points : ) )

  • Ordering row wise totals in a column.

    Hi,
    I have a report in Pivot view having two columns namely Count and Category. I have to apply sort on these two columns-first on Count and then on Category.
    The Total Count is also calculated row wise. Now when I apply sort on count column, only the values in that column are being sorted and not according to row wise total count. But my requirement is to sort the total count row wise first and then by Category.I am unable to do so.
    Kindly provide me the solution to this problem.
    Thanks
    Ankita

    Use RunningSum() function.
    Regards,
    Rohit

  • Page wise total for multiple pages in xml template

    Hi all,
    I need to display page wise total for multiple pages in xml layout.I have tried with add-page-total and show-page-total tags but it is not working in my case.Anyone please provide me a solution to this. Thanks in Advance..It is urgent issue..
    Thanks
    Swapna

    This issue has been resolved.
    We had a call to the method "makeOutputFlat(true)" before the call to "FormProcessor.process()" that was corrupting the PDF template file.Once we took that off , the PDF is now printing multiple pages.

Maybe you are looking for