on 06-20-2012 12:32 PM
Hi Friends,
I am creating node as dynamically , so when i am creating the node by default it is taking the cardinality as MULTIPLE but i want to restrict the node as 1..1 .
How to set Cardinality as dynamically.
Thanks,
Raghunadh.K
Hi Raghu,
Use below code...
lr_child_node_info = lr_node_info->add_new_child_node(
name = 'STUDENT'
is_singleton = abap_true
is_multiple = abap_false
is_mandatory = abap_true
static_element_type = 'YSTR_PERSON' ).
in above code
IS_MULTIPLE = abap_false. (Gives cardinality 1...1).
Regards,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.