Skip to Content
0
Former Member
Jan 18, 2012 at 03:56 PM

Sub Total Text in an ALV using FACTORY Method

171 Views

Hi Gurus,

My requirement is simple, but I couldn't find any answers under SDN or any other forums. Some of you may ask me to check for the SCN posts, but I almost checked everything.

My requirement is - When I get the Sub-total in my ALV, it should print a text other than the field which has got sub-total value.

My ALV Schema:

-----------------------------
Field1  |  Field2 |  Field 3 |
____   |______ |______ |
           |             |             |
           |             |             |
------------------------------
          Tot. Qty  | 1000.00|
------------------------------- 

.

I have sorted and added the subtotal = 'X' for the field which I need the Subtotal. Added Aggregations to Field3. But where and how to the field 'Tot. Qty', so that it should appear at the Sub-Total Level.

Please guide me if I've missed any of the forums. Again my requirement is to print the Field Name.

Regards,

-Wahid Hussain Syed.