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,

 

Thanks for your reply.

 

I have checked SPRO settings-Transactions-settings for activities-assign categories to transaction types. but here only they maintained all drop down 5 values.

 


In coding idid the changes as  below..in debugging mode the values showing it_selection_table = li_result1 ). li_result1 tab like as below screen shot.but why it is still showing default value  ZAP in webui.??


snip.PNG

READ TABLE lt_ddlb INTO ls_ddlb WITH KEY key = ' '.

       IF sy-subrc EQ 0.

         DELETE lt_ddlb  INDEX sy-tabix.

         DELETE lt_ddlb  WHERE key = ' '.

         APPEND ls_ddlb to li_result1.

*         INSERT INITIAL LINE INTO lt_ddlb index sy-tabix.

          APPEND LINES OF lt_ddlb TO li_result1.

       ENDIF.

 

       IF NOT gr_ddlb_category IS BOUND.

         CREATE OBJECT gr_ddlb_category

           EXPORTING

             iv_source_type = 'T'.

       ENDIF.

       gr_ddlb_category->set_selection_table( it_selection_table = li_result1 ).

       rv_valuehelp_descriptor = gr_ddlb_category.

   ENDCASE.

 

ZAP

 

 

 

 

 

Thanks & Regards

Kalpana


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>