METHODS:
column_settings.
*$*$1
*$*$2
me->column_settings( ).
*$*$2
METHOD column_settings.
* Column Description
TRY.
o_salv_ida->field_catalog( )->set_field_header_texts(
iv_field_name = 'UCASE_TEXT'
iv_header_text = 'Text in Upper case' ).
CATCH cx_salv_ida_unknown_name
cx_salv_call_after_1st_display.
ENDTRY.
TRY.
* Column Description
o_salv_ida->field_catalog( )->set_field_header_texts(
iv_field_name = 'COUNT_PH'
iv_header_text = 'Placeholder Count' ).
CATCH cx_salv_ida_unknown_name
cx_salv_call_after_1st_display.
ENDTRY.
* Disable Sort
TRY.
o_salv_ida->field_catalog( )->disable_sort(
iv_field_name = 'MSGNR' ).
CATCH cx_salv_ida_unknown_name
cx_salv_call_after_1st_display.
ENDTRY.
* Disable Filter
TRY.
o_salv_ida->field_catalog( )->disable_filter(
iv_field_name = 'SPRSL' ).
CATCH cx_salv_ida_unknown_name
cx_salv_call_after_1st_display.
ENDTRY.
TRY.
o_salv_ida->field_catalog( )->enable_text_search(
iv_field_name = 'TEXT' ).
CATCH cx_salv_ida_unknown_name
cx_salv_call_after_1st_display.
ENDTRY.
ENDMETHOD.
Serkan AKKAVAK
Computer Engineer BSc
SAP Department Deputy Manager
Contact : serkurumsal@yandex.com
0 Comments