SAP CTMV_CHARACT_DELETE_NEUTRAL Function Module for
CTMV_CHARACT_DELETE_NEUTRAL is a standard ctmv charact delete neutral SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 ctmv charact delete neutral FM, simply by entering the name CTMV_CHARACT_DELETE_NEUTRAL into the relevant SAP transaction such as SE37 or SE38.
Function Group: CTMV
Program Name: SAPLCTMV
Main Program: SAPLCTMV
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CTMV_CHARACT_DELETE_NEUTRAL 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 'CTMV_CHARACT_DELETE_NEUTRAL'".
EXPORTING
* CHANGE_NUMBER = ' ' "Change Number
CHARACTERISTIC = "Internal characteristic number
* SPECIAL_APPLICATION = ' ' "Special handling for spec. applications
* SUPRESS_LEAVE = ' ' "No not exit transaction
* KEY_DATE = SY-DATUM "Date
EXCEPTIONS
CHARACT_USED = 1 INVALID_CHANGE_NUMBER = 2 ERROR = 3
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_SAPLCTMV_001 User Exit for Characteristics: Current Data Before Saving Characteristic
IMPORTING Parameters details for CTMV_CHARACT_DELETE_NEUTRAL
CHANGE_NUMBER - Change Number
Data type: CABN-AENNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHARACTERISTIC - Internal characteristic number
Data type: CABN-ATINNOptional: No
Call by Reference: No ( called with pass by value option)
SPECIAL_APPLICATION - Special handling for spec. applications
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SUPRESS_LEAVE - No not exit transaction
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
KEY_DATE - Date
Data type: SY-DATUMDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CHARACT_USED - Characteristic is in use
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_CHANGE_NUMBER - Change number not suitable
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR - Errors occurred
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CTMV_CHARACT_DELETE_NEUTRAL 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_charact_used | TYPE STRING, " | |||
| lv_change_number | TYPE CABN-AENNR, " SPACE | |||
| lv_characteristic | TYPE CABN-ATINN, " | |||
| lv_invalid_change_number | TYPE CABN, " | |||
| lv_error | TYPE CABN, " | |||
| lv_special_application | TYPE CABN, " SPACE | |||
| lv_supress_leave | TYPE CABN, " SPACE | |||
| lv_key_date | TYPE SY-DATUM. " SY-DATUM |
|   CALL FUNCTION 'CTMV_CHARACT_DELETE_NEUTRAL' " |
| EXPORTING | ||
| CHANGE_NUMBER | = lv_change_number | |
| CHARACTERISTIC | = lv_characteristic | |
| SPECIAL_APPLICATION | = lv_special_application | |
| SUPRESS_LEAVE | = lv_supress_leave | |
| KEY_DATE | = lv_key_date | |
| EXCEPTIONS | ||
| CHARACT_USED = 1 | ||
| INVALID_CHANGE_NUMBER = 2 | ||
| ERROR = 3 | ||
| . " CTMV_CHARACT_DELETE_NEUTRAL | ||
ABAP code using 7.40 inline data declarations to call FM CTMV_CHARACT_DELETE_NEUTRAL
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.| "SELECT single AENNR FROM CABN INTO @DATA(ld_change_number). | ||||
| DATA(ld_change_number) | = ' '. | |||
| "SELECT single ATINN FROM CABN INTO @DATA(ld_characteristic). | ||||
| DATA(ld_special_application) | = ' '. | |||
| DATA(ld_supress_leave) | = ' '. | |||
| "SELECT single DATUM FROM SY INTO @DATA(ld_key_date). | ||||
| DATA(ld_key_date) | = SY-DATUM. | |||
Search for further information about these or an SAP related objects