Hi All,
We are tyring to fetch details from an OData Url
I want to fetch the Purchase Request No inside a list.
var sServiceUrl = "http://xxxportno/sap/opu/odata/sap/Z_PR_Release_SRV";
var itemtemplate = new sap.m.StandardListItem("PRlist",
{
title : '{PreqNo}',
type: "Navigation",
description : "{NetPrice}",
});
ListStandardNoImageNoHeader.bindaggregation("items",
{
path : "/BAPI_REQUISITION_GETITEMSREL(RelCode='L1', RelGroup='AA')",
template : itemtemplate
}
The list works fine, when there are no custom parameters added to the url. But when these parameters (RelCode='L1',RelGroup='AA), are added it fails.
1. How shall i pass the value to bind path?
2. How to add it to the list item?
Please help in resolving this issue.
Thanks,
Divya
,