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 LAYout

Former Member
0 Likes
1,013

What is the two meaning of group_change_edit and get_selinfos when you passe them in ALV, what are there purpose


  wa_layout-group_change_edit = c_x.
  wa_layout-get_selinfos = c_x.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
738

hi,

check the link..

group_change_edit...

http://help.sap.com/search/search_overview.jsp

The Print Structure

Use

The print structure contains fields for settings when the list is printed.

Structure

Field name

Description

Value range

GRPCHGEDIT

Enables user-definable group change editing for the print preview mode. If this field is set, the jump to the SAP List Viewer is configured accordingly. On the sort dialog box, the user can then determine how a sorting criterion value change is indicated graphically: as a page break or as an underline.

Using the sort table you can dynamically set this formatting.

SPACE, 'X'

NO_COLWOPT

The ALV Grid Control sets all columns to their optimum width before the list is printed or displayed in the print preview. If you set this parameter, this default setting is overridden.

SPACE, 'X'

PRNTLSTINF

Prints list information. If this field is set, information on sorting, subtotals and filters defined as well as data statistics are printed at the beginning of the list.

SPACE, 'X'

PRNT_TITLE

Specifies the time at which the grid title is to be printed (see also parameter GRID_TITLE in Properties of the ALV Grid Control).

0-3 with the following meaning:

0: Before the event PRINT_TOP_OF_LIST

1: After the event PRINT_TOP_OF_LIST

2: Before the event PRINT_TOP_OF_PAGE

3: After the event PRINT_TOP_OF_PAGE

RESERVELNS

Number of reserved rows for event print_end_of_page. If no number is specified, the text specified there is overwritten by the list.

Natural number

Integration

Lists that you display with the ALV Grid Control are printed with the SAP List Viewer. The print preview mode takes the user directly to the SAP List Viewer (you can disable this feature with field PRINT ). The settings made by the user here (such as defining a list with multiple lines) are considered when the list is printed.

The print output of event PRINT_END_OF_PAGE and field PRNTLSTINF is not visible in the print preview of the SAP List Viewer. If users create a spool request first, they can check the final list layout in transaction SP01 .

                            • hope it helps **********

3 REPLIES 3
Read only

Former Member
0 Likes
739

hi,

check the link..

group_change_edit...

http://help.sap.com/search/search_overview.jsp

The Print Structure

Use

The print structure contains fields for settings when the list is printed.

Structure

Field name

Description

Value range

GRPCHGEDIT

Enables user-definable group change editing for the print preview mode. If this field is set, the jump to the SAP List Viewer is configured accordingly. On the sort dialog box, the user can then determine how a sorting criterion value change is indicated graphically: as a page break or as an underline.

Using the sort table you can dynamically set this formatting.

SPACE, 'X'

NO_COLWOPT

The ALV Grid Control sets all columns to their optimum width before the list is printed or displayed in the print preview. If you set this parameter, this default setting is overridden.

SPACE, 'X'

PRNTLSTINF

Prints list information. If this field is set, information on sorting, subtotals and filters defined as well as data statistics are printed at the beginning of the list.

SPACE, 'X'

PRNT_TITLE

Specifies the time at which the grid title is to be printed (see also parameter GRID_TITLE in Properties of the ALV Grid Control).

0-3 with the following meaning:

0: Before the event PRINT_TOP_OF_LIST

1: After the event PRINT_TOP_OF_LIST

2: Before the event PRINT_TOP_OF_PAGE

3: After the event PRINT_TOP_OF_PAGE

RESERVELNS

Number of reserved rows for event print_end_of_page. If no number is specified, the text specified there is overwritten by the list.

Natural number

Integration

Lists that you display with the ALV Grid Control are printed with the SAP List Viewer. The print preview mode takes the user directly to the SAP List Viewer (you can disable this feature with field PRINT ). The settings made by the user here (such as defining a list with multiple lines) are considered when the list is printed.

The print output of event PRINT_END_OF_PAGE and field PRNTLSTINF is not visible in the print preview of the SAP List Viewer. If users create a spool request first, they can check the final list layout in transaction SP01 .

                            • hope it helps **********

Read only

0 Likes
738

i read the definition but could you please give a more concrete example

Read only

Former Member
0 Likes
738

hi,

Plz refer to this thread.

[http://help.sap.com/saphelp_erp2004/helpdata/en/2b/c670f402cf11d3b497006094192fe3/frameset.htm]

Hope this will help.

Regards

Sumit Agarwal