cancel
Showing results for 
Search instead for 
Did you mean: 

Table Popin

Former Member
0 Kudos

After I created the Pop in Table, it opens all rows.

What is the mistake i did?

BR,

Ali

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

The Table.selectedPopin property controls whether and, if yes, which popin, is displayed for a row. The property must be linked to the data source of the table, if not a popin will appear in each row. The selectedPopin property contains the ID of the element, whose popin is to be displayed. Either the ID of the table for the row popin (Table.Popin) or the ID of the table column for a cell popin. If the value is set to initial, no popin is displayed for the row.

Former Member
0 Kudos

hi,

In the onSelect Event of Table write this code :

This would do :

1. Get the reference of node.

2. Finally set the Attribute CA_POP with the Table popin id which in my case is TABLEPOPiIN.

Here CA_POP is binded with selectedPopin property of table.

DATA lo_nd_cn_popin TYPE REF TO if_wd_context_node.

DATA lo_el_cn_popin TYPE REF TO if_wd_context_element.

DATA ls_cn_popin TYPE wd_this->element_cn_popin.

DATA lv_ca_pop LIKE ls_cn_popin-ca_pop.

  • navigate from <CONTEXT> to <CN_POPIN> via lead selection

lo_nd_cn_popin = wd_context->get_child_node( name = wd_this->wdctx_cn_popin ).

  • get element via lead selection

lo_el_cn_popin = lo_nd_cn_popin->get_element( ).

  • get single attribute

lo_el_cn_popin->set_attribute(

  • EXPORTING

name = `CA_POP`

  • IMPORTING

value = 'TABLEPOPIN' ).

I hope this would solve your issue.

Edited by: Saurav Mago on Oct 6, 2009 3:27 PM

Former Member
0 Kudos

hi ,

refer http://help.sap.com/SAPHELP_ERP2005/helpdata/EN/23/5e9041d3c72e7be10000000a1550b0/content.htm

In the stndard component WDR_TEST_TABLE , a string attribute is used to identify the table row.

rgds,

amit

Former Member
0 Kudos

Refer this Standard component : WDR_TEST_TABLE.

I hope it will help.