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

Re: Adding New Row to Assignment Block

$
0
0

Hi Heera Ramanunny,

 

when ever you have created table view in that there is a method do_init_context double click on that method and change at last select_single into select_multiedit. then we can edit table filed..

 

snippet code:

 

typed_context->contextnode->set_selection_mode(lv_selection_mode = cl_bsp_wd_context_node_tv=>select_ multiedit).

 

and write the this code in your add button.. it might help full to edit all the fields

 

types : BEGIN OF TY_LINE,

                ex type table-fieldname.  " decalre your fileds like this

                ex1 type table-fieldname1.

        END OF TY_LINE.

 

 

  data :  lr_valuenode type ref to cl_bsp_wd_value_node,

            wa_line type ref to ty_line.

 

 

  CREATE DATA wa_line.

 

 

  CREATE OBJECT LR_VALUENODE

    EXPORTING

      IV_DATA_REF = wa_line.

 

 

  typed_context->contxtnode->collection_wrapper->add(  lr_valuenode ).

 

Thanks & Regards

Srinivas


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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