Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Static attribute properties

Hello,

using the config object /BOBF/IF_FRW_CONFIGURATION I'd like to access the static attribute properties defined for a particular node, i.e. whether an attribute is enabled, mandatory etc. However, I can't find a suitable method providing the data. Method GET_NODE only returns a list of the attributes ( /BOBF/S_CONFRO_NODE-FIELD_NAMES) but not their properties. Do I miss something?

Thx for any advice,

Ulli

replied

Hi Ulli,

are you interested in knowing which are the properties which apply to an instance or in knowing which properties are static properties?

Using /bobf/if_frw_configuration, you can obtain the information about the designtime configuration of the business object. This includes the static properties among others.

If you are interested in knowing which attributes of a BO instance (precidesly of a node instance) are enabled, you have to use the method retrieve_properties of the service manager (/bobf/if_tra_service_manager). This will not tell you which of those properties have been defined statically, but for the actual consumer this doesn't matter anyway.

But as static properties apply to all instances, you can combine those two methods if you really need to know which properties are static and which ones have been determined using a property determination.

Did that answer your question?

Cheers,

Oliver

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question