Application Development and Automation 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: 
Read only

alv

Former Member
0 Likes
456

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
Read only

uwe_schieferstein
Active Contributor
0 Likes
435

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
Read only

Former Member
0 Likes
435

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

Read only

uwe_schieferstein
Active Contributor
0 Likes
436

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

Read only

Former Member
0 Likes
435

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.