Skip to Content
avatar image
Former Member

ALV Totals based on Unit Field

Hello Gurus,

My requirement is as that i have a report with net weight field and i have done a sum on this field using do_sum option in the fieldcatalogur. Now adjacent to this field i have the unit field MEINS which is the unit field for Net Weight . Now my requirement is get the Net Weight Totals based on the unit field like if in the report we have two units KG and PCE , 2 Totals should come at the end of the column.Is it possible through the fieldcatalogue options. Please help.

Regards,

Abhishek.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Sep 22, 2010 at 10:43 AM

    Hi,

    Please Check with your Table you are using.You have field that represent weight in KG. Check with your Functional people which field it is.

    Cheers,

    Naveen

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 22, 2010 at 10:45 AM

    Hello,

    Looks like your requirement is to get sub-total based on the Unit Field. It is not possible at the FieldCat level.

    This can be specified in the SORT table. Please search in the forum on how to implement sub-totals in ALV.

    BR,

    Suhas

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 22, 2010 at 10:47 AM

    Sort by unit , get sub total based on the quantity field. Use do_sum to the quantity field and add the necessary parameters to I_SORT of ALV.

    Add comment
    10|10000 characters needed characters exceeded