Skip to Content
0
Former Member
Mar 12, 2009 at 04:49 PM

Read Application Properties

24 Views

Hi,

I have created a web module dc and an ear dc for reading the properties from "sap.application.global.properties" file using the ApplicationConfigHandlerFactory class.

When I run this web module DC, all the properties gets retrieved successfully.

Now the issue is,

I created a Web Dynpro dc and added the above web module DC as a used DC. When I try calling a method in web module dc from my web dynpro dc which reads the properties, it returns all null.

What I am trying to accomplish is, read the properties of "sap.application.global.properties" file from WD dc. I do not want to use the ConfigurationService in WD because I want to be able to modify the properties file at runtime without rebuilding the DC.

Any help is appreciated.

Thanks

MLS