Skip to Content
Motivation: You want to use property files to store alterable settings of your Web Dynpro application.

1. Create your properties file in your Web Dynpro application: create a *.properties file in your Web Dynpro Application: (in Web Dynpro Perspective -> Navigator: path: src -> configuration -> filename.properties; e.g. mailserver.properties):

image

Sample “mailserver.properties”:

image

2. Read the configuration data via WDConfiguration API. To read the data from the properties file you have to use the WDConfiguration API. Code Sample:

image image

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Former Member
    During the migration process problems have been reported for this blog. The blog content may look corrupt due to not supported HTML code on this platform. Please adjust the blog content manually before moving it to an official community.
    (0) 

Leave a Reply