Hi Sweta,
I got the solution, there were few modifications which I have done for the code which I have posted in the earlier post.I'm posting the working code here..Thanks Guys for the Awesome Support!!!
var myarray= new Array();
var userList = P_computed.Result.Feed.User;
console.log("the users list is----"+userList.length);
for(var i =0;i<userList.length;i++){
var item = {"label": userList[i],"value": userList[i]};
myarray.push(item);
}
myarrayJSON = JSON.stringify(myarray);
rmp_set_vb_list_value("vb_items",myarray);
function rmp_set_vb_list_value(vb_name,vb_value) {
var a = new RMP_List();
a.fromArray(vb_value);
console.log("the array list---"+a);
RMPApplication.setList("vb_items",a);
}
regards,
Vijay