Skip to Content
1
May 04, 2015 at 10:54 AM

Custom view display 'XXXXXXXXXXXXXnot bound'

51 Views

Hi experts

I'm new to SAP CRM WEB UI development.

For now I'm facing a problem with creating of custom component UI.

First, I create 1 Custom Controller and 1 View Controller.

Then I create same type of context node base on GENIL Model (It's custom BOL created by my self) for each controller, Bind it all together.

Second, I have configured field which is displayed in screen.

Finally, I run to see the result in browser. But all of text fields in screen are showing the same message 'XXXXXXXXnot bound'.

Here is my code. when press the button.

DATA : lr_entity TYPE REF TO if_bol_bo_property_access,

lr_col TYPE REF TO cl_crm_bol_bo_col,

lv_report_header TYPE REF TO cl_bsp_wd_value_node.

CREATE object lr_col.

CREATE object lv_report_header

EXPORTING

iv_data_ref = ls_report_header. " Ref to the specific structure.

lr_col->if_bol_bo_col~add( lv_report_header ).

me->typed_context->MYNODE->collection_wrapper->set_collection( lr_col ).

How can I solve this problem?

Thank in advance for everyone.

Best Regards.

Krit R.