Posts

Showing posts with the label sort table control

ABAP Dialog Programming : Sorting selected column in Table Control

This is example of abap code for sorting selected table control. *---------------------------------------------------------------------* *      Form  F_SORT_TABLE *---------------------------------------------------------------------* *       text *----------------------------------------------------------------------* *      By Oka Wirasatha *----------------------------------------------------------------------* form F_SORT_TABLE using FV_CODE.   field-symbols :     <lfs1>,     <selected_col> type CXTAB_COLUMN.   data : LW_COLS like TC_ITEM-COLS.   data : LV_TXT1(20),          LV_INDEX(2) type N.   data : begin of W_SORT,           SORT01(20),           SORT02(20),           SORT03(20),           SORT04(20),         ...