Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8088

Re: abap-hr alv issues

$
0
0

Hi,

 

 

 

FORM sort .

*   wa_sort-spos = '01' .

*  wa_sort-fieldname = 'PERNR'.

*  wa_sort-tabname = 'IT_FINAL'.

*  wa_sort-up = 'X'.

*  wa_sort-subtot = 'X'.

*  APPEND wa_sort TO iT_sort .

*  CLEAR wa_sort.

 

  wa_sort-spos = '01' .

  wa_sort-fieldname = 'AMOUNT'.

  wa_sort-tabname = 'IT_FINAL'.

  wa_sort-up = 'X'.

  wa_sort-subtot = 'X'.

  APPEND wa_sort TO iT_sort .

  CLEAR wa_sort.

ENDFORM.

 

Remove 'AMOUNT'  field from it_sort . Make the subtotal according to 'PERNR' .  For same PERNR  it will  be added up to show the Sub-total .

 

Thank n regards .


Viewing all articles
Browse latest Browse all 8088

Latest Images

Trending Articles



Latest Images

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