Results 1 to 2 of 2

Thread: What is the function module in ALV'S to get subtotals

  1. #1
    Geek_Guest
    Guest

    What is the function module in ALV'S to get subtotals

    What is the function module in ALV'S to get subtotals

    Question asked by visitor Charath


  2. #2
    Junior Member
    Join Date
    Feb 2008
    Answers
    6

    Re: What is the function module in ALV'S to get subtotals

    In order to get the suotal of the particular filed we need to handle the sorting for the report. Declare a structure like SLIS_T_SORTINFO_ALV.

    and here
    do the coding as follows
    it_SORT-SPOS = '1'.
    it_SORT-FIELDNAME = 'fld1'.
    it_SORT-UP = 'X'.
    it_SORT-SUBTOT = 'X'.
    APPEND I_SORT.

    Pass this in the display function module and

    IT_SORT = I_SORT

    and you would get the subtotals


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact