Layout Options In ALV

CWIDTH_OPT

If this field is set, the ALV Grid Control optimizes the column width. You can then see the column header and the contents of the cells of this column.

SPACE, ‘X’

SMALLTITLE

If this field is set, the title size in the grid control is set to the font size of the column header.

SPACE, ‘X’

GRID_TITLE

Title between grid control and toolbar

Char string of max. 70

NO_HEADERS

If this field is set, column headers are hidden.

 SPACE, ‘X’

NO_HGRIDLN

If this field is set, columns are displayed without horizontal grid lines.

SPACE, ‘X’

NO_MERGING

If this field is set, cells are not merged when a column is sorted.

 SPACE, ‘X’

NO_ROWMARK

If this field is set, the button at the beginning ofa row is hidden in selection modes cell selection ( SEL_MODE = ‘D’ ) and column/row selection

( SEL_MODE = ‘A’ ).

 SPACE, ‘X’

NO_TOOLBAR

If this field is set, the toolbar is hidden.

SPACE, ‘X’

NO_VGRIDLN

If this field is set, columns are displayed without vertical grid lines.

SPACE, ‘X’

SEL_MODE

Set the selection mode

SPACE, ‘A’, ‘B’, ‘C’, ‘D’

EXCP_CONDS

If this field is set, the ALV also shows an exception in the (sub)totals line. As the color for this exception, the ALV uses the smallest exception value (‘1’: red, ‘2’: yellow, ‘3’ green) of the rows to which the (sub)total refers.

SPACE, ‘X’

EXCP_FNAME

Field name of the output table for displaying an exception

Char string of max. 30

EXCP_LED

The exception is not displayed as a traffic light, but as an LED.

SPACE, ‘X’

EXCP_ROLLN

Name of a data element. The F1 help for this data element is then called for the exception column. In addition, the longfield label of the element is displayed as the tool tip for

this column.

Char string of max. 30

CTAB_FNAME

Field name in output table for coloring cells

 Char string of max. 30

INFO_FNAME

Field name in output table for coloring rows

Char string of max. 30

ZEBRA

If this field is set, the list shows a striped pattern in the print preview and when it is printed.

SPACE, ‘X’

NO_TOTARR

The ALV Grid Control displays arrows in the totals line and the subtotals line that additionally indicate the totaling area. Set this parameter to suppress these arrows.

SPACE, ‘X’

NO_TOTEXP

An icon displayed at the beginning of a (sub)totals lineindicates whether the line has been expanded or not. Set this parameter to suppress this icon.

 SPACE, ‘X’

NO_TOTLINE

If this field is set, only subtotals, but no totals, are displayed

SPACE, ‘X’

NUMC_TOTAL

If this field is set, the user can calculate totals for fields of data type NUMC (normally, users are not allowed to do this).

SPACE, ‘X’

TOTALS_BEF

If this field is set, the ALV displays totals calculated as the first rows in the grid control. Subtotals are displayed before a new value of the subtotals criterion.

SPACE, ‘X’

DETAILINIT

If this field is set, the detail screen also shows columns with initial values.

SPACE, ‘X’

DETAILTITL

Title in the title bar of the detail screen.

Char string of max. 30

S_DRAGDROP

Structure for Drag & Drop settings

KEYHOT

If this field is set, all key fields are hotspot-sensitive. If a key field is clicked once, event hotspot_click is triggered.

SPACE, ‘X’

SGL_CLK_HD

Enables the single click on column header function.This function sorts the list in ascending order when the column is clicked for the first time, and then in descending order when the

column is clicked a second time.

 SPACE, ‘X’

STYLEFNAME

You use this field to pass the name of the cell table for displaying cells as pushbuttons.

Char string of max. 30

출처 : http://wiki.scn.sap.com/wiki/display/ABAP/Layout+Options+In+ALV

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments