hi,
I had made a report in which i am displaying a normal total at 1st output screen and after that by double clicking the alv gets displayed.
but now i am displaying the total of the values at the end of values on 1st screen out put and i want to display the whole alv data when i click on grand total field .
here's d code which i am using for at - line selection which allows me to double click on itemid and shows the details of it.here's d code:-
data:fld(10) type c.
data:val(18) type c.
at line-selection.
new-page line-size 150.
get cursor field fld value val.
PERFORM PRN_SMSTOCK_ALV USING VAL.
IF SY-SUBRC <> 0.
MESSAGE 'NO RECORD FOUND' TYPE 'W'.
ENDIF.
FORM PRN_SMSTOCK_ALV USING VALUE.
ITABFIN[ ] = ITAB[ ].
DELETE ITABFIN WHERE ITEMID <> VAL.
and now i want that it should display the data of all the itemid's when i click on GRAND TOTAL field.
plzz provide me guide lines to solve my problem.
Edited by: ricx .s on Jul 10, 2008 7:30 AM