Ansicht
Dokumentation

BC430_DOMA_COMP - Comparison of Two Domains and Their Fixed Values

BC430_DOMA_COMP - Comparison of Two Domains and Their Fixed Values

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

Functionality

Compares two domains and their fixed values. The function module is part of the course software for the training course BC430 (ABAP Dictionary).

The following comments pertain to the use of the function module within the BC430 environment.

Input parameters:

  • M_DOMA: Name of the predefined domain.
  • T_DOMA: Name of the participant's domain.

Ausnahmen:

  • T_DOMA_NOT_EXIST: The participant's domain does not exist.
  • T_DOMA_NOT_ACTIVE: The participant's domain is not active.
  • M_DOMA_NOT_ACTIVE: The template is not active. This indicates that the course environment has not been set up correctly.
  • SYSTEM_INCONSISTENT: Error in the Dictionary interfaces (DDIF_DOMA_GET). This exception should not occur.

Results returned in the ERRORS table:

The results of the comparison are written to the ERRORS table. If ERRORS remains blank, the two domains match. Otherwise, the name of the participant's domain is stored ERRORS-TABNAME; the cause of the error is stored in ERRORS-ERRORS:

  • DATATYPE: The domains have different data types.
  • LENGTH: The field lengths of the domains are different.
  • DECIMALS: The number of decimal places is different for the two domains.
  • VALUE: A fixed value from the predefined domain is not present in the participant's domain. If the participant's domain contains additional fixed values (that is, more than the template domain), no error occurs.

Example

Notes

This function module can only be used for training purposes.

Further information

Documentation on the Report BC430_CHECK.





Parameters

ERRORS
M_DOMA
T_DOMA

Exceptions

M_DOMA_NOT_ACTIVE
SYSTEM_INCONSISTENT
T_DOMA_NOT_ACTIVE
T_DOMA_NOT_EXIST

Function Group

BC430

CL_GUI_FRONTEND_SERVICES - Frontend Services   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2299 Date: 20240523 Time: 183805     sap01-206 ( 44 ms )