Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

alv

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

uwe_schieferstein
Active Contributor
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

uwe_schieferstein
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.