cancel
Showing results for 
Search instead for 
Did you mean: 

Set Node Instance Property

Former Member
0 Kudos

Hi,

I have a scenario in which i need to set the complete node instance as disabled(i.e. make it non-editable).

I have more than 45 attributes in the node, so changing property of each attribute of the instance would be tedious.

Also, I want to avoid setting the property in view exit.

Is there a way in which i can set the complete node instance as disabled at bobf level?

Thanks

Gautam

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

check in /SCMTMS/CL_TRQ_FC, there is macro , try this

setsubtree_update_enable abap_false.

setnode_update_enable abap_false.

Former Member
0 Kudos

Hi

Thanks a lot murugesh. I was able to disable the complete node instance in one go.

FYI:

The procedure is similar to setting individual attribute properties WITH THE FOLLOWING CHANGES.

In property structure "/BOBF/S_FRW_PROPERTY_K" the "CONTENT_CAT" is to be set to "NODE SUBTREE (S)".

And the "PROPERTY_NAME" is to be set to "UPDATE_ENABLED". Set this property value to "FALSE" and follow the usual steps for creating a property node instance, it works fine.

Cheers!

Gautam

0 Kudos

Hi Gautam,

Thanks for posting the additional information for all to use.

Mike