Retrieving Application Instance Data via OData
Overview:
Often there is a need to provide ad-hoc reporting capabilities on instances of applications to power users. As Fiori applications are based on OData, the option to use Microsoft Excel or any other OData compatible reporting tools is immediately supported. The available OData service will bring back basic data about each instance of the application such as:
- Submitted Timestamp
- Change Timestamp
- Submitted By
- Instance ID
- Form Status
Any configured Search Fields in your ABAP Implementation Class will also be brought back from this service. This allows you to take important fields from your data model and have them available from your service.
OData Service End Points:
- Form Header Information
- (SAP Gateway Base URL)/sap/opu/odata/iqx/FAB_SRV/FormHeaderInstances?$filter=FabVersion eq '002' and Filter eq 'Administrator' and ZformName eq 'Form_ID'
- Search Fields Information
- (SAP Gateway Base URL)/sap/opu/odata/iqx/FAB_SRV/FormHeaderSearchTerms?$filter=ZformName eq 'Form_ID'
Change Form_ID to the name of the app your are wanting to interact with.
Instructions (For Excel):
- Open Excel and select the Data tab. From within the Data tab, there will be an option to either Get External Data or Get Data. (This will vary on your version of Microsoft Excel;).
- From the Data tab, find the option to Import Data from an OData Data Feed.
You will then need to provide the OData Service End Point you wish to connect to
- Form Header Information
- (SAP Gateway Base URL)/sap/opu/odata/iqx/FAB_SRV/FormHeaderInstances?$filter=FabVersion eq '002' and Filter eq 'Administrator' and ZformName eq 'Form_ID'
- Search Fields Information
- (SAP Gateway Base URL)/sap/opu/odata/iqx/FAB_SRV/FormHeaderSearchTerms?$filter=ZformName eq 'Form_ID'
- Form Header Information
- Depending on your version of Excel, you may be prompted to confirm the tables you wish to import and provide a description.
- You must then select where in the Excel workbook where you would like the data to be stored.
- The data will then be imported into Excel and can be refreshed using the options in the Data tab.
IQX Business Solutions - FAB 3.10