on 08-02-2005 12:04 PM
Hi all,
The problem: I'd like to get reference to IDataType declared in the same project from static class initializer knowing only type name.
Any suggestions?
P.S. I know how to do this using non-documented utility class from repository package, but I'm looking for more standard approach.
Solved using DdDictionaryPool & IBroker
See /people/valery.silaev/blog/2005/08/11/stringoperator-isimpletype-const for details.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anyone?...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pran,
I came almost to the same solution. The only difference is that I want to use Local (Java) Dictionary, rather then ABAP DDIC.
So in <b>documented</b> package com.sap.dictionary there are 2 <b>undocumented</b> classes these are particularly interested to me:
DdJavaProvider and DdDictionaryPool. First seems to be more feasible (then only problem is to create utility class to maintain weak hash map of class loader -> dictionary pairs). Second requires dictionary name to operate and I have no clue how to get it.
But the problem again is combo of documented package / undocumented classes. I'd like to here opinion of someone from WD team...
VS
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.