Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: Sort search help by specific text-column

$
0
0

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:

  1. CALL FUNCTION'F4UT_PARAMETER_SORT'
  2.        EXPORTING
  3.          parameter_sort  ='NAME'
  4.          leading_columns ='2'
  5.          DESCENDING      ='X'
  6.        TABLES
  7.          shlp_tab        = shlp_tab
  8.          record_tab      = record_tab
  9.        CHANGING
  10.          shlp            = shlp
  11.          callcontrol     = callcontrol.
  12.      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?


Viewing all articles
Browse latest Browse all 7775

Trending Articles