Mobile Data Object - Data Filter

When a data filter function is enabled for a class handler, the option exists to define various types of filter rules to control what data can be viewed by the mobile application based on a customer’s business process. In an SAP environment, each user is assigned a role-based profile with authorization restrictions for what data is viewed and which activities performed.

For example, a user who works for a specific plant should not be able to view data for another plant. Data filter rules allow you to restrict data access for mobile applications. Data filters can be user-dependent or applied to the entire mobile application.

Mobile Data Object - Data Filter Tab

Handler Info

  • Mobile Data Object ID: Name of the mobile data object
  • Description: Description of the mobile data object, limited to 60 characters. This is a required field.
  • Data Object Handler: Name of the ABAP OO class handler from SAP’s class repository. The ABAP OO class handler is developed by the application developer with predefined business logic and scope to perform fetch, create, delete, or update activities for an SAP business object.

Defined Filters

The Defined Filters tree lists all data filters supported by the class handlers defined in the Data Object Handler Settings field in the General Setting tab. To expand the tree, click on the arrows to the left of the class handler methods to display the filters associated with the methods.

Rule Editor

  • Method Name: Name of the class handler method where the data filter is defined. The data filter function is only supported for the GET method.
  • Filter Name: Name of the filter as defined in the class handler method. This information is defined by the class handler developer and is not editable.
  • Reference Table Name: Technical name of the SAP database table where this filter is applied. This information is defined by the class handler developer and is not editable.
  • Reference Field Name: Technical name of the SAP database table field where this filter is applied. This information is defined by the class handler developer and is not editable.
  • Data Filter Rule Key: Internal technical key used by the framework at runtime
  • DOF Rule Type: Type of rule

There are three different types of rules:

  • User Profile Parameter
  • Static Value in Range Format
  • Syclo Filter Class Handler
  • Runtime Session Data

The settings are dependent on the specific type of rule set for the filter.

Data Filter - User Profile Parameter Rule

  • Parameter ID: Memory parameter ID as defined in SAP and specified in the user profile. Click on the icon to the right of the field box to perform a search on all available parameter IDs.
  • Description: Description of the memory parameter ID. This is not an editable field and is automatically filled in when the parameter ID is selected.
  • Active Flag: When checked, the rule is active.
Data Filter - Static Value in Range Format

  • Sign: Value for the SAP Range table column SIGN
  • Option: Value for the SAP Range table column OPTION
  • Low Value: Value for the SAP Range table column LOW
  • High Value: Value for the SAP Range table column HIGH
  • Active Flag: When checked, the rule is active
Data Filter - Syclo Filter Class Handler

  • Syclo Data Filter Handler: Name of the handler class as defined in the system.
  • Parameter: Additional processing information that is passed to the class handler. The parameters are entered as free-text, and the syntax of the parameter stream is defined by the developer.
  • Active Flag: When checked, the rule is active.
Data Filter - Runtime Session Data

  • Runtime Session Data Name:
  • Runtime Session Data Group:
  • Active Flag: When checked, the rule is active.

Rule List

The Rule List table displays a list of rules that have been defined.

  • Rule No.: Number of the rule that is defined, in chronological order
  • Rule Type: Rule type, automatically assigned by the rule type selected in the DOF Rule Type field
  • Rule Value: Internal rule value saved by SAP