on 05-14-2007 5:07 PM
Dear Developers,
<i>[ I am learning WebDynPro for ABAP. Please be indulgent with my question ]</i>
I would like to create an <u>Interface Component</u> which would be responsible for creating ABAP OO. It would allow other components to use these objects.
So I bet I would have to create methods for the <u>Interface Controller</u> of the <u>Interface Component</u> (like create_object, get_object...). The object should be stored locally in the <u>Interface Controller</u> and I supposed the object reference should be living in the <u>context</u>.
But it seems that <u>contexts</u> cannot store references to objects. How can I solve this problem?
Is my understanding of the WDP concepts wrong? Which would be WDP way of sharing ABAP Objects between different components?
Sincerely,
Olivier MATT
Hi Olivier.
If you add a new attribute to a context node set the type assignment to
type ref to .. .
But if youi create an interface component the implementation of the methods have to be done by the implementing components, just like in OO.
Cheers,
Sascha
Message was edited by:
Sascha Dingeldey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.