I followed this link ODATA SERVICE FOR PURCHASE REQUISITION CREATION
In this am able access the service in (segw) but when i am going to consume this service in sapui5/sap web ide.
not able to create the entry in sapui5/Sap Web Ide .....my Create Deep Entity is not working from SapUI5/Sap WebIde
my question is this a right way to code in Create Deep Entity?
and if yes so how to create data from SapUi5/Sap Web Ide by consuming this service.