SAP ABAP IMG Activity SIMGOHAIT_MDREADER05 (Define operation rules)
Hierarchy
SAP_HRCIT (Software Component) Sub component SAP_HRCIT of SAP_HR
   PY-IT (Application Component) Italy
     P15C (Package) HR customizing: Italy
IMG Activity
ID SIMGOHAIT_MDREADER05 Define operation rules  
Transaction Code S_AC0_52000179   (empty) 
Created on 20041130    
Customizing Attributes SIMGOHAIT_MDREADER05   Define operation rules 
Customizing Activity SIMGOHAIT_MDREADER05   Define operation rules 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHAIT_MDREADER05    

Use

In this step of the Implementation Guide rules providing the operation with the information used to read master data are managed.The rule informs the operation about the reader to be used.

Requirements

The own reading class should be compliant with the IF_HRPB15_TABLE_READER_PY interface.

Standard settings

The system proposes the CL_HRPB15_TABLE_READER default reading class.

This reading class reads the customizing tables and gives the risult if any.

If the options given by the customizing do not meet the company needs an own reading class can be created.

Activities

Create an own reading class and associate some attributes to it in the following step of the Implementation Guide or enter the standard reading class. This is usually the solution to be used.

Example

1. In order to create a RULE1 rule that uses the default reading class, elects the VORNA field of the 0002 info-type the first day of the processing month, without further conditions and in such a way that all attributes and conditions are valid from 01.01.2000 to 31.12.9999 the following steps are to be carried out:

  • In the Determine operation rules view
    (this view) create the rule with the RULE1
    name, valid-from date = 01.01.2000, valid-to date =
    31.12.9999. The name of the object to enter is CL_HRPB15_TABLE_READER.
    This operation allows to create the rule and assign a name to the
    reading class.
  • In the Determine rule attributes view
    create a series of attributes for
    the reference date: reference day = first, delta = 0, reference unit
    = months, year = 0. Set the rule on 'RULE1' and leave the link
    conditions field (+) empty: as there are not additional conditions, the
    Determine rule attributes conditions view

should not be customized for this rule. Set the

  • validity-from date = 01.01.2000 and the
    validity-to date = 31.12.9999.
    2. In order to create a RULE2 rule that uses a reading class created by
    the user, for instance the ZMY_TABLE_READER reading class, follow these
  • steps (the rule is valid from 01.01.2000 and the other customizing
    tables are not read):
    In the Determine operation rules view
  • (this view) create a rule named RULE1,
    valid-from date = 01.01.2000,

valid-to date = 31.12.9999, object name = ZMY_TABLE_READER; NOTE: ZMY_TABLE_READER should implement the IF_HRPB15_TABLE_READER_PY interface. This interface contains an object that can be set by a BADi for the read_table method which is not used by the standard reading class. The other customizing tables should be set only if they are actually used by ZMY_TABLE_READER.

CUSTOMIZING NOTE: it is important to use plausible values for the customizing. Before using a rule for the calculation of remuneration it is advisable to carry out a data cross-check to be sure that the rule behaves properly. In particular it is important to check that tables depending on time-based data and the info-types are read with the correct date. Such an error could lead to a wrong result in calculation

which is difficult to detect.

Further notes

All tables are time-based: therefore all attributes and conditions can be limited as regards time.

Business Attributes
ASAP Roadmap ID 203   Establish Master Data 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
SIMGOHAIT_MDREADER05 IT Italy
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
V_T5ITWD V - View SM30 000000  
History
Last changed by/on SAP  20060522 
SAP Release Created in