10-22-2007 2:44 PM
hi
In alv what is the use of layout, is it mandatory to give layout to any list display?
what is i_save? normally alv will sort the fields by default, but why we are giving i
_sort. how can we so totals and subtotals in alvs.
thanks
alka
10-23-2007 6:09 AM
Hello Alka
Every ALV list has a layout whether you define a specific one (LVC_S_LAYO) or not.
IMPORTING parameter I_SAVE defines if and which kind of layouts a user can save:
<b>- I_SAVE = ' ' (space) </b> " user cannot save any layouts
<b>- I_SAVE = 'U' </b> " user can create and save user-specific layouts
<b>- I_SAVE = 'A' </b> " user can create and save user-specific/general layout
Regards
Uwe
10-22-2007 2:50 PM
Hi Alka,
-to give layout is not mandatory
-sort is given lets say we want first sort on specific fields
-you need to pass parameter do_sum = 'X' in fieldcatlog.
Regards,
Atish
10-23-2007 6:09 AM
Hello Alka
Every ALV list has a layout whether you define a specific one (LVC_S_LAYO) or not.
IMPORTING parameter I_SAVE defines if and which kind of layouts a user can save:
<b>- I_SAVE = ' ' (space) </b> " user cannot save any layouts
<b>- I_SAVE = 'U' </b> " user can create and save user-specific layouts
<b>- I_SAVE = 'A' </b> " user can create and save user-specific/general layout
Regards
Uwe
10-23-2007 6:41 AM
hi,
just give me ur code and i will make correct it and let u solve d problem and it will show ur alv totals display.