Dynamically create reference attribute
My current requirement is to create dynamically context attributes. I used the followings :
DATA: ls_attribute TYPE wdr_context_attribute_info.
ls_attribute-name = 'ATTR_1' .
ls_attribute-default_value = ''.
ls_attribute-type_name = 'STRING'.
node_info->add_attribute( EXPORTING attribute_info = ls_attribute ).
And it works fine. But I also need to create a Ref To type dynamic attribute as reference to a class object and nothing seems to work. Any suggestions ?
Thank you in advance,