on 10-06-2009 10:38 AM
After I created the Pop in Table, it opens all rows.
What is the mistake i did?
BR,
Ali
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Refer this Standard component : WDR_TEST_TABLE.
I hope it will help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.