Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8118

Re: Context binding error in Dynamic UI element creation

$
0
0

Hi Vishal,

 

Actually, for an input field the node should be with cardinality either 1...1 / 1...n. i.e. at least one element should exist. So you need to pass "is_mandatory = abap_true" while creating node.

 

Please modify your code as below

CALL METHOD lr_root_node_info->add_new_child_node

     EXPORTING

       name                         = 'INPUT'

       is_mandatory = abap_true

       is_multiple                  = abap_false

       is_multiple_selection        = abap_false

*      is_initialize_lead_selection = abap_false

     RECEIVING

       child_node_info              = lr_input_node_info.


Hope this helps you.


Regards,

Rama


Viewing all articles
Browse latest Browse all 8118

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>