Ansicht
Dokumentation

GET_LAST_CHANGED_RULE_INFO - Holen der zuletzt geänderten Regel-Informationen

GET_LAST_CHANGED_RULE_INFO - Holen der zuletzt geänderten Regel-Informationen

CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this API to get the information about when the rule attached to a policy was last changed. Whenever a rule is changed, the information is stored in the following fields of the database table LRM_T_OT_POL_ORI:

  • RULE_CHANGED_BY
  • RULE_CHANGED_TIME

Importing Parameter

  • IV_OBJ_CAT- This parameter indicates the object category. The possible entries are OT_FOR_BS and OT_FOR_PD.
  • IV_POLICY_CATEGORY- This parameter indicates the policy category. The possible entries are RST and RTP.
  • IV_POLICY_TYPE– This parameter indicates the policy type. The user needs to enter the required audit area.
  • IV_ILM_OBJ- This parameter indicates the ILM object. The user needs to enter the required ILM object.
  • IV_POLICY_ORIGIN- This parameter indicates the policy name. The user needs to enter the required policy name.

Exporting Parameter

  • EV_RULE_USER_NAME - This parameter returns the system name of the user who last changed the rule.
  • EV_RULE_TIMESTAMP- This parameter returns the timestamp of the last rule change.

Function Module Checks

This API has the following checks:

Ideally, the new fields of the table would be updated for the following scenarios:

  • When a new rule is inserted
  • When an existing rule is modified
  • When an existing rule is deleted
  • When an existing rule is copied to create a new one

Example

Notes

Further information





Parameters

EV_RULE_TIMESTAMP
EV_RULE_USER_NAME
IV_ILM_OBJ
IV_OBJ_CAT
IV_POLICY_CATEGORY
IV_POLICY_ORIGIN
IV_POLICY_TYPE

Exceptions

Function Group

LRM_BS_RULES

BAL_S_LOG - Application Log: Log header data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2424 Date: 20240523 Time: 105337     sap01-206 ( 69 ms )