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

Function FKK_INV_REVTASK_CREATE 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 'FKK_INV_REVTASK_CREATE'".
EXPORTING
I_REVTASK = "
* I_RERATE_PARAMS = "
* I_REVTASK_DESC = "
* I_REVTASK_REF = "
* I_CREATE_BILL_REVTASK = 'X' "
* I_BILL_REVREASON = "
* I_CREATE_INV_REVTASK = 'X' "
* I_INV_REVREASON = "
* I_CREATE_BIT_REVTASK = ' ' "
* I_BIT_EXCREASON = "
IMPORTING
E_REVTASK = "
E_BILL_REVTASK = "
E_INV_REVTASK = "
E_BIT_REVTASK = "
IMPORTING Parameters details for FKK_INV_REVTASK_CREATE
I_REVTASK -
Data type: REVTASK_KKOptional: No
Call by Reference: Yes
I_RERATE_PARAMS -
Data type: FKKBIXRER_REVT_PARAMSOptional: Yes
Call by Reference: Yes
I_REVTASK_DESC -
Data type: REVTASK_DESC_KKOptional: Yes
Call by Reference: Yes
I_REVTASK_REF -
Data type: REVTASK_REF_KKOptional: Yes
Call by Reference: Yes
I_CREATE_BILL_REVTASK -
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: Yes
I_BILL_REVREASON -
Data type: BILL_REVREASON_KKOptional: Yes
Call by Reference: Yes
I_CREATE_INV_REVTASK -
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: Yes
I_INV_REVREASON -
Data type: REVREASON_KKOptional: Yes
Call by Reference: Yes
I_CREATE_BIT_REVTASK -
Data type: XFELDDefault: ' '
Optional: Yes
Call by Reference: Yes
I_BIT_EXCREASON -
Data type: BITEXCREASON_KKOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FKK_INV_REVTASK_CREATE
E_REVTASK -
Data type: DFKKINV_REVTOptional: No
Call by Reference: Yes
E_BILL_REVTASK -
Data type: DFKKINVBILL_REVTOptional: No
Call by Reference: Yes
E_INV_REVTASK -
Data type: DFKKINVDOC_REVTOptional: No
Call by Reference: Yes
E_BIT_REVTASK -
Data type: DFKKBIXBIT_REVTOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FKK_INV_REVTASK_CREATE 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_e_revtask | TYPE DFKKINV_REVT, " | |||
| lv_i_revtask | TYPE REVTASK_KK, " | |||
| lv_i_rerate_params | TYPE FKKBIXRER_REVT_PARAMS, " | |||
| lv_e_bill_revtask | TYPE DFKKINVBILL_REVT, " | |||
| lv_i_revtask_desc | TYPE REVTASK_DESC_KK, " | |||
| lv_e_inv_revtask | TYPE DFKKINVDOC_REVT, " | |||
| lv_i_revtask_ref | TYPE REVTASK_REF_KK, " | |||
| lv_e_bit_revtask | TYPE DFKKBIXBIT_REVT, " | |||
| lv_i_create_bill_revtask | TYPE XFELD, " 'X' | |||
| lv_i_bill_revreason | TYPE BILL_REVREASON_KK, " | |||
| lv_i_create_inv_revtask | TYPE XFELD, " 'X' | |||
| lv_i_inv_revreason | TYPE REVREASON_KK, " | |||
| lv_i_create_bit_revtask | TYPE XFELD, " ' ' | |||
| lv_i_bit_excreason | TYPE BITEXCREASON_KK. " |
|   CALL FUNCTION 'FKK_INV_REVTASK_CREATE' " |
| EXPORTING | ||
| I_REVTASK | = lv_i_revtask | |
| I_RERATE_PARAMS | = lv_i_rerate_params | |
| I_REVTASK_DESC | = lv_i_revtask_desc | |
| I_REVTASK_REF | = lv_i_revtask_ref | |
| I_CREATE_BILL_REVTASK | = lv_i_create_bill_revtask | |
| I_BILL_REVREASON | = lv_i_bill_revreason | |
| I_CREATE_INV_REVTASK | = lv_i_create_inv_revtask | |
| I_INV_REVREASON | = lv_i_inv_revreason | |
| I_CREATE_BIT_REVTASK | = lv_i_create_bit_revtask | |
| I_BIT_EXCREASON | = lv_i_bit_excreason | |
| IMPORTING | ||
| E_REVTASK | = lv_e_revtask | |
| E_BILL_REVTASK | = lv_e_bill_revtask | |
| E_INV_REVTASK | = lv_e_inv_revtask | |
| E_BIT_REVTASK | = lv_e_bit_revtask | |
| . " FKK_INV_REVTASK_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM FKK_INV_REVTASK_CREATE
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_i_create_bill_revtask) | = 'X'. | |||
| DATA(ld_i_create_inv_revtask) | = 'X'. | |||
| DATA(ld_i_create_bit_revtask) | = ' '. | |||
Search for further information about these or an SAP related objects