Skip to Content

Selected Columns are disappearing in Table maintenance screen after clicking on custom SORT buttons

I have added SORT Ascending and Descending buttons to my maintenance screen by copying standard EULG status. I have implemented logic for both the buttons in one module in PAI. I did changes to the screen to enable column selection, as sorting is based on columns selected by user. I have implemented logic by using Dynamic SORT technique, Now my issue is if i select any columns and click on Any of the SORT BUTTON, all the selected columns are totally disappearing from the maintenance screen (i.e. only columns which are not selected by user are only appearing). Again if i go back and execute sm30 for the same table all columns are appearing. Can anyone help me any other changes required or corrections to the current logic.

NOTE: I debugged the whole program, SORT Operations logic is working fine. after sorting i am filling TOTAL Internal table with sorted data in PROCESS AFTER INPUT Module.

Logic i have written in PAI module is:

CASE Function.

when 'Ascending'.

IT_TEMP[] = TOTAL[].

Dynamic sort internal table filling logic for selected columns. (i.e.IT_SORT)

SORT IT_TEMP STABLE BY (IT_SORT).

TOTAL[] = IT_TEMP[].

ENDCASE.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers