cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine application global property data type

Former Member
0 Kudos

Hi,

I have developed a J2EE applicaion, which is using application parameters defined in the file sap.application.global.properties, When editing the parameters using Visual Admin I could see that the data type of all the parameters is string,

Is there any way to define sap.application.global.properties file with other data types e.g. boolean?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I don't know if you can define different property types - why not just convert or cast the values into the requisite types in your calling applications?

Former Member
0 Kudos

Because the user could enter wrong values e.g. enter value different from true/false to a boolean.

it means that i have to check te correctness of every parameter in my application

former_member194198
Active Participant
0 Kudos

The thread is long dead but I've just found this via google and noticed Gareth had posted and I now know the answer.

Check this page out. It covers the metadata needed to type your application properties.

https://cw.sdn.sap.com/cw/docs/DOC-105758

Cheers

Richard