Hi,
We extended standard SAP Fiori apps added new "Entity Types" and "Entity Set" through SEGW.
Refined /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_EXPANDED_ENTITY method added below code.
implemented BADI SRA020_PO_TRACKING and add logic to fill content in new EntitySet.
Normal URL:
/sap/opu/odata/sap/ZFIORI_MM_SRA020_ODATA_SRV;mo/PODetailedDatas(SAP__Origin='ECCCLNT110',PONumber='XXXXXXXXX')?$expand=POItems
Extended URL:
/sap/opu/odata/sap/ZFIORI_MM_SRA020_ODATA_SRV;mo/PODetailedDatas(SAP__Origin='ECCCLNT110',PONumber='XXXXXXXXX')?$expand=POItems%2cZZAttachments
Both URLs are working fine.
My query, In WEB IDE UI5 developers created a extend project and mapped the extend content(ZZAttachments) to UI. Business functionality wise application is working fine.
But I find a additional call in 'Network' tab in 'inspect element' through Chrome. How to avoid the 1st call.
Thanks,
Lakshman Balanagu.