This document describes how to initialize a table handler for a process elements table in ABAP. It explains that the table handler allows adjusting column positions and visibility as well as enabling export to Excel, sorting, and filtering. The method init_table_handler creates an object of class CL_WD_TABLE that can be used to initialize the table handler and deactivate certain functions like sorting and filtering.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
115 views
WD Table Column Settings
This document describes how to initialize a table handler for a process elements table in ABAP. It explains that the table handler allows adjusting column positions and visibility as well as enabling export to Excel, sorting, and filtering. The method init_table_handler creates an object of class CL_WD_TABLE that can be used to initialize the table handler and deactivate certain functions like sorting and filtering.
WD Table- Settings to adjust columns position and visibility
********************************************************************** * First Time Initalizations (only once) * ********************************************************************** IF first_time = abap_true. * Initialize Table Handler wd_this->mo_view = view. wd_this->init_table_handler( ). * Set Table Descriptions (from customizing) * wd_this->set_cust_column_text( ). ENDIF. WD Table- Settings to adjust columns position and visibility
METHOD init_table_handler . ********************************************************************** * Method: INIT_TABLE_HANDLER * * ------------------------------------------------------------------ * * Intialization of the table handler for the process elements table * * (required for filter and settings) * **********************************************************************
********************************************************************** DATA: lo_table TYPE REF TO cl_wd_table, lo_view_ctrl TYPE REF TO if_wd_view_controller, lo_comp TYPE REF TO if_wd_component, WD Table- Settings to adjust columns position and visibility ls_deactivated_func TYPE /plmu/cl_frw_tbl_hndl=>ts_deactivated_functions. **********************************************************************
ENDMETHOD. WD Table- Settings to adjust columns position and visibility WD Table- Settings to adjust columns position and visibility WD Table- Settings to adjust columns position and visibility