Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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(com.sap.tc.webdynpro.progmodel.repository.IWDApplicationPropertyInfo:sap.expirationTime) does not have a (translatable) attribute named expirationTime.

can anyone please tell me how to resolve error.

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question