SAP CTAP_CHARACT_READ_COMPLETE Function Module for
CTAP_CHARACT_READ_COMPLETE is a standard ctap charact read complete 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 ctap charact read complete FM, simply by entering the name CTAP_CHARACT_READ_COMPLETE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CTAP
Program Name: SAPLCTAP
Main Program: SAPLCTAP
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CTAP_CHARACT_READ_COMPLETE 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 'CTAP_CHARACT_READ_COMPLETE'".
EXPORTING
* CHARACT = "Characteristic
* INTERNAL_NUMBER = "Internal characteristic number
* KEY_DATE = SY-DATUM "Date for reading characteristic
* LANGUAGE = SY-LANGU "Language
* F_WITH_DESCRIPTION = ' ' "With characteristic description
* F_WITH_VALUES = ' ' "With allowed values
* F_WITH_CLASSTYPES = ' ' "With class types
IMPORTING
S_CABN = "Exported characteristics structure
TABLES
* E_CABNT = "Exported characteristic descriptions
* E_CAWN = "Exported allowed values
* E_CAWNT = "Exported language-dependent allowed values
* E_TCME = "Exported class types
EXCEPTIONS
CHARACT_NOT_FOUND = 1
IMPORTING Parameters details for CTAP_CHARACT_READ_COMPLETE
CHARACT - Characteristic
Data type: CABN-ATNAMOptional: Yes
Call by Reference: No ( called with pass by value option)
INTERNAL_NUMBER - Internal characteristic number
Data type: CABN-ATINNOptional: Yes
Call by Reference: No ( called with pass by value option)
KEY_DATE - Date for reading characteristic
Data type: SY-DATUMDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
LANGUAGE - Language
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
F_WITH_DESCRIPTION - With characteristic description
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
F_WITH_VALUES - With allowed values
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
F_WITH_CLASSTYPES - With class types
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CTAP_CHARACT_READ_COMPLETE
S_CABN - Exported characteristics structure
Data type: CABNOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CTAP_CHARACT_READ_COMPLETE
E_CABNT - Exported characteristic descriptions
Data type: CABNTOptional: Yes
Call by Reference: No ( called with pass by value option)
E_CAWN - Exported allowed values
Data type: CAWNOptional: Yes
Call by Reference: No ( called with pass by value option)
E_CAWNT - Exported language-dependent allowed values
Data type: CAWNTOptional: Yes
Call by Reference: No ( called with pass by value option)
E_TCME - Exported class types
Data type: TCMEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CHARACT_NOT_FOUND - Characteristic not found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CTAP_CHARACT_READ_COMPLETE 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_s_cabn | TYPE CABN, " | |||
| lv_charact | TYPE CABN-ATNAM, " | |||
| lt_e_cabnt | TYPE STANDARD TABLE OF CABNT, " | |||
| lv_charact_not_found | TYPE CABNT, " | |||
| lt_e_cawn | TYPE STANDARD TABLE OF CAWN, " | |||
| lv_internal_number | TYPE CABN-ATINN, " | |||
| lt_e_cawnt | TYPE STANDARD TABLE OF CAWNT, " | |||
| lv_key_date | TYPE SY-DATUM, " SY-DATUM | |||
| lt_e_tcme | TYPE STANDARD TABLE OF TCME, " | |||
| lv_language | TYPE SY-LANGU, " SY-LANGU | |||
| lv_f_with_description | TYPE SY, " SPACE | |||
| lv_f_with_values | TYPE SY, " SPACE | |||
| lv_f_with_classtypes | TYPE SY. " SPACE |
|   CALL FUNCTION 'CTAP_CHARACT_READ_COMPLETE' " |
| EXPORTING | ||
| CHARACT | = lv_charact | |
| INTERNAL_NUMBER | = lv_internal_number | |
| KEY_DATE | = lv_key_date | |
| LANGUAGE | = lv_language | |
| F_WITH_DESCRIPTION | = lv_f_with_description | |
| F_WITH_VALUES | = lv_f_with_values | |
| F_WITH_CLASSTYPES | = lv_f_with_classtypes | |
| IMPORTING | ||
| S_CABN | = lv_s_cabn | |
| TABLES | ||
| E_CABNT | = lt_e_cabnt | |
| E_CAWN | = lt_e_cawn | |
| E_CAWNT | = lt_e_cawnt | |
| E_TCME | = lt_e_tcme | |
| EXCEPTIONS | ||
| CHARACT_NOT_FOUND = 1 | ||
| . " CTAP_CHARACT_READ_COMPLETE | ||
ABAP code using 7.40 inline data declarations to call FM CTAP_CHARACT_READ_COMPLETE
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 ATNAM FROM CABN INTO @DATA(ld_charact). | ||||
| "SELECT single ATINN FROM CABN INTO @DATA(ld_internal_number). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_key_date). | ||||
| DATA(ld_key_date) | = SY-DATUM. | |||
| "SELECT single LANGU FROM SY INTO @DATA(ld_language). | ||||
| DATA(ld_language) | = SY-LANGU. | |||
| DATA(ld_f_with_description) | = ' '. | |||
| DATA(ld_f_with_values) | = ' '. | |||
| DATA(ld_f_with_classtypes) | = ' '. | |||
Search for further information about these or an SAP related objects