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

fields in layout

Former Member
0 Likes
2,716

what r the fields in LVC_S_LAYO structure?explain me each one.how to use that

5 REPLIES 5
Read only

Former Member
0 Likes
1,375

Hi,

LVC_S_LAYO is a structure used to Define the layout of the ALV grid.

Open the Structure in SE11 you will get the fields and their description.

For Smple code check this link-

http://www.erpgenie.com/sap/abap/controls/alvgrid.htm

Regards,

Sujit

Read only

Former Member
0 Likes
1,375

Hi

Go to se11 you will get all the fields.

go thru this link .You will get clear description for each filed.

http://help.sap.com/saphelp_erp2004/helpdata/en/ef/a2e9e9f88311d2b48d006094192fe3/content.htm

Reward points if useful.

cheers,

sowjanya.

Read only

Former Member
0 Likes
1,375
ZEBRA	LVC_ZEBRA	CHAR	1	0	ALV control: Alternating line color (striped)
EDIT	LVC_EDIT	CHAR	1	0	ALV control: Ready for input
EDIT_MODE	LVC_EDMO	CHAR	1	0	ALV control: Edit mode
NO_KEYFIX	LVC_NOKFIX	CHAR	1	0	ALV control: Do not fix key columns
FRONTEND	LVC_FRONT	CHAR	1	0	ALV control: Excel, Crystal or ALV
OBJECT_KEY	BDS_TYPEID	CHAR	70	0	Business Document Service: Object key
DOC_ID	BDS_DOCID	CHAR	42	0	Business Document Service: Document ID
TEMPLATE	BDS_FILENA	CHAR	255	0	Business Document Service: File names
LANGUAGE	LANG	LANG	1	0	Language ID
GRAPHICS	GUID_32	CHAR	32	0	GUID in 'CHAR' Format in Uppercase
SMALLTITLE	LVC_TITSZ	CHAR	1	0	ALV control: Title size
NO_HGRIDLN	LVC_HGRID	CHAR	1	0	ALV control: Hide horizontal grid lines
NO_VGRIDLN	LVC_VGRID	CHAR	1	0	ALV control: Hide vertical grid lines
NO_HEADERS	LVC_HEADS	CHAR	1	0	ALV control: Hide column headings
NO_MERGING	LVC_MERGE	CHAR	1	0	ALV control: Disable cell merging
CWIDTH_OPT	LVC_CWO	CHAR	1	0	ALV control: Optimize column width
TOTALS_BEF	LVC_TOTBEF	CHAR	1	0	ALV control: Totals output before individual records
.....

Whats wrong in Reading the Descriptions of the Structure LVC_S_LAYO fields in SE11.

Read only

Former Member
0 Likes
1,375

hi,

the fields in the lvc_s_layo are:

Field name Description Value range

CWIDTH_OPT If this field is set, the ALV X

Grid Control optimizes the

column width.

.

SMALLTITLE If this field is set, the title SPACE,X

size in the grid control is

set to the font size of the

column header.

GRID_TITLE Title between grid control

and toolbar

NO_HEADERS If this field is set, column SPACE, 'X'

headers are hidden.

NO_MERGING If this field is set, cells are SPACE, 'X'

not merged when a column

is sorted.

NO_TOOLBAR If this field is set, the toolbar SPACE, 'X'

is hidden

ZEBRA If this field is set, the list SPACE, 'X'

shows a striped pattern in the

print preview and when it is printed.

NO_TOTLINE If this field is set, only subtotals, SPACE, 'X'

but no totals, are displayed.

reward if useful,

thanks and regards.

Read only

former_member787646
Contributor
0 Likes
1,375

Hi

Couple of the attributes in the structure LVC_S_LAYO are

1. ZEBRA For Setting Alternate colors for the grid rows.

2. NO_TOOLBAR To Hide the ALV Grid Toolbar

3. GRID_TITLE Display the Title on the ALV Grid

4. SEL_MODE Selection Mode of the Grid Rows and Columns.

Hope this would help you.

Murthy