Ansicht
Dokumentation
EDMLELDV - IS-U: User exit - independent validations
General Material Data General Material DataThis documentation is copyright by SAP AG.
Enhancement
You can use the function modules for this enhancement to program your own independent validation.
Note
Proceed as follows:
- Define the validation class.
- (Customizing: Device Management -> Meter Reading -> Validations -> Independent Validations). Define Validation Classes.
- 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.
- 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.
- 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.
- 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.
- Select a free function modules such as EXIT_SAPLEPU1_001. Code your validation.
- If necessary create a subscreen with validation-specific data. This subscreen is called up by pressing the correction button.
- 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 )