cancel
Showing results for 
Search instead for 
Did you mean: 

Is it Possible to add OVS to Dynamic node?

Former Member
0 Kudos

Hi,

I have the following requirement. I will create the OVS component usage . Actually in my webdynpro component, Nodes ,attributes and UI elements are generating dynamically. So in the runtime, while adding the attribute, i am tring to add the OVS component as input help mode as follow:

ls_attribute-name = 'TEST2'.

ls_attribute-VALUE_HELP_MODE = '3'.

ls_attribute-VALUE_HELP_ID = 'OVS_USAGE1'.

ls_attribute-VALUE_HELP_AVAILABLE = 'X'.

ls_attribute-VALUE_HELP_TYPE = '4'.

ls_attribute-REFERENCE_CALLBACK_OBJECT = 'OVS_USAGE1'.

ls_attribute-type_name = 'CHAR10'.

lr_nodeinfo->add_attribute( ls_attribute ).

clear ls_attribute.

But it is not working because field VALUE_HELP_MODE has only 2 possible values in its domain. 0-Deactivate, 1- Activated. There is not other 3 values(OVS, Search Help and Free Style programming).

Could you please help me to solve this issue? Please let me know if Note or information you have.

Thanks in Advance,

Best Regards,

Vijay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi gangisetty....

what you can do is....

have a node and an attribute with ovs.

during runtime you can change the type of this attribute according to your logic.

so by any means you will be having a ovs.

---regards,

alex b justin

Answers (2)

Answers (2)

Former Member
0 Kudos

I sovled with the following code which i found by Reaserch

ls_attribute-name = 'TEST4'.

ls_attribute-type_name = 'CHAR10'.

lr_nodeinfo->add_attribute( ls_attribute ).

CALL METHOD LR_NODEINFO->set_attribute_value_help( name = 'TEST4' " Attrubute Name

value_help_mode = 131 " For OVS

value_help = 'OVS_USAGE1' ). "OVS Usage Name

Thanks for you support,

Sridevi: The document which you sent is useful for me in future. Thanks

Warm Regards,

Vijay

Former Member
0 Kudos