Providing Functions for a New Requirement Check

Use

When creating a new check criterion, you need at least one new user exit to provide the new function.

Process

To create the new function, carry out the following steps:

  1. Create your own user exit as follows:

    1. Start the Customizing activity Manage User Exits under Start of the navigation pathSAP EHS Management Next navigation step Product Compliance Next navigation step General Configuration Next navigation step Regulations and Compliance RequirementsEnd of the navigation path.

    2. Create a new entry with User Exit Category Check.

    3. Add your own function module to your user exit.

  2. Create your own function module as follows:

    1. Start the Customizing activity Manage User Exits under Start of the navigation pathSAP EHS Management Next navigation step Product Compliance Next navigation step General Configuration Next navigation step Regulations and Compliance RequirementsEnd of the navigation path.

    2. Create a new entry with User Exit Category Check.

    3. Add your own check class to your function module.

  3. Create your own check class as follows:

    1. Open activity Class Builder (transaction SE24)

    2. Create your own check class by copying an existing one, such ascl_ehprc_check_reach_svhc.

    3. In your own check class, extend the method Check Single with the new method that contains your implementation of your check criterion.

More Information

For more information about the whole process of creating a new compliance requirement, see Create New Compliance Requirements and Check Criteria.