Skip to Content

Column selection in SM30 screen

I have a table with TMG created for it. My requirement is to put 2 buttons in SM30 screen one is for Ascending and another is for Descending Order sort functionality. In sm30 screen if I try to select whole column, it is not getting selected as it does in reports. In reports if we click on any Column heading automatically whole column will be selected. Here, if i click on Column heading(Field name) nothing is selected. I can see that SM30 program is a module pool program. It's an urgent requirement. Can anyone help me to implement logic for selecting whole column when user clicked on any column heading and sort operation.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 18, 2017 at 01:54 PM

    Hi Kiran,

    In Table control, we can select the column as like ALV. Just change the table control properties as shown below.

    Modify the TMG PF-STATUS by adding the Ascending and Descending button. Also write the respective code under PAI section.

    Regards

    Rajkumar Narasimman

    Add comment
    10|10000 characters needed characters exceeded