Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

ALV showing repetitive lines despite line items the same

$
0
0

Hi all,

 

I am required to sort and show 2 lines if the customer no, sales order no the same.

I used the  REUSE_ALV_GRID_DISPLAY FM for my ALV and have done the sorting.

 

Problem is despite having do the sorting for all the fields to be displayed in the ALV, the quantity field and amount fields still displayed for every line items despite the figures are the same.  I need to be able to show 2 lines only since there are 2 different document no but it is showing 20 lines or more currently.

 

Required displayed

Doc 1         SO                     Quantity      Amount

Doc 2         SO                     Quantity     Amount

 

Currently display

Doc 1         SO                    Quantity     Amount

                                           Quantity     Amount

                                            Quantity     Amount

Doc 2         SO                      Quantity     Amount

                                            Quantity      Amount

 

 

Anyone knows what's wrong?

 

  fkimg TYPE vbrp-fkimg, " Invoice Qty

  wrbtr TYPE bsis-wrbtr, " Amount in doc curr
  dmbtr TYPE bsis-dmbtr, " Amount in loc curr


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>