CL_SALV_COLUMNS_TABLE — ABAP Class
Configure column ordering and retrieve columns from a local SALV table.
CL_SALV_COLUMNS_TABLE
Configure column ordering and retrieve columns from a local SALV table.
SET_OPTIMIZE
Use content-based widths in the local viewer.
EXPORTING value TYPE ABAP_BOOLcolumns->set_optimize( value = abap_true ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
GET_COLUMN
Retrieve one column by field name.
EXPORTING columnname TYPE STRING; RETURNING columnamount_column = columns->get_column( 'AMOUNT' ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
GET_COLUMN_POSITION
Read the one-based column position.
EXPORTING columnname TYPE STRING; RETURNING position TYPE Iposition = columns->get_column_position( 'AMOUNT' ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
SET_COLUMN_POSITION
Move a column to a validated one-based position.
EXPORTING columnname TYPE STRING; position TYPE Icolumns->set_column_position( columnname = 'AMOUNT' position = 1 ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.