on 02-07-2007 1:58 PM
Hi, all.
i'm using NW2004s SP10 WDJ.
As you know, when we import the models(aRFC model) into NWDS, we
can see abapName(which indicates BAPI or RFM name), defaultScope,
isExecutable... properties from property view of each model node.
How can i get this abapName property in program? i tried to get these values
using ICMIModelClass or related ones, but i couldn't find the above value.
Best Regards.
Sejoon
Sejoon,
What is your task?
I understand that you want to get ABAP name from Java name but for what? RFC? Structure? Field?
Actually, all Java names are mangled from ABAP names, so sometimes it's possible to restore them back via simple algorithm. Sometimes, but not always -- names like /A/B is valid in ABAP, but after they are transformed into AB in Java there is more then one way to convert them back, i.e. process in unpredictable.
Btw, for field/structure name you may try com.sap.tc.webdynpro.services.api.WDUtil class.
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Valery.
Let me be more specific.
What i want to get is the values of properties as shown in the first
picture of the following blog even though this blog is not relevant to
my question.
/people/bertram.ganz/blog/2006/01/27/web-dynpro-adaptive-rfc--how-to-change-logical-system-names-after-model-import
The purpose is to write down ABAP RFM name when we call in the log
or trace.
Best Regards.
Sejoon
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.