Hi Maren Ezhno,
You will get all context nodes by using m_models and typed_context there are 2 ways..
first way..
declare the context node type.. here i am using context_node_asp.
and result variable..
that result you need to store in one table type..
DATA:
lr_cn_asp TYPE REF TO cl_bsp_wd_context_node_asp,
rv_result TYPE string.
FIELD-SYMBOLS: <node> TYPE lbsp_model_item.
LOOP AT me->m_models ASSIGNING <node>.
lr_cn_asp ?= <node>-instance.
rv_result = <node>-model_id.
TRANSLATE rv_result TO UPPER CASE.
ENDTRY.
ENDLOOP.
In rv_result you will get context node name...
Second way.
declare like this.. if you'r working in same view.
Data : lr_context type ref to cl_bsp_wd_context.
lr_context ?= me->typed_context.
in lr_context you will get all context nodes which are there context class..
you can come to know to see this pic..
Thanks & Regards,
Srinivask