SAP CO_RU_CONFIRMATION_ADD Function Module for NOTRANSL: Hinzufügen einer Rückmeldung (ohne Prüfen)
CO_RU_CONFIRMATION_ADD is a standard co ru confirmation add 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: Hinzufügen einer Rückmeldung (ohne 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 confirmation add FM, simply by entering the name CO_RU_CONFIRMATION_ADD 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_CONFIRMATION_ADD 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_CONFIRMATION_ADD'"NOTRANSL: Hinzufügen einer Rückmeldung (ohne Prüfen).
EXPORTING
* AFRUD_IN = AFRUD "Dialog structure of confirmation
* STAND_RUECK = 0 "Confirmation no. for standard confirmation
* KBEDD_IN = "Individual capacity
* MNGZP_IN = 0 "Confirmed quantity at reporting point
* OPER_CONF_IN = ' ' "
* IV_WIPB_COUNT = 0 "
* AFVGD_IN = AFVGD "Dialog structure of transaction
AKTYP_IN = "Activity type (create/change)
AKTYP_PIC_IN = "Transaction type (create/change), current
* AUFPL_IMP = 0 "Key of the transactions
CAUFVD_IN = "Order view (header and item) input
* NO_DIALOG_FLAG = ' ' "Indicator: 'process without dialog'
* PROGRESS_FLAG = ' ' "
* ORDER_CONF_FLAG = ' ' "Indicator: Confirmation, by order
IMPORTING
CAUFVD_OUT = "Order view (header and item) output
AFRUD_OUT = "
TABLES
AFRUD_TAB = "Table of created confirmations (milestone
EXCEPTIONS
CONVERSION_ERROR = 1 ORDER_DATA_NOT_FOUND = 2 STAND_CONF_NOT_POSSIBLE = 3 DIALOG_NECESSARY = 4 WRONG_SEQUENCE = 5 PRT_ERROR = 6
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_CONFIRMATION_ADD
AFRUD_IN - Dialog structure of confirmation
Data type: AFRUDDefault: AFRUD
Optional: Yes
Call by Reference: No ( called with pass by value option)
STAND_RUECK - Confirmation no. for standard confirmation
Data type: AFVGD-RUECKOptional: Yes
Call by Reference: No ( called with pass by value option)
KBEDD_IN - Individual capacity
Data type: KBEDDOptional: Yes
Call by Reference: No ( called with pass by value option)
MNGZP_IN - Confirmed quantity at reporting point
Data type: AFRUD-LMNGAOptional: Yes
Call by Reference: No ( called with pass by value option)
OPER_CONF_IN -
Data type: RC27X-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_WIPB_COUNT -
Data type: COUNTOptional: Yes
Call by Reference: No ( called with pass by value option)
AFVGD_IN - Dialog structure of transaction
Data type: AFVGDDefault: AFVGD
Optional: Yes
Call by Reference: No ( called with pass by value option)
AKTYP_IN - Activity type (create/change)
Data type: RC27S-AKTYPOptional: No
Call by Reference: No ( called with pass by value option)
AKTYP_PIC_IN - Transaction type (create/change), current
Data type: RC27S-AKTYP_PICOptional: No
Call by Reference: No ( called with pass by value option)
AUFPL_IMP - Key of the transactions
Data type: CAUFVD-AUFPLOptional: Yes
Call by Reference: No ( called with pass by value option)
CAUFVD_IN - Order view (header and item) input
Data type: CAUFVDOptional: No
Call by Reference: No ( called with pass by value option)
NO_DIALOG_FLAG - Indicator: 'process without dialog'
Data type: RC27X-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PROGRESS_FLAG -
Data type: RC27X-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ORDER_CONF_FLAG - Indicator: Confirmation, by order
Data type: RC27X-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CO_RU_CONFIRMATION_ADD
CAUFVD_OUT - Order view (header and item) output
Data type: CAUFVDOptional: No
Call by Reference: No ( called with pass by value option)
AFRUD_OUT -
Data type: AFRUDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CO_RU_CONFIRMATION_ADD
AFRUD_TAB - Table of created confirmations (milestone
Data type: AFRUDOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CONVERSION_ERROR - Error when converting to alternative unit of measure
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ORDER_DATA_NOT_FOUND - Order data not available
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
STAND_CONF_NOT_POSSIBLE - Standard confirmation not possible
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DIALOG_NECESSARY - Dialog necessary
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_SEQUENCE - Wrong sequence of time events
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PRT_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CO_RU_CONFIRMATION_ADD 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_afrud_in | TYPE AFRUD, " AFRUD | |||
| lt_afrud_tab | TYPE STANDARD TABLE OF AFRUD, " | |||
| lv_caufvd_out | TYPE CAUFVD, " | |||
| lv_conversion_error | TYPE CAUFVD, " | |||
| lv_stand_rueck | TYPE AFVGD-RUECK, " 0 | |||
| lv_kbedd_in | TYPE KBEDD, " | |||
| lv_mngzp_in | TYPE AFRUD-LMNGA, " 0 | |||
| lv_oper_conf_in | TYPE RC27X-FLG_SEL, " SPACE | |||
| lv_iv_wipb_count | TYPE COUNT, " 0 | |||
| lv_afvgd_in | TYPE AFVGD, " AFVGD | |||
| lv_afrud_out | TYPE AFRUD, " | |||
| lv_order_data_not_found | TYPE AFRUD, " | |||
| lv_aktyp_in | TYPE RC27S-AKTYP, " | |||
| lv_stand_conf_not_possible | TYPE RC27S, " | |||
| lv_aktyp_pic_in | TYPE RC27S-AKTYP_PIC, " | |||
| lv_dialog_necessary | TYPE RC27S, " | |||
| lv_aufpl_imp | TYPE CAUFVD-AUFPL, " 0 | |||
| lv_wrong_sequence | TYPE CAUFVD, " | |||
| lv_caufvd_in | TYPE CAUFVD, " | |||
| lv_prt_error | TYPE CAUFVD, " | |||
| lv_no_dialog_flag | TYPE RC27X-FLG_SEL, " SPACE | |||
| lv_progress_flag | TYPE RC27X-FLG_SEL, " SPACE | |||
| lv_order_conf_flag | TYPE RC27X-FLG_SEL. " SPACE |
|   CALL FUNCTION 'CO_RU_CONFIRMATION_ADD' "NOTRANSL: Hinzufügen einer Rückmeldung (ohne Prüfen) |
| EXPORTING | ||
| AFRUD_IN | = lv_afrud_in | |
| STAND_RUECK | = lv_stand_rueck | |
| KBEDD_IN | = lv_kbedd_in | |
| MNGZP_IN | = lv_mngzp_in | |
| OPER_CONF_IN | = lv_oper_conf_in | |
| IV_WIPB_COUNT | = lv_iv_wipb_count | |
| AFVGD_IN | = lv_afvgd_in | |
| AKTYP_IN | = lv_aktyp_in | |
| AKTYP_PIC_IN | = lv_aktyp_pic_in | |
| AUFPL_IMP | = lv_aufpl_imp | |
| CAUFVD_IN | = lv_caufvd_in | |
| NO_DIALOG_FLAG | = lv_no_dialog_flag | |
| PROGRESS_FLAG | = lv_progress_flag | |
| ORDER_CONF_FLAG | = lv_order_conf_flag | |
| IMPORTING | ||
| CAUFVD_OUT | = lv_caufvd_out | |
| AFRUD_OUT | = lv_afrud_out | |
| TABLES | ||
| AFRUD_TAB | = lt_afrud_tab | |
| EXCEPTIONS | ||
| CONVERSION_ERROR = 1 | ||
| ORDER_DATA_NOT_FOUND = 2 | ||
| STAND_CONF_NOT_POSSIBLE = 3 | ||
| DIALOG_NECESSARY = 4 | ||
| WRONG_SEQUENCE = 5 | ||
| PRT_ERROR = 6 | ||
| . " CO_RU_CONFIRMATION_ADD | ||
ABAP code using 7.40 inline data declarations to call FM CO_RU_CONFIRMATION_ADD
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_afrud_in) | = AFRUD. | |||
| "SELECT single RUECK FROM AFVGD INTO @DATA(ld_stand_rueck). | ||||
| "SELECT single LMNGA FROM AFRUD INTO @DATA(ld_mngzp_in). | ||||
| "SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_oper_conf_in). | ||||
| DATA(ld_oper_conf_in) | = ' '. | |||
| DATA(ld_afvgd_in) | = AFVGD. | |||
| "SELECT single AKTYP FROM RC27S INTO @DATA(ld_aktyp_in). | ||||
| "SELECT single AKTYP_PIC FROM RC27S INTO @DATA(ld_aktyp_pic_in). | ||||
| "SELECT single AUFPL FROM CAUFVD INTO @DATA(ld_aufpl_imp). | ||||
| "SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_no_dialog_flag). | ||||
| DATA(ld_no_dialog_flag) | = ' '. | |||
| "SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_progress_flag). | ||||
| DATA(ld_progress_flag) | = ' '. | |||
| "SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_order_conf_flag). | ||||
| DATA(ld_order_conf_flag) | = ' '. | |||
Search for further information about these or an SAP related objects