SAP INSERT_CONFIRMATION_RESERVE Function Module for
INSERT_CONFIRMATION_RESERVE is a standard insert confirmation reserve 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 insert confirmation reserve FM, simply by entering the name INSERT_CONFIRMATION_RESERVE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CORP
Program Name: SAPLCORP
Main Program: SAPLCORP
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function INSERT_CONFIRMATION_RESERVE 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 'INSERT_CONFIRMATION_RESERVE'".
EXPORTING
AFORI_IMP = "
AFRHHER_IMP = "
* AFRUV_IMP = ' ' "
* AFRU_WF_IMP = ' ' "
* AFRVTXT_IMP = ' ' "Description of confirmation pool
IMPORTING
AFRH_EXP = "
TABLES
AFRV_TAB = "
EXCEPTIONS
ALREADY_EXIST = 1 WRONG_APPL = 2 WRONG_ORIGIN = 3 TABLE_EMPTY = 4
IMPORTING Parameters details for INSERT_CONFIRMATION_RESERVE
AFORI_IMP -
Data type: AFRV-AFORIOptional: No
Call by Reference: No ( called with pass by value option)
AFRHHER_IMP -
Data type: AFRH-AFRHHEROptional: No
Call by Reference: No ( called with pass by value option)
AFRUV_IMP -
Data type: AFRV-AFRUVDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
AFRU_WF_IMP -
Data type: AFRU_WFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
AFRVTXT_IMP - Description of confirmation pool
Data type: AFRH-AFRVTXTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for INSERT_CONFIRMATION_RESERVE
AFRH_EXP -
Data type: AFRHOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for INSERT_CONFIRMATION_RESERVE
AFRV_TAB -
Data type: AFRVOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ALREADY_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_APPL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_ORIGIN -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLE_EMPTY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for INSERT_CONFIRMATION_RESERVE 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_afrh_exp | TYPE AFRH, " | |||
lt_afrv_tab | TYPE STANDARD TABLE OF AFRV, " | |||
lv_afori_imp | TYPE AFRV-AFORI, " | |||
lv_already_exist | TYPE AFRV, " | |||
lv_wrong_appl | TYPE AFRV, " | |||
lv_afrhher_imp | TYPE AFRH-AFRHHER, " | |||
lv_afruv_imp | TYPE AFRV-AFRUV, " SPACE | |||
lv_wrong_origin | TYPE AFRV, " | |||
lv_afru_wf_imp | TYPE AFRU_WF, " SPACE | |||
lv_table_empty | TYPE AFRU_WF, " | |||
lv_afrvtxt_imp | TYPE AFRH-AFRVTXT. " SPACE |
  CALL FUNCTION 'INSERT_CONFIRMATION_RESERVE' " |
EXPORTING | ||
AFORI_IMP | = lv_afori_imp | |
AFRHHER_IMP | = lv_afrhher_imp | |
AFRUV_IMP | = lv_afruv_imp | |
AFRU_WF_IMP | = lv_afru_wf_imp | |
AFRVTXT_IMP | = lv_afrvtxt_imp | |
IMPORTING | ||
AFRH_EXP | = lv_afrh_exp | |
TABLES | ||
AFRV_TAB | = lt_afrv_tab | |
EXCEPTIONS | ||
ALREADY_EXIST = 1 | ||
WRONG_APPL = 2 | ||
WRONG_ORIGIN = 3 | ||
TABLE_EMPTY = 4 | ||
. " INSERT_CONFIRMATION_RESERVE |
ABAP code using 7.40 inline data declarations to call FM INSERT_CONFIRMATION_RESERVE
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 AFORI FROM AFRV INTO @DATA(ld_afori_imp). | ||||
"SELECT single AFRHHER FROM AFRH INTO @DATA(ld_afrhher_imp). | ||||
"SELECT single AFRUV FROM AFRV INTO @DATA(ld_afruv_imp). | ||||
DATA(ld_afruv_imp) | = ' '. | |||
DATA(ld_afru_wf_imp) | = ' '. | |||
"SELECT single AFRVTXT FROM AFRH INTO @DATA(ld_afrvtxt_imp). | ||||
DATA(ld_afrvtxt_imp) | = ' '. | |||
Search for further information about these or an SAP related objects