2006 Jul 18 11:08 AM
hi all,
Wht is the purpose for layout in alv.Can u give some examles.
2006 Jul 18 11:10 AM
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.
2006 Jul 18 11:10 AM
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,
2006 Jul 18 11:10 AM
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
2006 Jul 18 11:11 AM
2006 Jul 18 11:10 AM
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
2006 Jul 18 11:11 AM
<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
2006 Jul 18 11:11 AM
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
2006 Jul 18 11:22 AM
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
2006 Jul 18 11:26 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |