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
995

hi all,

Wht is the purpose for layout in alv.Can u give some examles.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
958

Layout

Determines properties of the grid control. The layout structure has nothing to do with the layout for saving filter, sort, and column properties.

this will optimize the columns according to the data

wa_layout-colwidth-optimize = 'X'.

ps_layout-zebra = 'X' .

ps_layout-grid_title = 'Flights' .

ps_layout-smalltitle = 'X' .

Message was edited by: Chandrasekhar Jagarlamudi

hi all,

Wht is the purpose for layout in alv.Can u give some examles.

8 REPLIES 8
Read only

Former Member
0 Likes
958

Hi,

ALV is reporting tool provided by SAP, you can refer the reports starting with BALV from SE38 transaction, this will give some idea about ALV reports,

Rgds,

Read only

Former Member
0 Likes
959

Layout

Determines properties of the grid control. The layout structure has nothing to do with the layout for saving filter, sort, and column properties.

this will optimize the columns according to the data

wa_layout-colwidth-optimize = 'X'.

ps_layout-zebra = 'X' .

ps_layout-grid_title = 'Flights' .

ps_layout-smalltitle = 'X' .

Message was edited by: Chandrasekhar Jagarlamudi

Read only

0 Likes
958

hi Alex,

Have a look at programs <b>BALV</b>

Read only

Former Member
0 Likes
958

to give the user better reporting structure and along with it a lot of other options like filter downloaad etc... u u ser ALV

see program BALVSD03 for a basic example

balv* and bcalv* are examples of alv in sap

Regaards

Harish

Read only

Manohar2u
Active Contributor
0 Likes
958

<b>Layouts</b>

With the help of layouts, users can customize the list output to meet their requirements. Application developers control user authorizations for layouts using parameters I_SAVE, IS_VARIANT and I_DEFAULT of method set_table_for_first_display.

Refer this link

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf

Regds

Manohar

Read only

Former Member
0 Likes
958

hi

you can design your own layout,like the column and row colours etc,

For examples goto the transaction se80 and give the package or class as SLIS and select PROGRAMS. You will get a lot of ALV program examples

Read only

Former Member
0 Likes
958

Hi Alex

With the help of layouts, users can customize the list output to meet their requirements.

The standard function Change Layout can be accessed by users by clicking an icon in the toolbar. This icon allows users to adjust the current layout to their requirements for the lifetime of the control instance.

In the default setting, users can save a default layout. If such a default layout exists, it is loaded when method set_table_for_first_display is called. If you do not want to allow users to create default layouts, set parameter I_DEFAULT of this method to SPACE .

The application developer determines if users are allowed to save layouts and defines the saving options available.

Regards

Abhishek