on 10-09-2009 8:14 AM
Hi Expert,
I am creating a pop-in for one column of table UI. I have a LinkToAction object to open pop-in. i have some lable and input fields in pop-in. I dont know the flow to display the pop-in and where should i assign data to pop-in fields. how system will know which row i am clicking? Please help to know all details. I have a lots of questions.
I am able to create link on the column and when i am clicking on link i am getting below error.
"Node VIEW_VAL.1.POP_IN does not contain any elements" but i have attributes in node POP-_N.
Please help me.
Thanks and Regards,
Anil
-
-
Details from ST22----
-
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_WDR_ADAPTER_EXCEPTION', was not
caught and
therefore caused a runtime error.
The reason for the exception is:
Adapterfehler im INPUT_FIELD "INPUT_FIELD01" des Views
"Z_BP_GENERAL.VIEW_VAL": Context-Bindung des Properties VALUE kann nicht
aufgelöst werden: Node VIEW_VAL.1.POP_IN does not contain any elements
The occurrence of the exception is closely related to the occurrence of
a previous exception "CX_WD_CONTEXT", which was raised in the program
"CL_WDR_CONTEXT_NODE===========CP",
specifically in line 9 of the (include) program
"CL_WDR_CONTEXT_NODE===========CM00R".
The cause of the exception was:
Node VIEW_VAL.1.POP_IN does not contain any elements
-
-
hi,
Use this code in OnAction of LinktoAction UI element.
This code will give you index of the row from which Link to Action is Triggered.
<cn_popin> is my node binded to Table.
data: lr_element type ref to if_wd_context_element.
DATA ls_cn_popin TYPE wd_this->element_cn_popin.
lr_element = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).
get all declared attributes
lr_element->get_static_attributes(
IMPORTING
static_attributes = ls_cn_popin ).
data lv type I.
lv = lr_element->GET_INDEX( ).
Finally you have the index in varialbe lv.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For understanding what the table pop in is follow this link.
http://help.sap.com/saphelp_erp2005/helpdata/EN/23/5e9041d3c72e7be10000000a1550b0/frameset.htm
U can ferer the standard component also.
WDR_TEST_TABLE in this two views are there.
1. ROW_POPIN
2. Cell_popin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.