‎2007 Apr 26 5:30 PM
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
‎2007 Apr 26 5:36 PM
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
‎2007 Apr 26 6:29 PM
Hi,
Check the following link:
http://help.sap.com/saphelp_nw04/helpdata/en/97/24a23fa34ffb47e10000000a114084/frameset.htm
Regards,
Bhaskar
‎2007 Apr 27 9:19 AM
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
‎2007 May 07 3:29 PM
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
‎2007 May 07 3:30 PM
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