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

Re: in default drop down field value how to make it first value in empty line ?

$
0
0

Hi deepak,

 

I have changed sorting order to default but still no luck.its not working..and i in get_v method super class here sorting condition is there..

 

lt_ddlb = cl_crm_uiu_bt_act_cust_get=>get_activity_categories( iv_proc_type = lv_process_type )


In get_activity_categories method last few lines like as below..please check the code last second line

SORT st_act_cat BY value ASCENDING.


LOOP AT lt_act_cat_descr INTO ls_act_cat_descr.

       ls_act_cat-key = ls_act_cat_descr-category.

       IF ls_act_cat_descr-description IS NOT INITIAL.

         ls_act_cat-value = ls_act_cat_descr-description.

       ELSE.

         ls_act_cat-value = ls_act_cat_descr-category.

       ENDIF.

       APPEND ls_act_cat TO st_act_cat.

     ENDLOOP.

   ENDIF.

   SORT st_act_cat BY value ASCENDING.

   rt_act_cat = st_act_cat.

.

Thanks & Regards

kalpana


Viewing all articles
Browse latest Browse all 7775

Trending Articles