1. 程式人生 > >使用SAP雲平臺的destination消費Internet上的OData service

使用SAP雲平臺的destination消費Internet上的OData service

orien list collect fiori cimage load 實現 其他 data

通過SAP雲平臺上的destination我們可以消費Internet上的OData service或者其他通過HTTP方式暴露出來的服務。

技術分享圖片

創建一個新的destination:

技術分享圖片

維護如下屬性:

技術分享圖片

點擊Check Connection確保該destination正常工作:

技術分享圖片

在WebIDE裏新建一個Fiori Worklist Application:

技術分享圖片

從Service url選擇之前創建好的destination:

技術分享圖片

在Object Collection裏選擇Alphabetical_list_of_products,Object Collection ID選擇Product ID:

技術分享圖片

Fiori 應用創建成功之後,從右鍵菜單裏選擇Run->Run As->Web Application:

技術分享圖片

這樣就實現了從SAP雲平臺消費Internet上的OData service的需求。

技術分享圖片

要獲取更多Jerry的原創技術文章,請關註公眾號"汪子熙"或者掃描下面二維碼:

技術分享圖片

技術分享圖片

使用SAP雲平臺的destination消費Internet上的OData service