Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error in context binding for text property

Hello experts,

I receive this error in my WD4A application:

The following error text was processed in the system XXX : Context binding for property TEXT of "T_MONTHTO"

cannot be resolved: Node MAINVIEW.1.TEMPVAL2 does not contain any elements

The error occurred on the application server sapxxxxx_XXX_00 and in the work process 0 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: RAISE_FOR of program CX_WDR_ADAPTER_EXCEPTION======CP

Method: RAISE_BINDING_EXCEPTION of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP

Method: GET_BOUND_ELEMENT of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP

TEMPVAL2 has cardinality 0..1, selection 0..1, Inizialization Lead Selection false and the ST22 dump says:

 
33
34   if l_adapter->m_view_element is bound.
35     l_component ?= l_adapter->m_view_element->view->if_wd_controller~get_component( ).
36     l_view_name = l_adapter->m_view_element->view->name.
37     l_view_element_id = l_adapter->m_view_element->id.
38     l_component_name = l_component->component_name.
39   endif.
40
41   if l_adapter->m_context_element is bound.
42     l_path = l_adapter->m_context_element->get_path( ).
43   endif.
44
>>   raise exception type cx_wdr_adapter_exception
46     exporting
47         textid          = textid
48         previous        = previous
49         component_name  = l_component_name
50         view_name       = l_view_name
51         view_element_id = l_view_element_id
52         adapter_stack   = l_adapter_stack
53         path            = l_path
54         p1              = l_p1
55         p2              = l_p2
56         p3              = l_p3
57         p4              = l_p4
58         reason          = reason.
59 endmethod.

Could anybody please tell me why exactly this error is occuring?

Many regards,

Martin

Not what you were looking for? View more on this topic or Ask a question