03-10-2008 12:09 PM
Hi there.
I use an standard ALV-Grid with the normal function modules. In the ALV I created some ALV-variants for displaying the data including an special order and subtotals. Now my problem is that SAP shows in standard all detail-lines of an subtotal-line, but I want that the user can see only the subtotal lines and if he is interessted in more details he could expand the detail-lines...
is this possible and if yes: how?
Thanks!
Regards
JetGum
03-10-2008 12:20 PM
hi,
set this property to X
it_sortinfo-fieldname = 'ERNAM'.
it_sortinfo-tabname = 'IT_VBAK'.
it_sortinfo-subtot = 'X'.
it_sortinfo-obligatory = 'X'.
it_sortinfo-up = 'X'.
it_sortinfo-spos = '1'.
it_sortinfo-expa = 'X'.
APPEND it_sortinfo.
reward if usefull
03-10-2008 12:20 PM
hi,
set this property to X
it_sortinfo-fieldname = 'ERNAM'.
it_sortinfo-tabname = 'IT_VBAK'.
it_sortinfo-subtot = 'X'.
it_sortinfo-obligatory = 'X'.
it_sortinfo-up = 'X'.
it_sortinfo-spos = '1'.
it_sortinfo-expa = 'X'.
APPEND it_sortinfo.
reward if usefull
03-10-2008 12:21 PM