SAP CEI0_CHAR_CHECK_VALUE Function Module for NOTRANSL: Prüft den mitgegebenen Wert von einem Merkmal









CEI0_CHAR_CHECK_VALUE is a standard cei0 char check value SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Prüft den mitgegebenen Wert von einem Merkmal processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for cei0 char check value FM, simply by entering the name CEI0_CHAR_CHECK_VALUE into the relevant SAP transaction such as SE37 or SE38.

Function Group: CEI0
Program Name: SAPLCEI0
Main Program: SAPLCEI0
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CEI0_CHAR_CHECK_VALUE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'CEI0_CHAR_CHECK_VALUE'"NOTRANSL: Prüft den mitgegebenen Wert von einem Merkmal
EXPORTING
CHARACTERISTIC = "Internal Characteristic
* OLD_VALUE = ' ' "Characteristic Value
NEW_VALUE = "Characteristic Value
* CONFIGURATION_ACTIVE = 'X' "Indicator
* DEFAULT_VALUE = ' ' "Indicator
* AUTHOR = "IB: Justification
* IV_CALLED_FROM_IDOC = ' ' "

IMPORTING
CT_API_VAL_SUCCESS = "Table Type for API_VAL_C

EXCEPTIONS
CURRENCY_CHECK = 1 NO_VALID_DIMENSION = 10 INTERVAL_NOT_ALLOWED = 11 CHARACTERISTIC_NOT_FOUND = 12 VALUE_NOT_POSSIBLE = 13 CHARACTERISTIC_ENQUEUE = 14 OBJECTCHARACTERISTIC = 15 ONLY_ONE_VALUE_ALLOWED = 16 CHARACTERISTIC_NOT_SELECTABLE = 17 INPUT_TO_LONG = 18 VALUE_CONTRADICTION = 19 DATE_CHECK = 2 FORMAT_CHECK = 3 ILLEGAL_INTERNAL_BASEUNIT = 4 INTERVAL_CHECK = 5 PATTERN_CHECK = 6 TIME_CHECK = 7 UNIT_CHECK = 8 VALUE_NOT_FOUND = 9
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLCEI0_001 User Exit: SD Customer Fields in a Configurable Instance
EXIT_SAPLCEI0_010 User Exit: Customer Pushbutton 01
EXIT_SAPLCEI0_011 User Exit: Customer Pushbutton 02
EXIT_SAPLCEI0_012 User Exit: Customer Pushbutton 03
EXIT_SAPLCEI0_013 User Exit: Customer Pushbutton 04
EXIT_SAPLCEI0_014 User Exit: Customer Pushbutton 05
EXIT_SAPLCEI0_015 User Exit: Customer Pushbutton 06
EXIT_SAPLCEI0_016 User Exit: Customer Pushbutton 07
EXIT_SAPLCEI0_017 User Exit: Customer Pushbutton 08
EXIT_SAPLCEI0_018 User Exit: Customer Pushbutton 09
EXIT_SAPLCEI0_019 User Exit: Customer Pushbutton 10
EXIT_SAPLCEI0_020 Switch Off Standard Batch-Input Screen 0109
EXIT_SAPLCEI0_021 Assigned Values Files and Object Characteristics
EXIT_SAPLCEI0_022 Change presentation of F4 help
EXIT_SAPLCEI0_023 Activate Search for Material Variant with Same Values

IMPORTING Parameters details for CEI0_CHAR_CHECK_VALUE

CHARACTERISTIC - Internal Characteristic

Data type: ATINN
Optional: No
Call by Reference: No ( called with pass by value option)

OLD_VALUE - Characteristic Value

Data type: ATWRT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

NEW_VALUE - Characteristic Value

Data type: ATWRT
Optional: No
Call by Reference: No ( called with pass by value option)

CONFIGURATION_ACTIVE - Indicator

Data type: FLAG_X
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

DEFAULT_VALUE - Indicator

Data type: FLAG_X
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

AUTHOR - IB: Justification

Data type: IBCO2_VALUE_REC-ATAUT
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_CALLED_FROM_IDOC -

Data type: FLAG_X
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for CEI0_CHAR_CHECK_VALUE

CT_API_VAL_SUCCESS - Table Type for API_VAL_C

Data type: TT_API_VAL_C
Optional: No
Call by Reference: Yes

EXCEPTIONS details

CURRENCY_CHECK -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NO_VALID_DIMENSION -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INTERVAL_NOT_ALLOWED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

CHARACTERISTIC_NOT_FOUND -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

VALUE_NOT_POSSIBLE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

CHARACTERISTIC_ENQUEUE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

OBJECTCHARACTERISTIC -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ONLY_ONE_VALUE_ALLOWED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

CHARACTERISTIC_NOT_SELECTABLE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INPUT_TO_LONG -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

VALUE_CONTRADICTION -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

DATE_CHECK -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

FORMAT_CHECK -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ILLEGAL_INTERNAL_BASEUNIT -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INTERVAL_CHECK -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

PATTERN_CHECK -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

TIME_CHECK -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

UNIT_CHECK -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

VALUE_NOT_FOUND -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CEI0_CHAR_CHECK_VALUE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_characteristic  TYPE ATINN, "   
lv_currency_check  TYPE ATINN, "   
lv_ct_api_val_success  TYPE TT_API_VAL_C, "   
lv_no_valid_dimension  TYPE TT_API_VAL_C, "   
lv_interval_not_allowed  TYPE TT_API_VAL_C, "   
lv_characteristic_not_found  TYPE TT_API_VAL_C, "   
lv_value_not_possible  TYPE TT_API_VAL_C, "   
lv_characteristic_enqueue  TYPE TT_API_VAL_C, "   
lv_objectcharacteristic  TYPE TT_API_VAL_C, "   
lv_only_one_value_allowed  TYPE TT_API_VAL_C, "   
lv_characteristic_not_selectable  TYPE TT_API_VAL_C, "   
lv_input_to_long  TYPE TT_API_VAL_C, "   
lv_value_contradiction  TYPE TT_API_VAL_C, "   
lv_old_value  TYPE ATWRT, "   SPACE
lv_date_check  TYPE ATWRT, "   
lv_new_value  TYPE ATWRT, "   
lv_format_check  TYPE ATWRT, "   
lv_configuration_active  TYPE FLAG_X, "   'X'
lv_illegal_internal_baseunit  TYPE FLAG_X, "   
lv_default_value  TYPE FLAG_X, "   ' '
lv_interval_check  TYPE FLAG_X, "   
lv_author  TYPE IBCO2_VALUE_REC-ATAUT, "   
lv_pattern_check  TYPE IBCO2_VALUE_REC, "   
lv_time_check  TYPE IBCO2_VALUE_REC, "   
lv_iv_called_from_idoc  TYPE FLAG_X, "   ' '
lv_unit_check  TYPE FLAG_X, "   
lv_value_not_found  TYPE FLAG_X. "   

  CALL FUNCTION 'CEI0_CHAR_CHECK_VALUE'  "NOTRANSL: Prüft den mitgegebenen Wert von einem Merkmal
    EXPORTING
         CHARACTERISTIC = lv_characteristic
         OLD_VALUE = lv_old_value
         NEW_VALUE = lv_new_value
         CONFIGURATION_ACTIVE = lv_configuration_active
         DEFAULT_VALUE = lv_default_value
         AUTHOR = lv_author
         IV_CALLED_FROM_IDOC = lv_iv_called_from_idoc
    IMPORTING
         CT_API_VAL_SUCCESS = lv_ct_api_val_success
    EXCEPTIONS
        CURRENCY_CHECK = 1
        NO_VALID_DIMENSION = 10
        INTERVAL_NOT_ALLOWED = 11
        CHARACTERISTIC_NOT_FOUND = 12
        VALUE_NOT_POSSIBLE = 13
        CHARACTERISTIC_ENQUEUE = 14
        OBJECTCHARACTERISTIC = 15
        ONLY_ONE_VALUE_ALLOWED = 16
        CHARACTERISTIC_NOT_SELECTABLE = 17
        INPUT_TO_LONG = 18
        VALUE_CONTRADICTION = 19
        DATE_CHECK = 2
        FORMAT_CHECK = 3
        ILLEGAL_INTERNAL_BASEUNIT = 4
        INTERVAL_CHECK = 5
        PATTERN_CHECK = 6
        TIME_CHECK = 7
        UNIT_CHECK = 8
        VALUE_NOT_FOUND = 9
. " CEI0_CHAR_CHECK_VALUE




ABAP code using 7.40 inline data declarations to call FM CEI0_CHAR_CHECK_VALUE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_old_value) = ' '.
 
 
 
 
DATA(ld_configuration_active) = 'X'.
 
 
DATA(ld_default_value) = ' '.
 
 
"SELECT single ATAUT FROM IBCO2_VALUE_REC INTO @DATA(ld_author).
 
 
 
DATA(ld_iv_called_from_idoc) = ' '.
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!