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

Function ISH_INV_CANCEL_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 'ISH_INV_CANCEL_COMPLETE'".
EXPORTING
IT_CANC_VBRK = "
* IT_CANC_VBRP = "
IT_CASES_VBRK = "
IT_CASES_VBRP = "
* I_CANC_TYPE = "
IMPORTING
ET_LU_VBRK = "
ET_CANC_VBRP = "
E_SEQ_FOUND = "
E_LOG_FOUND = "
EXCEPTIONS
ERROR_DETERMINE_SEQUENCE = 1 WRONG_IMPORT_PARAMETERS = 2 ERROR_DETERMINE_LOG_INV = 3
IMPORTING Parameters details for ISH_INV_CANCEL_COMPLETE
IT_CANC_VBRK -
Data type: ISH_T_VBRKOptional: No
Call by Reference: Yes
IT_CANC_VBRP -
Data type: ISH_T_VBRPOptional: Yes
Call by Reference: Yes
IT_CASES_VBRK -
Data type: ISH_T_VBRKOptional: No
Call by Reference: Yes
IT_CASES_VBRP -
Data type: ISH_T_VBRPOptional: No
Call by Reference: Yes
I_CANC_TYPE -
Data type: TN02E-EVENTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_INV_CANCEL_COMPLETE
ET_LU_VBRK -
Data type: ISH_T_VBRK_LUOptional: No
Call by Reference: Yes
ET_CANC_VBRP -
Data type: ISH_T_VBRP_CANCOptional: No
Call by Reference: Yes
E_SEQ_FOUND -
Data type: ISH_TRUE_FALSEOptional: No
Call by Reference: Yes
E_LOG_FOUND -
Data type: ISH_TRUE_FALSEOptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR_DETERMINE_SEQUENCE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_IMPORT_PARAMETERS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_DETERMINE_LOG_INV -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISH_INV_CANCEL_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_et_lu_vbrk | TYPE ISH_T_VBRK_LU, " | |||
| lv_it_canc_vbrk | TYPE ISH_T_VBRK, " | |||
| lv_error_determine_sequence | TYPE ISH_T_VBRK, " | |||
| lv_et_canc_vbrp | TYPE ISH_T_VBRP_CANC, " | |||
| lv_it_canc_vbrp | TYPE ISH_T_VBRP, " | |||
| lv_wrong_import_parameters | TYPE ISH_T_VBRP, " | |||
| lv_e_seq_found | TYPE ISH_TRUE_FALSE, " | |||
| lv_it_cases_vbrk | TYPE ISH_T_VBRK, " | |||
| lv_error_determine_log_inv | TYPE ISH_T_VBRK, " | |||
| lv_e_log_found | TYPE ISH_TRUE_FALSE, " | |||
| lv_it_cases_vbrp | TYPE ISH_T_VBRP, " | |||
| lv_i_canc_type | TYPE TN02E-EVENT. " |
|   CALL FUNCTION 'ISH_INV_CANCEL_COMPLETE' " |
| EXPORTING | ||
| IT_CANC_VBRK | = lv_it_canc_vbrk | |
| IT_CANC_VBRP | = lv_it_canc_vbrp | |
| IT_CASES_VBRK | = lv_it_cases_vbrk | |
| IT_CASES_VBRP | = lv_it_cases_vbrp | |
| I_CANC_TYPE | = lv_i_canc_type | |
| IMPORTING | ||
| ET_LU_VBRK | = lv_et_lu_vbrk | |
| ET_CANC_VBRP | = lv_et_canc_vbrp | |
| E_SEQ_FOUND | = lv_e_seq_found | |
| E_LOG_FOUND | = lv_e_log_found | |
| EXCEPTIONS | ||
| ERROR_DETERMINE_SEQUENCE = 1 | ||
| WRONG_IMPORT_PARAMETERS = 2 | ||
| ERROR_DETERMINE_LOG_INV = 3 | ||
| . " ISH_INV_CANCEL_COMPLETE | ||
ABAP code using 7.40 inline data declarations to call FM ISH_INV_CANCEL_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 EVENT FROM TN02E INTO @DATA(ld_i_canc_type). | ||||
Search for further information about these or an SAP related objects