on 01-26-2011 12:01 PM
Hi All,
I am implementing a method in the Component Controller and - as always - I am referencing a Context Nodes Structure as follows:
IT_SOME_PARAM Importing Type IG_COMPONENTCONTROLLER=>ELEMENTS_SOME_NODE
in the signature of the mehtod.
The thing is, if I declare the method as an "Interface" method (a method that can be called from outside of the component), the framework tells me that it doesn't know the type IG_COMPONENTCONTROLLER=>ELEMENTS_SOME_NODE anymore.
What is going on there and how can I declare a parameter of the type of a node in an interface method?
THANKS, Johannes
IG_COMPONENTCONTROLLER is a local class within the scope of the component. As so as you use the interface option, this method and its interface must be accessible to other components. Therefore any local declarations (like those of the context) are not visible to other components. Instead of declaring the method interface from the context definition, you will need to use a data dictionary definition that matches the context definition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.