SAP CO_RU_CHECK_SPLIT Function Module for NOTRANSL: CIM-Rückmeldung: Einzelkapazität prüfen
CO_RU_CHECK_SPLIT is a standard co ru check split 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: CIM-Rückmeldung: Einzelkapazität prüfen 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 co ru check split FM, simply by entering the name CO_RU_CHECK_SPLIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: CORF
Program Name: SAPLCORF
Main Program: SAPLCORF
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CO_RU_CHECK_SPLIT 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 'CO_RU_CHECK_SPLIT'"NOTRANSL: CIM-Rückmeldung: Einzelkapazität prüfen.
EXPORTING
APLFL_IMP = "Sequence
AUFNR_IMP = "Order
KAPAR_IMP = "Capacity category
SPLIT_IMP = "Split number of individual capacity
UVORN_IMP = "Suboperation
VORNR_IMP = "Operation
IMPORTING
KBEDD_EXP = "Indiv. capacity
EXCEPTIONS
ORDER_DATA_NOT_FOUND = 1 SPLIT_NOT_FOUND = 2
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_SAPLCORF_001 PM/SM Order Confirmation: Customer-Specific Setting of Default Values
EXIT_SAPLCORF_002 PM/SM Order Confirmation: Customer-Specific Entry Check Without Change
EXIT_SAPLCORF_003 PM/SM Order Conf.: Customer-Specific Checks Acc. to Operation Selection
EXIT_SAPLCORF_004 PM/SM Order Confirmation: Customer-Specific Entry Checks with Change
EXIT_SAPLCORF_005 PM/SM Order Conf.: Customer-Spec. Enhancements when Saving (No Dialog!!!)
EXIT_SAPLCORF_006 PS Confirmation: Customer-Specific Setting of Default Values
EXIT_SAPLCORF_007 PS Confirmation: Customer-Specific Input Check Without Change
EXIT_SAPLCORF_008 PS Confirmation: Customer-Specific Check After Operation Selection
EXIT_SAPLCORF_009 PS Confirmation: Customer-Specific Input Check With Change
EXIT_SAPLCORF_010 PS Confirmation: Customer-Specific Enhancements when Saving (No Dialog!!!)
EXIT_SAPLCORF_101 PP Order Confirmation: Customer-Specific Setting of Default Values
EXIT_SAPLCORF_102 PP Order Confirmation: Customer-Specific Input Check Without Change
EXIT_SAPLCORF_103 PP Order Confirmation: Customer-Specific Checks after Operation Selection
EXIT_SAPLCORF_104 PP Order Confirmation: Customer-Specific Input Check With Change
EXIT_SAPLCORF_105 PP Order Conf.: Customer-Specific Enhancements when Saving (No Dialog!!!)
EXIT_SAPLCORF_106 PP Order Conf.: Actual Data Transfer for Milestone Confirmation
EXIT_SAPLCORF_401 Process Order Conf.: Customer-Specific Setting of Default Values
EXIT_SAPLCORF_402 Process Order Confirmation: Customer-Specific Input Check Without Change
EXIT_SAPLCORF_403 Process Order Conf.: Customer-Specific Checks after Operation Selection
EXIT_SAPLCORF_404 Process Order Confirmation: Customer-Specific Input Checks With Change
EXIT_SAPLCORF_405 Process Ord. Conf.: Cust.-Specific Enhancements when Saving (No Dialog!!!)
EXIT_SAPLCORF_406 Process Order Conf.: Actual Data Transfer for Milestone Confirmation
IMPORTING Parameters details for CO_RU_CHECK_SPLIT
APLFL_IMP - Sequence
Data type: AFVGD-APLFLOptional: No
Call by Reference: No ( called with pass by value option)
AUFNR_IMP - Order
Data type: CAUFVD-AUFNROptional: No
Call by Reference: No ( called with pass by value option)
KAPAR_IMP - Capacity category
Data type: KAKO-KAPAROptional: No
Call by Reference: No ( called with pass by value option)
SPLIT_IMP - Split number of individual capacity
Data type: KBED-SPLITOptional: No
Call by Reference: No ( called with pass by value option)
UVORN_IMP - Suboperation
Data type: AFVGD-UVORNOptional: No
Call by Reference: No ( called with pass by value option)
VORNR_IMP - Operation
Data type: AFVGD-VORNROptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CO_RU_CHECK_SPLIT
KBEDD_EXP - Indiv. capacity
Data type: KBEDDOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ORDER_DATA_NOT_FOUND - Order data not available
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SPLIT_NOT_FOUND - Individual capacity not available
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CO_RU_CHECK_SPLIT 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_aplfl_imp | TYPE AFVGD-APLFL, " | |||
| lv_kbedd_exp | TYPE KBEDD, " | |||
| lv_order_data_not_found | TYPE KBEDD, " | |||
| lv_aufnr_imp | TYPE CAUFVD-AUFNR, " | |||
| lv_split_not_found | TYPE CAUFVD, " | |||
| lv_kapar_imp | TYPE KAKO-KAPAR, " | |||
| lv_split_imp | TYPE KBED-SPLIT, " | |||
| lv_uvorn_imp | TYPE AFVGD-UVORN, " | |||
| lv_vornr_imp | TYPE AFVGD-VORNR. " |
|   CALL FUNCTION 'CO_RU_CHECK_SPLIT' "NOTRANSL: CIM-Rückmeldung: Einzelkapazität prüfen |
| EXPORTING | ||
| APLFL_IMP | = lv_aplfl_imp | |
| AUFNR_IMP | = lv_aufnr_imp | |
| KAPAR_IMP | = lv_kapar_imp | |
| SPLIT_IMP | = lv_split_imp | |
| UVORN_IMP | = lv_uvorn_imp | |
| VORNR_IMP | = lv_vornr_imp | |
| IMPORTING | ||
| KBEDD_EXP | = lv_kbedd_exp | |
| EXCEPTIONS | ||
| ORDER_DATA_NOT_FOUND = 1 | ||
| SPLIT_NOT_FOUND = 2 | ||
| . " CO_RU_CHECK_SPLIT | ||
ABAP code using 7.40 inline data declarations to call FM CO_RU_CHECK_SPLIT
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 APLFL FROM AFVGD INTO @DATA(ld_aplfl_imp). | ||||
| "SELECT single AUFNR FROM CAUFVD INTO @DATA(ld_aufnr_imp). | ||||
| "SELECT single KAPAR FROM KAKO INTO @DATA(ld_kapar_imp). | ||||
| "SELECT single SPLIT FROM KBED INTO @DATA(ld_split_imp). | ||||
| "SELECT single UVORN FROM AFVGD INTO @DATA(ld_uvorn_imp). | ||||
| "SELECT single VORNR FROM AFVGD INTO @DATA(ld_vornr_imp). | ||||
Search for further information about these or an SAP related objects