Application Development and Automation 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: 
Read only

Sorting a help

Former Member
0 Likes
793

Hello experts,

another question. I have created a search help and added it to a field I made in the screen painter. This search help consist of 3 fields. It should be sorted on the 3th field (not an import or export parameter) descending.

is this possible?

kind regards,

Wim

5 REPLIES 5
Read only

Former Member
0 Likes
618

i feel you can write search help exit in that search help. you can code your sort in search help exit.

Try i am not sure

Read only

Former Member
0 Likes
618
Read only

Former Member
0 Likes
618

Thanks,

I've created a function module in SE37 but I can't get it to sort the fields.

Field 1: Text field

Field 2: Date

Field 3: Date

sorting:

SORT ?? BY Field 3 DESCENDING

Field 2 ASCENDING

Field 1 ASCENDING.

I can't sort shlp-interface or shlp_tab-interface because it contains the fieldname's and not the values in them, I can't seem to find the field values in any variable.

kind regards,

Wim

Read only

Former Member
0 Likes
618

Thanks,

I've got the solution:

CALL FUNCTION 'F4UT_PARAMETER_SORT'

EXPORTING

parameter_sort = 'KORTTOT'

  • LEADING_COLUMNS = '0'

descending = 'X'

TABLES

shlp_tab = shlp_tab

record_tab = record_tab

CHANGING

shlp = shlp

callcontrol = callcontrol.

kind regards,

Wim

Read only

Former Member
0 Likes
618

Thanks,

I've got the solution:

CALL FUNCTION 'F4UT_PARAMETER_SORT'

EXPORTING

parameter_sort = 'KORTTOT'

  • LEADING_COLUMNS = '0'

descending = 'X'

TABLES

shlp_tab = shlp_tab

record_tab = record_tab

CHANGING

shlp = shlp

callcontrol = callcontrol.

kind regards,

Wim