SAP AIC1_HEADERC_CHECK_COMPLETE Function Module for
AIC1_HEADERC_CHECK_COMPLETE is a standard aic1 headerc check 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 aic1 headerc check complete FM, simply by entering the name AIC1_HEADERC_CHECK_COMPLETE into the relevant SAP transaction such as SE37 or SE38.
Function Group: AIC1
Program Name: SAPLAIC1
Main Program:
Appliation area: A
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function AIC1_HEADERC_CHECK_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 'AIC1_HEADERC_CHECK_COMPLETE'".
EXPORTING
I_COMPR_VRSN = "
I_INV_PROG = "
I_APPR_YEAR = "
* I_FLG_CHECK_LOGSYSTEM = 'X' "
CHANGING
C_COMPR_VRSN_CHECK = "
C_INV_PROG_CHECK = "
C_APPR_YEAR_CHECK = "
C_LOGSYSTEM_CHECK = "
* C_FLG_ERROR = "
* CS_ERROR_MESSAGE = "
* CTH_MESSAGES = "
IMPORTING Parameters details for AIC1_HEADERC_CHECK_COMPLETE
I_COMPR_VRSN -
Data type: IMCH-COMPR_VRSNOptional: No
Call by Reference: No ( called with pass by value option)
I_INV_PROG -
Data type: IMCH-INV_PROGOptional: No
Call by Reference: No ( called with pass by value option)
I_APPR_YEAR -
Data type: IMCH-APPR_YEAROptional: No
Call by Reference: No ( called with pass by value option)
I_FLG_CHECK_LOGSYSTEM -
Data type: IMIS_TYPE_FLGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for AIC1_HEADERC_CHECK_COMPLETE
C_COMPR_VRSN_CHECK -
Data type: IMCH-COMPR_VRSNOptional: No
Call by Reference: No ( called with pass by value option)
C_INV_PROG_CHECK -
Data type: IMCH-INV_PROGOptional: No
Call by Reference: No ( called with pass by value option)
C_APPR_YEAR_CHECK -
Data type: IMCH-APPR_YEAROptional: No
Call by Reference: No ( called with pass by value option)
C_LOGSYSTEM_CHECK -
Data type: IMCH-LOGSYSTEMOptional: No
Call by Reference: No ( called with pass by value option)
C_FLG_ERROR -
Data type: IMIS_TYPE_FLGOptional: Yes
Call by Reference: No ( called with pass by value option)
CS_ERROR_MESSAGE -
Data type: IMIS_TYPE_S_MESSAGEOptional: Yes
Call by Reference: No ( called with pass by value option)
CTH_MESSAGES -
Data type: IMIS_TYPE_TH_MESSAGESOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for AIC1_HEADERC_CHECK_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_i_compr_vrsn | TYPE IMCH-COMPR_VRSN, " | |||
| lv_c_compr_vrsn_check | TYPE IMCH-COMPR_VRSN, " | |||
| lv_i_inv_prog | TYPE IMCH-INV_PROG, " | |||
| lv_c_inv_prog_check | TYPE IMCH-INV_PROG, " | |||
| lv_i_appr_year | TYPE IMCH-APPR_YEAR, " | |||
| lv_c_appr_year_check | TYPE IMCH-APPR_YEAR, " | |||
| lv_c_logsystem_check | TYPE IMCH-LOGSYSTEM, " | |||
| lv_i_flg_check_logsystem | TYPE IMIS_TYPE_FLG, " 'X' | |||
| lv_c_flg_error | TYPE IMIS_TYPE_FLG, " | |||
| lv_cs_error_message | TYPE IMIS_TYPE_S_MESSAGE, " | |||
| lv_cth_messages | TYPE IMIS_TYPE_TH_MESSAGES. " |
|   CALL FUNCTION 'AIC1_HEADERC_CHECK_COMPLETE' " |
| EXPORTING | ||
| I_COMPR_VRSN | = lv_i_compr_vrsn | |
| I_INV_PROG | = lv_i_inv_prog | |
| I_APPR_YEAR | = lv_i_appr_year | |
| I_FLG_CHECK_LOGSYSTEM | = lv_i_flg_check_logsystem | |
| CHANGING | ||
| C_COMPR_VRSN_CHECK | = lv_c_compr_vrsn_check | |
| C_INV_PROG_CHECK | = lv_c_inv_prog_check | |
| C_APPR_YEAR_CHECK | = lv_c_appr_year_check | |
| C_LOGSYSTEM_CHECK | = lv_c_logsystem_check | |
| C_FLG_ERROR | = lv_c_flg_error | |
| CS_ERROR_MESSAGE | = lv_cs_error_message | |
| CTH_MESSAGES | = lv_cth_messages | |
| . " AIC1_HEADERC_CHECK_COMPLETE | ||
ABAP code using 7.40 inline data declarations to call FM AIC1_HEADERC_CHECK_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 COMPR_VRSN FROM IMCH INTO @DATA(ld_i_compr_vrsn). | ||||
| "SELECT single COMPR_VRSN FROM IMCH INTO @DATA(ld_c_compr_vrsn_check). | ||||
| "SELECT single INV_PROG FROM IMCH INTO @DATA(ld_i_inv_prog). | ||||
| "SELECT single INV_PROG FROM IMCH INTO @DATA(ld_c_inv_prog_check). | ||||
| "SELECT single APPR_YEAR FROM IMCH INTO @DATA(ld_i_appr_year). | ||||
| "SELECT single APPR_YEAR FROM IMCH INTO @DATA(ld_c_appr_year_check). | ||||
| "SELECT single LOGSYSTEM FROM IMCH INTO @DATA(ld_c_logsystem_check). | ||||
| DATA(ld_i_flg_check_logsystem) | = 'X'. | |||
Search for further information about these or an SAP related objects