on 01-03-2005 2:07 PM
Hi,
I want to access a pre-defined local dictionary structure during runtime. my program should use the number of defined fields & their properties to do some calculations.
So, my question is: how can I access the structure, for example like:
Structure = com.sap.local.dictionary.structures.getStructure("NameOfMyStructure")
kr, achim
Hi Achim,
one possibility is to create a context value node at design time bound to the the desired structure and to examine the properties of possible child nodes and/or attributes using the well known getNodeInfo() and getAttributeInfo() API methods. It's not necessary, that the node contains elements, since you just wan't to examine the meta data. The node inherits all child nodes and attributes from the structure.
Hope that helps.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
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.