Changing oData MDO Filter Rules

Many of the common configuration changes made for an SAP Service and Asset Manager implementation involve modifying or adding one or more filter rules in an oData MDO.

Context

In SAP S/⁠4HANA, each user is assigned a role based profile with authorization permissions on viewable data and available activities. For example, a user working in one plant should not be able to view data for a different plant. When business activities performed by a user are mobilized through the mobile application, the ability to extend the same restrictions to the mobile application is necessary. Data filter rules provide the function to restrict data access for mobile applications.

Use the following procedure to modify a data filter rule for an oMDO. The changes you make to the settings of a given rule vary depending on your mobile application implementation requirements. Subsequent procedures in the Configuration Guide refer to this procedure and provide detailed values and settings for filter rules involved in the specific change.

Procedure

  1. Access the ConfigPanel. See Accessing the SAP Mobile Add-On for SAP Configuration Panel for information.
  2. From the ConfigPanel Home page, click the oData Mobile Data Object Configuration link.
  3. At the top of the oData Mobile Data Object Configuration page display, in the Mobile Application Filter field, choose your mobile application from the dropdown menu. Choosing your mobile application is not a necessary step, but it eliminates objects that are not part of your mobile application from the object list.
  4. Click the Data Filter tab.
  5. Expand the oData Mobile Data Object List tree so you can see all of the oData mobile objects.
  6. Select the oData mobile data object that requires filter modification from the list.

    The current rule filter settings are displayed in the Rule Editor section. All existing rules for the filter are displayed in the Rule List table.

  7. To add a new rule, edit an existing rule, or delete a rule from the filter, click Change.

    Many of the fields in the rule editor become editable, and the buttons Add Row and Delete Row appear.

  8. Set or modify any editable fields desired according to your mobile application needs. For a detailed description of all oData mobile data object fields, see the OData Channel Integration Settings topic and and the related subtopics in the Configuration Panel Overview section.
  9. Set the Active Flag to <True> for each added or edited field before saving changes. Inactive filter rules have no effect on synchronization processing.
  10. Click Save to apply your changes.