cancel
Showing results for 
Search instead for 
Did you mean: 

Filter ABAP report output for a specific value of AKONT and display its value in smartform

Mahesh1
Explorer
0 Kudos

I have a custom report where I display the account receivable's in the ALV Grid format. some of the fields that I am displaying at the output are,  KNB1-AKONT,  BSEG-DMBTR, BSEG-KUNNR etc..

Now for specific value of AKONT(applying filter at report output), I want to select total sum of DMBTR. Now this selected value of DMBTR need to display this in a smart form.

How can I collect ABAP report DMBTR summation(sum) for specific AKONT and display in SMARTFORM

 

 

Sandra_Rossi
Active Contributor
0 Kudos
Your question is very general, so I do a very general answer: do repeatedly SUM = SUM + DMBTR.

Accepted Solutions (0)

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor

Most OO ALV classes have a method such as GET_FILTERED_ENTRIES to get a list of filtered entries, using this list to exclude filtered records of the original table should fulfill your requirement.

NB: There are also method such as GET_FILTERS to get the filter criteria, apply those to the original displayed table to get displayed records.