Skip to Content
0
May 13, 2013 at 06:03 AM

Search Help Exit Descending Order values Display

621 Views

Hi Guru's,

I have created Search Help Exit for my Custom Field. I want to display the values in Descending Order when I press F4 Help. How can I Achieve that.

I written the Below logic in the Search Help FM but it will display in Ascending Order. Can you please Suggest me how can I resolve the Problem?

{Code}

CASE callcontrol-step.
*** when Display
WHEN 'DISP'.
*** sort the record tab internal table
SORT record_tab DESCENDING.
***delete the duplicate entries
DELETE ADJACENT DUPLICATES FROM record_tab.
ENDCASE.

{Code}

Thanks,

Dhina.