Ansicht
Dokumentation

SIMG_EAM_USRSTS_ASGN - Define Phase Control Code for Maintenance Orders

SIMG_EAM_USRSTS_ASGN - Define Phase Control Code for Maintenance Orders

RFUMSV00 - Advance Return for Tax on Sales/Purchases   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Allows you to define phase control codes for maintenance orders.

Phase control code allows you to control the transition of phases. If you activate a phase control code for a maintenance order for blocking a phase, the system will not allow you to transition to the phase until you deactivate the phase control code. Phase control codes can be activated for order headers and operations.

Configure Phase Control Codes

To configure phase control codes, follow these steps:

  1. In your configuration environment, search for the configuration activity Activate Business Feature and activate the business feature EAM_PHASE_MODEL_PROCESSING.
  2. Select the entity (order header or order operation) for which you plan to define the phase control code.
  3. Select the order type and define the phase control code. For each phase control code, you can indicate whether the phase control code has to be activated automatically when an order is created. You can also set the authentication key. Only the users with the authentication key can activate or deactivate a phase control code.
Note: If you use the same phase control code across different order types, we strongly recommend that you provide exactly the same description every time. If you provide different descriptions, you will have several entries for the same phase control code.
  1. For a phase control code, you can define the phase and subphase that needs to be blocked. This will block the maintenance order or operation from moving to the phase and subphase when the phase control code is activated. If the phase control code is not activated automatically at the order creation, you can also define the phase where the phase control code should be automatically activated.
  2. Depending on the phase control key, phase, and subphase that you selected for a phase control code, all the system statuses derived by the system are shown as references. If the checkbox is selected, it indicates that the system status was automatically created. Additionally, you can also add or remove a system status. This helps you to adjust the system status for a phase control code.

Note: You won’t be able to remove the system statuses which are automatically created by the system.

You can define phase control codes only for those order types for which the phase model is active.

For an order type, you have to choose whether you want to use phase control codes or the user status profile. You cannot use phase control codes as well as the user status profiles for an order type.

Authorization Keys

Define Authorization Keys

You can define authorization keys which can be used to set up authorization checks when you manually activate or deactivate a phase control code for an order. Although the system activates a phase control code automatically when you create an order, it does not perform an authorization check.

When you activate or deactivate a phase control code, the system checks whether the user is authorized to perform this action.

To define authorization keys for a phase control code, follow these steps:

  1. Choose New Entries.
  2. Enter a key and description in the appropriate fields and save the details. You have now created the authorization key.
  3. Assign the authorization key to one or more phase control codes of an order type.

Assign Authorization Keys and Entities to Restriction Types

To assign authorization keys and entities to restriction types, follow these steps:

  1. Assign an authorization key to a phase control code.
  2. Add the authorization key and entities to restriction types. An entity may be a maintenance order header or a maintenance order operation.
  3. Add the restriction types to the roles. Roles can be assigned to you in the Maintain Business Roles app. When a role is assigned to you, all the restrictions maintained in that role will apply.

Now that you have restrictions assigned to your role, you can activate or deactivate phase control codes.

Note: If no authorization keys are assigned to a phase control code, authorization check will not be performed while activating or deactivating phase control codes.

Example:

Let us consider that the user is ABC and the restriction type is Entity/Authorization Key for Phase Control Code.

To activate or deactivate phase control codes, do the following:

1. Add authorization keys and entities to the restriction type Entity/Authorization Key for Phase Control Code for the business role template SAP_BR_MAINTENANCE_PLANNER.

2. Assign the business role template to ABC.

Now, you can activate or deactivate phase control codes.






Vendor Master (General Section)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 5421 Date: 20240524 Time: 000605     sap01-206 ( 107 ms )