Overview
You will learn
- How to create an Entity via the MAIF Config Panel using the MAIF Low Code Handler
Prerequisites
- Access to the MAIF Config Panel transaction /SYCLO/CONFIGPANEL
- Note 3634246
Steps
Create an Entity supporting input or configured data filters via the MAIF Config Panel (no code required).
Intro
In this mission you will add an Entity to your SAP Service and Asset Manager service via the MAIF Config Panel using the MAIF Low Code Handler.
Features
Use up to 5 input filters in online requests. Sample URI: /sap/opu/odata/MERP/SAP_ONLINE_LOOKUP_EXT_<#>/ZFlights?$filter=FlightNumber eq ‘0790’ and Date ge datetime'2024-07-11T00:00:00’
Define up to 5 oMDO Data Filters.
Use Case
Offline: Expose configuration data or small data sets designed to be used with data filters only requiring periodic refresh (no exchange).
Online: Expose data designed to be used with input filters (data filters optional).
Limitations
The Low Code Handler inherits from the Basic Handler which supports the Basic Process Flow only.
- Does not support: Exchange, Delta Calculation, or Paging
The database tables are stored as a filter of the oMDO.
Execute transaction /SYCLO/CONFIGPANEL from the SAP GUI to open the MAIF Config Panel. Select oData Mobile Data Object Configuration. Click Create and enter the fields below.

Create oMDO Field Name Value oMDO Id ZSAM<#>_FLIGHTMobile Application SAP Service and Asset Manager <#>Description FlightoMDO Handler /MFND/CL_CORE_LOW_CODE_OD : oMDO Handler - Low CodeProcess Flow Basic Flow without Key ListEnable Client State Tracking enabled Enable Periodic Refresh enabled Refresh Frequency 720Optimal Client State Reuse enabled Support Delta Sync enabled Select the Data Filter tab. Expand Operation - Initialization > Standard Filter > DEFINE_ENTITY_TYPES. Click Create and enter the fields below, then click Save.

Add Data Filter Field Name Value Object Name SFLIGHT
NOTE: An offline entity must be assigned to a Feature (see Create Feature via MAIF Config Panel).
Click ConfigPanel Home. Select oData Model Configuration. Click Create and enter fields below.

Create Entity
| Field Name | Value |
|---|---|
| Entity Type Name | ZFlight |
| Mobile Application | SAP Service and Asset Manager <#> |
| oData Service Id | /MERP/SAP_ONLINE_LOOKUP_EXT_<#> |
| oMDO Id | ZSAM<#>_FLIGHT |
| oMDO Entity Type | SFLIGHT : SFLIGHT |
| Entityset Name | ZFlights |
| Active | Yes |
| Field Name | Value |
|---|---|
| Entity Type Name | ZFlight |
| Mobile Application | SAP Service and Asset Manager <#> |
| oData Service Id | /MERP/SAP_SRV_ASSET_MANAGER_<#> |
| oMDO Id | ZSAM<#>_FLIGHT |
| oMDO Entity Type | SFLIGHT : SFLIGHT |
| Entityset Name | ZFlights |
| Active | By Feature |
| App. Feature Id | ZFLIGHT |
Select Property List tab. Click Propose Properties. Click Select All. Deselect Client property. Enable Key for Airline, FlightNumber, and Date properties. Click Accept. Click Save.

Add Properties
Execute transaction /IWFND/GW_CLIENT from the SAP GUI to open the Gateway Client. Open Metadata menu option, select Cleanup Cache. Enter the fields below then execute the request.

Gateway Response Field Name Value Request URI /sap/opu/odata/MERP/SAP_ONLINE_LOOKUP_EXT_<#>/ZFlightsTest input filter. Enter the fields below then execute the request.

Gateway Response Filtered Field Name Value Request URI /sap/opu/odata/MERP/SAP_ONLINE_LOOKUP_EXT_<#>/ZFlights?$filter=FlightNumber eq '0790' and Date ge datetime'2024-07-11T00:00:00'
Execute transaction /SYCLO/CONFIGPANEL from the SAP GUI to open the MAIF Config Panel. Select oData Mobile Data Object Configuration. Select oMDO ZSAM<#>_FLIGHT. Select Data Filter tab. Expand Operation - Initialization > Standard Filter > DEFINE_DATA_FILTERS. Click Change. Click Create and enter fields below then click Save.

Create Data Filter Field Name Value oMDO Operation READObject Name SFLIGHTField Name CARRIDExpand Operation - READ > Standard Filter > R_CARRIER. Click Change. Click Create and enter fields below then click Save.

Add Airline Filter Field Name Value Filter Rule Type Static Value in Range Table FormatSign InclusiveOption =Low Value AZNOTE: Other Filter Rule Types are also supported.
Execute transaction /IWFND/GW_CLIENT from the SAP GUI to open the Gateway Client. Enter the fields below then execute the request.

Gateway Response with Data Filter Field Name Value Request URI /sap/opu/odata/MERP/SAP_ONLINE_LOOKUP_EXT_<#>/ZFlights
Resources
Discussion
Share feedback on this tutorial or join the conversation in SAP Community.