Hi, I'm presently migrating a old application to webdynpro.
In that application, I have a FieldDescriptor, which has the information of which table to search in order to find the info to be displayed.
Concretely I have:
A class called BapiInfoField. This class has an attribute which is the name of a table. I need to retrieve the node associated to that table.
To resolve this, I thought about making a mapping between the old table name and the new one compatible to webdynpro.
On the other hand, I don't know how to fetch an node at runtime in webdynpro. The only way I do usually, is by using the "wdContect.node*" way. I know how to fetch elements in a node dynamically, but not the node itself.
I also found a function called "getChildNode(String arg0, int arg1)" in the wdContext class. Unfortunately, the function is undocumented.
If there's no appropriate getter function in webdynpro for my problem, I'll resolve by making a mapping between the string of the old table name, and a Method Object linked to the proper "node*" method.
Anyone has any suggestions?
Thanks in advance,
Alexis