cancel
Showing results for 
Search instead for 
Did you mean: 

RE:Web dynpro in ABAP _lead selection

alex_georgek
Explorer
0 Kudos

Hi all,

What do you mean by Lead Selection in Web dynpro ABAP.What is its use.

Regards,

Alex.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Refer this blog :

/people/thomas.szcs/blog/2006/07/24/basic-concepts--selection-vs-leadselection

Answers (1)

Answers (1)

Former Member
0 Kudos

hi ,

refer this SAP online help

http://help.sap.com/saphelp_erp2005/helpdata/EN/7a/787e40417c6d1de10000000a1550b0/content.htm

eg u can select the particular row of a table via lead selection


reading context node cn_table

  DATA : lo_nd_cn_table TYPE REF TO if_wd_context_node ,
         lo_el_cn_table TYPE REF TO if_wd_context_element ,
         ls_cn_table    TYPE wd_this->element_cn_table.

*   navigate from <CONTEXT> to <CN_TABLE> via lead selection
  lo_nd_cn_table = wd_context->get_child_node(
                   name = wd_this->wdctx_cn_table ).
**    get element via lead selection
  lo_el_cn_table = lo_nd_cn_table->get_lead_selection(  ).
  lo_el_cn_table->get_static_attributes( IMPORTING
             static_attributes = wa_table ).

regards,

amit