CUD6_CHECK_INPUT_CLASS is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CUD6_CHECK_INPUT_CLASS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CUD6
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CUD6_CHECK_INPUT_CLASS' "Syntax check for use of class in constraints
EXPORTING
* cud6_class = " c Class
* cud6_class_type = " klah-klart Class type
* cud6_class_number = " klah-clint
cud6_date = " ksml-datuv Date
IMPORTING
cud6_feature_exception = " cabn-atnam Characteristic not suitable
cud6_format_exception = " cabn-atfor Format of unsuitable characteristic
cud6_class_internal = " klah-clint Internal class number
cud6_returncode = " sy-subrc Return code
TABLES
cud6_features = " rcutb Transfer table with characteristics
. " CUD6_CHECK_INPUT_CLASS
The ABAP code below is a full code listing to execute function module CUD6_CHECK_INPUT_CLASS including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_cud6_feature_exception | TYPE CABN-ATNAM , |
| ld_cud6_format_exception | TYPE CABN-ATFOR , |
| ld_cud6_class_internal | TYPE KLAH-CLINT , |
| ld_cud6_returncode | TYPE SY-SUBRC , |
| it_cud6_features | TYPE STANDARD TABLE OF RCUTB,"TABLES PARAM |
| wa_cud6_features | LIKE LINE OF it_cud6_features . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_cud6_feature_exception | TYPE CABN-ATNAM , |
| ld_cud6_class | TYPE C , |
| it_cud6_features | TYPE STANDARD TABLE OF RCUTB , |
| wa_cud6_features | LIKE LINE OF it_cud6_features, |
| ld_cud6_format_exception | TYPE CABN-ATFOR , |
| ld_cud6_class_type | TYPE KLAH-KLART , |
| ld_cud6_class_internal | TYPE KLAH-CLINT , |
| ld_cud6_class_number | TYPE KLAH-CLINT , |
| ld_cud6_returncode | TYPE SY-SUBRC , |
| ld_cud6_date | TYPE KSML-DATUV . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CUD6_CHECK_INPUT_CLASS or its description.