04-23-2014 6:32 PM
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
04-24-2014 6:11 AM
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