Skip to Content
Oct 18, 2006 at 05:45 AM

how to set application properties like sap.logoffURL by coding


hi everyone ,

i am setting some properties like expiration time and logoffurl by coding in webdynpro i am using this code--

IWDApplicationPropertyInfo et=wdComponentAPI.getApplication().getApplicationInfo().findInApplicationProperties("sap.expirationTime");

if(et != null)

et.setAttributeValue("sap.expirationTime","100" );

but iam getting this error---

java.lang.IllegalArgumentException: Cannot set attribute value because RepositoryObject( does not have a (translatable) attribute named expirationTime.

can anyone please tell me how to resolve error.