Enabling and Disabling Features per User through SAP Authorization

Use

Each mobile user is connected to a back end SAP user. The back end SAP user can be assigned one or more roles. These roles grant their holders authorizations within the back end system. Using parameter framework configuration, you can configure parameters to enable or disable various features per the authorization of the user in the back end. Through parameter configuration, SAP provides a standard rule handler that performs a TCode authorization. SAP also provides new globals that can turn on and off new features.

If a parameter is enabled to use a rule instead of a global, and the user role has an authorization to run a specific transaction code, then that specific feature is enabled for that SAP user. If the user has the authorization' for a specific transaction code, then the specific feature is disabled for that mobile user. Therefore, depending on the authorization of the SAP user, the feature now either works or does not work, displays, or does not display (depending on the feature function), rather than is turned on or off for all users.

Features Available through SAP Authorization

The following features are available for you to enable or disable starting with the SAP Work Manager 6.6 release. Use the following subsection to learn how to use the ConfigPanel to enable or disable a feature based on the authorization of the user.

Functionality Category Agentry Rule TCODE Back End Parameter
Show/hide labor (confirmation) screens and functionality Labor EnableUseLaborReporting IW41 Wo.UseLaborReporting
Show/hide CATS time reporting screens and functionality CATS EnableUseCATS CATS LaborTime.useCATS
Whether equipment can be added from client Equipment EnableEquipmentAdd IE01 Equipment.Create
Whether equipment can be edited Equipment EnableEquipmentEdit IE02 Equipment.Update
Whether functional locations can be added from client Functional Locations EnableFunctionalLocationAdd IL01 FunctionalLocation.Create
Whether functional locations can be edited Functional Locations EnableFunctionalLocationEdit IL02 FunctionalLocation.Update
Allow downloading of BOM data from equipment list screen? Equipment EnableUseBillOfMaterials CS02 BillOfMaterials.Enable
Fetch all BOM data instead of just for a single equipment? Equipment EnableUseBillOfMaterialsFetchAll CS02 BillOfMaterials.FetchAll.Enable
Show/hide rounds screens and functionality Rounds EnableRounds IK32 Rounds.Enable
Whether time can be added from the client Labor/CATS EvalUserRightsAddTime CATS Enable.AddTime
Whether a work order can be added from the client Work Orders EvalUserRightsAddWorkOrder IW31 Enable.AddWorkOrder
Whether a notification can be completed on the client Notifications EvalUserRightsCompleteNotif IW22 Enable.CompleteNotif
Whether a work order can be completed on the client Work Orders EvalUserRightsCompleteWorkOrder IW32 Enable.CompleteWorkOrder
Whether local labor records can be deleted Labor EvalUserRightsDeleteTime CATS Enable.DeleteTime
Whether user can edit a non-local work order on client Work Orders EvalUserRightsNonLocalWO IW32 Enable.EditNonLocalWO
Whether user can edit a CATS record CATS EvalUserRightsEditTime CATS Enable.EditTime
Whether user can set work order status to hold on client Work Orders EvalUserRightsHoldWorkOrder IW32 Enable.HoldWorkOrder
Whether user can mark/unmark work order operations Operations EvalUserRightsMarkTask IW32 Enable.MarkTask
Whether to hide/show the notes screen/fields for item activities, item tasks and item causes Notifications EvalUserRightsNotifNotesScreen IW22 Enable.NotifNotesScreen
Whether user can start a notification on client Notifications EvalUserRightsStartNotif IW22 Enable.StartNotif
Whether user can start a work order on client Work Orders EvalUserRightsStartWorkOrder IW32 Enable.StartWorkOrder
Whether user can transfer a work order or operation on client Work Orders/Operations EvalUserRightsTransfer IW32 Enable.Transfer
Allow work order attachment document uploads Attachments EvalUserRightsWorkOrderDocumentUpload IW32 Enable.WorkOrderDocumentUpload
Allow work order attachment picture uploads Attachments EvalUserRightsWorkOrderPictureUpload IW32 Enable.WorkOrderPictureUpload
Allow notification attachment document uploads Attachments EvalUserRightsNotificationDocumentUpload IW22 Enable.NotificationDocumentUpload
Allow notification attachment picture uploads Attachments EvalUserRightsNotificationPictureUpload IW22 Enable.NotificationPictureUpload
Allow Equipment attachment document uploads Attachments EvalUserRightsEquipmentDocumentUpload IE02 Enable.EquipmentDocumentUpload
Allow Equipment attachment picture uploads Attachments EvalUserRightsEquipmentPictureUpload IE02 Enable.EquipmentPictureUpload
Allow Functional Location attachment document uploads Attachments EvalUserRightsFunctionalLocationDocumentUpload IL02 Enable.FunctionalLocationDocumentUpload
Allow Functional Location attachment picture uploads Attachments EvalUserRightsFunctionalLocationPictureUpload IL02 Enable.FunctionalLocationPictureUpload
Allow inspection rounds for a work order Inspection Rounds EvalUserRightsInspectionRounds IK31 Enable.WorkOrderInspectionRounds
Allow adding work order notes Work Orders EvalUserRightsWorkOrderNotesAdd IW32 Enable.WorkOrderNotesAdd
Allow adding suboperation to work order operation Operations EvalUserRightsSubOperationAdd IW32 Enable.SubOperationAdd
Allow adding components to work order Components EvalUserRightsComponentAdd IW32 Enable.ComponentAdd
Allow issuing a work order component Components EvalUserRightsComponentIssue MIGO Enable.ComponentIssue
Allow adding notification items Notification Items EvalUserRightsNotificationItemAdd IW22 Enable.NotificationItemAdd
Allow adding notification tasks Notification Tasks EvalUserRightsNotificationTaskAdd IW22 Enable.NotificationTaskAdd
Allow adding notification activities Notification Activities EvalUserRightsNotificationActivityAdd IW22 Enable.NotificationActivityAdd
Allow readings for measuring points on rounds tab Rounds EvalUserRightsMeasuringPointsReadings IK11 Enable.MeasuringPointsReadings
Allow editing characteristic values Characteristics EvalUserRightsCharacteristicValueEdit CT02 Enable.CharacteristicValueEdit
Allow equipment install Equipment EvalUserRightsEquipmentInstall IE02 Enable.EquipmentInstall
Allow equipment uninstall Equipment EvalUserRightsEquipmentUninstall IE02 Enable.EquipmentUninstall

How to Enable or Disable Features per User through the Client Globals

  1. Using the ConfigPanel, navigate from the main screen to Start of the navigation pathMobile Application Configuration Next navigation step Client Globals tabEnd of the navigation path. In the left column, Defined Mobile Applications, select your application.

    The Client Globals List table populates with a list of all globals available for the application.

  2. Perform a search for the parameter you want to enable or disable as a feature by user role by using the table in this topic to ensure that the parameter is available in the parameter framework for configuration. Perform a search for your parameter in the Client Globals List using the Search box. Select it and click the Change button.

  3. Delete the value in the <Client Global Value> field.

  4. The rule /SMFND/CL_CORE_TCODE_CHECK_RU - TCode Authorization Check is already selected for you in the <Rule ID> field. When you check the <Use Rule> checkbox, the rule is active.

  5. Change the <Global Scope> dropdown selection from Application to User.

  6. If needed, select the appropriate <Dependent Client Global ID> from the dropdown list.

  7. Check the <Active Flag> checkbox to ensure that your new parameter is active for the user role. Save your changes.

See the following screenshot for an example of a configured user role parameter: