Quantcast
Channel: SCN : All Content - SAP Business Process Management
Viewing all articles
Browse latest Browse all 887

VLV containing in a collection update through a schedule task by Java code

$
0
0

Hi Everyone,

Our requirement is to set a collection values through a scheduled task with a java code.In the collection couple of fields contain the VLV type fields which are already existing.we need to get those values in vlv and set them according to the condition  from background.

 

ValueListTypeIBeanHomeIfc vlvHome = (ValueListTypeIBeanHomeIfc)IBeanHomeLocator.lookup(

iapiSession, ValueListTypeIBeanHomeIfc.sHOME_NAME

 

ValueListTypeIBeanIfc vlvbean = (ValueListTypeIBeanIfc)vlvHome.findByExternalId(

"eSign_Int_Ext"

);

 

ValueListTypeIBeanIfc vlvIntValue = (ValueListTypeIBeanIfc) vlvbean.getCollnValueListValue().get(0);

 

 

 

ValueListTypeIBeanIfc vlvExtValue = (ValueListTypeIBeanIfc) vlvbean.getCollnValueListValue().get(1);

setting a value through  vlvIntValue.getObjectReference(). Its working in clm script but couldnot able  to replicate the same through java code.Can you please help  me in this regard.

 

 

Thanks in Advance,

Sudheer Lanka

 

 

 

 

 


Viewing all articles
Browse latest Browse all 887

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>