Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to sort employee IDs in descending order with the help of search help exit

Former Member
0 Kudos

Hi Expertise,

I have to sort internal table content in descending order on pressing F4 this we can achieve through Search help exit,

I have tried like this.

Copied fm from f4if_shlp_exit_example to Z....

Sort record_tab by descending .

But its not working.

Please help me out.

Best regards,

Priyaranjan

1 REPLY 1

Former Member
0 Kudos

Hi priyaranjan,

Check the data in debug mode whether the record_tab is getting filled or not. If it is not filled use FM 'F4UT_RESULTS_MAP' to fill the data.

Refer the link F4UT_RESULTS_MAP Standard Search Help Exit for Filling Hit List - Function - ABAP - SAP to know how to use FM.

Once You get result from FM in to record_tab then sort the table as per your requirement.

Regards,
Ravikiran.K