Skip to Content
0
Former Member
Jun 16, 2011 at 09:11 AM

Error: Fields not Bound.

352 Views

Hi,

I have developed Z UI Comopnent and facing Error on UI screen for each filed 'Filed not Bound'.

Below are the steps which i have followed.

1) Created UI component ZTEST_BP.

2) Added Model - ALL to models using runtime repository.

3) Created Custom controller BPCuCO using wizard - Added Model Node BUILHEADER.

4) Created new View BPDetailsview using wizard, also done binding of view with custim controller during wizard.

5) In newly created view added First Name, Last Name, Sex fields to the View using UI Config tool in GUI.

6) Assigned View to the window using Runtime Repository.

7) Executed Application.

So after execution i am still getting message in each filed as FIRSTNAMEnot bound, LASTNAMEnot bound. Also when i am navigating to the context node it is showing its bound to the Custum controller. Even below code is generated in CREATE method of context impl class.

method create_builheader.

data:

model type ref to if_bsp_model,

coll_wrapper type ref to cl_bsp_wd_collection_wrapper,

entity type ref to cl_crm_bol_entity, "#EC *

entity_col type ref to if_bol_entity_col. "#EC *

model = owner->create_model(

class_name = 'ZL_ZBP_UPDA_BPUPDATEVIEW_CN00'

model_id = 'BuilHeader' ). "#EC NOTEXT

builheader ?= model.

clear model.

  • bind to custom controller

owner->do_context_node_binding(

iv_controller_type = cl_bsp_wd_controller=>co_type_custom

iv_name =

'ZTEST_BP/bpupdateCuCo' "#EC NOTEXT

iv_target_node_name = 'BUILHEADER'

iv_node_2_bind = builheader ).

endmethod.

Can any one please help, what can be the reason ? why this message is getting populated in UI. And what can be done to correct the same.

Regards,

Raghu.