Hi, all
Just encountered some difficuties. need you help.
I bound an attribute ATTR1 of NODE1 to UI element TEXTVIEW. and the type of ATTR1 is NUMC(2)
so if i dont give any value to ATTR1, the default displaying value is '00', in order to amend this 'incorrect' result, let it be 'NULL'.
I gave some code in hook method WDDOINIT
''
DATA: lr_node_info TYPE REF TO if_wd_context_node_info.
lr_node_info = wd_context->get_node_info( ).
lr_node_info->set_nullable( ).
wd_context->set_attribute_null(
EXPORTING
name = 'ATTR1' ).
''
but errors occured.
' Could not find attribute ATTR1 ?????????ꯃ扡瑳楲p'
Sinerely thank you, if you could help me ..
😊
regards,
nick.