cancel
Showing results for 
Search instead for 
Did you mean: 

Error accessing FileName from Dynamic Configuration 7.31 Java Only

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

smavachee
Active Contributor
0 Kudos

Hello Christian,

Can you share d exact problem here or at least share a screenshot for the same.

Regards,

Sunil

Former Member
0 Kudos

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.

smavachee
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hello,

I am working on PI7.31 (PO) - i have used DC in one of my scenario and it's working fine

What's the error you are getting?

Thanks

Amit Srivastava

Former Member
0 Kudos

Hi everybody.

Our problem has been resolved with note 1813530 that was realesed last Thursday.

We were in SP05 patch level 09 and we've up to patch 10 and now everything is working ok.

Thanks a lot for everything.

Answers (0)