Ansicht
Dokumentation

EDMLELDV - IS-U: User exit - independent validations

EDMLELDV - IS-U: User exit - independent validations

General Material Data   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Enhancement

You can use the function modules for this enhancement to program your own independent validation.

Note

Proceed as follows:

  1. Define the validation class.
(Customizing: Device Management -> Meter Reading -> Validations -> Independent Validations). Define Validation Classes.
  1. You program a maximum of twelve exit function modules in enhancement EDMLELDV.
(Transaction CMOD)
Structure X_REABLD is transferred to the function module. The structure contains information about the meter reading document to be validated. All relevant meter reading reasons are transferred.
If exception PLAUSI_ERROR is triggered, the meter reading result is defered.
  1. Define separate independent validations.
(Customizing: Tools -> System Modifications -> User-Defined Validations -> User-Defined Independent Validations -> Define Customer-Specific Independent Validations) Define Customer-Specific Independent Validations.
  1. Allocate one of the exit function modules and if necessary a screen, to your own independent validation.
(Customizing: Tools -> System Modifications -> User- Defined Validations -> User-Specific Independent Validations -> Allocate Customer-Specific Validations to Function Modules). Allocate Customer-Specific Validations to Function Modules.
  1. Allocate the independent validations to a validation class.
(Customizing: Tools -> System Modifications -> User-Defined Validations -> User-Defined Independent Validations -> Allocate Customer-Specific Validations to Validation Classes) Allocate Customer-Specific Validations to Validations Classes.

Recommendation

Choose a number from interval 50 - 99 for your validation.

Example

Check whether a meter overflow is expected in the next period.

  1. Select a free function modules such as EXIT_SAPLEPU1_001. Code your validation.
  2. If necessary create a subscreen with validation-specific data. This subscreen is called up by pressing the correction button.
  3. Maintain entries under: Allocate Customer-Specific Validations to Function Modules as follows:
  • Field IV: 50

  • Field Fmod: 001

  • Field Screen: 100






CL_GUI_FRONTEND_SERVICES - Frontend Services   General Material Data  
This documentation is copyright by SAP AG.

Length: 3600 Date: 20240329 Time: 013528     sap01-206 ( 48 ms )