ABAP Class Reference
Explore supported ABAP classes, method signatures, parameters and usage examples in the Zed Frame educational workbench.
CL_SALV_TABLE
Create and display a local table viewer, then access its configuration objects.
FACTORY
Create a local SALV table facade.
IMPORTING r_salv_table; CHANGING t_tablecl_salv_table=>factory(
IMPORTING r_salv_table = salv
CHANGING t_table = rows ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
GET_COLUMNS
Get column configuration for the displayed table.
RETURNING columnscolumns = salv->get_columns( ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
GET_DISPLAY_SETTINGS
Get title and striped-row settings.
RETURNING display settingssettings = salv->get_display_settings( ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
GET_AGGREGATIONS
Get numeric aggregation settings.
RETURNING aggregationsaggregations = salv->get_aggregations( ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
GET_SORTS
Get row-sort settings.
RETURNING sortssorts = salv->get_sorts( ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
GET_FILTERS
Get local row-filter settings.
RETURNING filtersfilters = salv->get_filters( ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
GET_SELECTIONS
Get row-selection configuration.
RETURNING selectionsselections = salv->get_selections( ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
GET_LAYOUT
Get local layout settings.
RETURNING layoutlayout = salv->get_layout( ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
DISPLAY
Render the local table to the SAP List Viewer output.
No parameterssalv->display( ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
REFRESH
Re-render after local table or display settings change.
No parameterssalv->refresh( ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
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.
CL_SALV_COLUMN_TABLE
Set visible labels, visibility, numeric formatting, and technical status.
SET_SHORT_TEXT
Set the short column label.
EXPORTING value TYPE STRINGamount_column->set_short_text( value = 'Amt' ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
SET_MEDIUM_TEXT
Set the medium column label.
EXPORTING value TYPE STRINGamount_column->set_medium_text( value = '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_LONG_TEXT
Set the long column label.
EXPORTING value TYPE STRINGamount_column->set_long_text( value = '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_VISIBLE
Show or hide a column.
EXPORTING value TYPE ABAP_BOOLamount_column->set_visible( 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.
SET_TECHNICAL
Mark a column technical so it is omitted from rendered output.
EXPORTING value TYPE ABAP_BOOLamount_column->set_technical( value = abap_false ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
SET_OUTPUT_LENGTH
Set a bounded column output width.
EXPORTING value TYPE I, 1..512amount_column->set_output_length( value = 12 ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
SET_DECIMALS
Set display precision for numeric columns.
EXPORTING value TYPE I, 0..14amount_column->set_decimals( value = 2 ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
CL_SALV_DISPLAY_SETTINGS
Set the local list title and striped-row presentation.
SET_LIST_HEADER
Set the report heading.
EXPORTING value TYPE STRINGsettings->set_list_header( value = 'Inventory' ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
GET_LIST_HEADER
Read the current report heading.
RETURNING header TYPE STRINGheader = settings->get_list_header( ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
SET_STRIPED_PATTERN
Enable alternating row shading in the viewer.
EXPORTING value TYPE ABAP_BOOLsettings->set_striped_pattern( 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.
CL_SALV_AGGREGATIONS
Add, remove, and clear totals on numeric SALV columns.
ADD_AGGREGATION
Add TOTAL, MINIMUM, MAXIMUM, or AVERAGE to a numeric column.
EXPORTING columnname TYPE STRING; aggregation TYPE STRINGaggregations->add_aggregation(
columnname = 'AMOUNT'
aggregation = 'TOTAL' ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
REMOVE_AGGREGATION
Remove one local aggregation.
EXPORTING columnname TYPE STRINGaggregations->remove_aggregation( columnname = 'AMOUNT' ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
CLEAR
Remove all aggregation settings.
No parametersaggregations->clear( ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
CL_SALV_SORTS
Add and clear local sort specifications.
ADD_SORT
Sort a column ascending or descending.
EXPORTING columnname TYPE STRING; sequence TYPE STRINGsorts->add_sort( columnname = 'CATEGORY' sequence = 'SORT_UP' ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
REMOVE_SORT
Remove one sort specification.
EXPORTING columnname TYPE STRINGsorts->remove_sort( columnname = 'CATEGORY' ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
CLEAR
Remove all sort specifications.
No parameterssorts->clear( ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.