Now, when the issue has been solved, I would like to specify the reason, why F4UT_PARAMETER_SORT( ) function didn't work for me.
I've used the following code:
- CALL FUNCTION'F4UT_PARAMETER_SORT'
- EXPORTING
- parameter_sort ='NAME'
- leading_columns ='2'
- DESCENDING ='X'
- TABLES
- shlp_tab = shlp_tab
- record_tab = record_tab
- CHANGING
- shlp = shlp
- callcontrol = callcontrol.
- callcontrol-sortoff ='X'.
where NAME is a column, on which the data should be sorted.
I've specified «leading_columns = '2'» because STRING field inside of record_tab table structure contains ID (two digits) and NAME.
All this code I've put into «callcontrol-step = 'DISP'» case and we're 100% execute this code.
What's may be wrong in this code?
Thanks.
P.S. What's the reason for «callcontrol-sortoff = 'X'» parameter?