Hi All,
I have a WD component in which there are 2 views v1 ,v2 . V2 have a view container containing v1 . v1 contains 3 button.On clicking one continue button from v2 another view opens up as pop-up.Now the problem is whenevr i keep a viewcontainer for v1 in the pop-up "The ASSERT condition was violated" is shown while closing the pop-up.Please help.
thnxx in advance.
Request clarification before answering.
Hi All,
While Executing the web dynpro ABAP ,I got the below short dump as " ASSERTION_FAILED" .
Please help me to sove that issue.
It shows error area in the below code
>> UCA STANDARD|DROPDOWN_BY_KEY|E_COMBOBOXSELECTIONCHANGE|UCA_HANDLE_EVENT
check IFUR_NW7_COMBOBOX~ITEMCOUNT > 0.
read table mv_VALUE_SET transporting no fields with key value = value.
assert sy-subrc = 0. " sanity check: selected value really existing
if value is initial.
" Set default value and isNull if applicant
element = get_bound_element( WD_DROPDOWN_BY_KEY->bp_SELECTED_KEY ).
i_update_data->update_attribute(
view = WD_DROPDOWN_BY_KEY->view
element = element
value = VALUE
is_external = abap_true
property_type = 'STRING' "#EC NOTEXT
attribute_name = WD_DROPDOWN_BY_KEY->bp_SELECTED_KEY->attribute_name
).
else.
element = get_bound_element( WD_DROPDOWN_BY_KEY->bp_SELECTED_KEY ).
i_update_data->update_attribute(
view = WD_DROPDOWN_BY_KEY->view
element = element
value = VALUE
is_external = abap_false
property_type = 'STRING' "#EC NOTEXT
attribute_name = WD_DROPDOWN_BY_KEY->bp_SELECTED_KEY->attribute_name
).
endif.
* >> END_UCA STANDARD|DROPDOWN_BY_KEY|E_COMBOBOXSELECTIONCHANGE|UCA_HANDLE_EVENT
assert IFUR_NW7_COMBOBOX~ENABLED = abap_true and
IFUR_NW7_COMBOBOX~READONLY = abap_false.
concatenate wd_DROPDOWN_BY_KEY->_component->id '.' wd_DROPDOWN_BY_KEY->view->name into view_name. "#EC NOTEXT
command = wd_DROPDOWN_BY_KEY->get_ON_SELECT( ).
if command is not initial.
create object server_event
exporting
source = wd_DROPDOWN_BY_KEY
command = command
type = if_wd_event=>co_action_event
view_name = view_name
ui_element_id = wd_DROPDOWN_BY_KEY->id
ui_element_event = 'ON_SELECT'. "#EC NOTEXT
wd_DROPDOWN_BY_KEY->mapped_ON_SELECT( importing parameters = _l_event_param_mappings ).
server_event->add_parameters( _l_event_param_mappings ).
server_event->set_parameter( name = 'ID' value = wd_DROPDOWN_BY_KEY->id ). "#EC NOTEXT
server_event->set_parameter( name = 'CONTEXT_ELEMENT' object = m_context_element type = CL_ABAP_TYPEDESCR=>TYPEKIND_OREF ). "#EC NOTEXT
Message was edited by: Surya S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.