on 01-31-2013 12:25 PM
Hi experts!
We've migrated from 7.0 to 7.31 Java Only Stack. We are facing problems accessing FileName from Dynamic Configuration in UDF. Does anybody know how to fix this? I've been reading a lot about the limitations in 7.31 but I haven't found anything related with Dynamic Configuration.
Thanks a lot.
Best Regards.
Hello Christian,
Can you share d exact problem here or at least share a screenshot for the same.
Regards,
Sunil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunil.
Unfortunately the error doesn't show anything interesting ... If we disable the field that is using the udf everything works ok. In message monitoring we can see that the Dynamic Configuration is populeted correctly and the code of our UDF is this:
DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
if (conf != null)
{
DynamicConfigurationKey filename = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","FileName");
toReturn = conf.get(filename);
}
I've read some threads about problems with this in Java only but I can't find any solution about it ...
Thank a lot.
Hello Christian,
Apparently there are few limitations in PI 7.3.
Similar threads are there at below links and few of them are succeeded thru as well, have a look
http://scn.sap.com/thread/2148451
http://scn.sap.com/docs/DOC-23399
http://scn.sap.com/thread/2075665
Hope it helps.! Wish you all the best.!
Regards,
Sunil
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.