SAP K_RKP6_INTERFACE_TOTAL Function Module for Transfer Activity-Dependent Cost Planning with Total Values
K_RKP6_INTERFACE_TOTAL is a standard k rkp6 interface total SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Transfer Activity-Dependent Cost Planning with Total Values 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 k rkp6 interface total FM, simply by entering the name K_RKP6_INTERFACE_TOTAL into the relevant SAP transaction such as SE37 or SE38.
Function Group: KIPL
Program Name: SAPLKIPL
Main Program: SAPLKIPL
Appliation area: K
Release date: 17-Jul-1996
Mode(Normal, Remote etc): Normal Function Module
Update:

Function K_RKP6_INTERFACE_TOTAL 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 'K_RKP6_INTERFACE_TOTAL'"Transfer Activity-Dependent Cost Planning with Total Values.
EXPORTING
* BLTXT = ' ' "Document text
VERSN = "Version
VRGNG = "CO business transaction
* ONLINE_VB = ' ' "Post online
* IRKU01_CUR = ' ' "Currency used in transfer
* TESTMODE = ' ' "Test mode
* KEEP_TWAER = ' ' "Retain transaction currency
* COMMIT = 'X' "Carry out commit work
* DELTA = ' ' "Indicator: Delta posting
GJAHR = "Fiscal year
KOKRS = "Controlling area
* MESSAGES_SHOW = ' ' "Issue messages
PERAB = "From period
PERBI = "To period
* UPDATE_VALUES = ' ' "Indicator: Overwrite existing values
TABLES
IRKU01G = "Plan record
EXCEPTIONS
MESSAGES_OCCURED = 1
IMPORTING Parameters details for K_RKP6_INTERFACE_TOTAL
BLTXT - Document text
Data type: COBK-BLTXTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
VERSN - Version
Data type: COBK-VERSNOptional: No
Call by Reference: No ( called with pass by value option)
VRGNG - CO business transaction
Data type: COBK-VRGNGOptional: No
Call by Reference: No ( called with pass by value option)
ONLINE_VB - Post online
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IRKU01_CUR - Currency used in transfer
Data type: RKU01_CURDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TESTMODE - Test mode
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
KEEP_TWAER - Retain transaction currency
Data type: BOOLE-BOOLEDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
COMMIT - Carry out commit work
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
DELTA - Indicator: Delta posting
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
GJAHR - Fiscal year
Data type: COBK-GJAHROptional: No
Call by Reference: No ( called with pass by value option)
KOKRS - Controlling area
Data type: COBK-KOKRSOptional: No
Call by Reference: No ( called with pass by value option)
MESSAGES_SHOW - Issue messages
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PERAB - From period
Data type: COBK-PERABOptional: No
Call by Reference: No ( called with pass by value option)
PERBI - To period
Data type: COBK-PERBIOptional: No
Call by Reference: No ( called with pass by value option)
UPDATE_VALUES - Indicator: Overwrite existing values
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for K_RKP6_INTERFACE_TOTAL
IRKU01G - Plan record
Data type: RKU01GOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
MESSAGES_OCCURED - Messages occurred
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for K_RKP6_INTERFACE_TOTAL 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_bltxt | TYPE COBK-BLTXT, " SPACE | |||
| lt_irku01g | TYPE STANDARD TABLE OF RKU01G, " | |||
| lv_messages_occured | TYPE RKU01G, " | |||
| lv_versn | TYPE COBK-VERSN, " | |||
| lv_vrgng | TYPE COBK-VRGNG, " | |||
| lv_online_vb | TYPE COBK, " SPACE | |||
| lv_irku01_cur | TYPE RKU01_CUR, " SPACE | |||
| lv_testmode | TYPE C, " SPACE | |||
| lv_keep_twaer | TYPE BOOLE-BOOLE, " ' ' | |||
| lv_commit | TYPE BOOLE, " 'X' | |||
| lv_delta | TYPE BOOLE, " SPACE | |||
| lv_gjahr | TYPE COBK-GJAHR, " | |||
| lv_kokrs | TYPE COBK-KOKRS, " | |||
| lv_messages_show | TYPE COBK, " SPACE | |||
| lv_perab | TYPE COBK-PERAB, " | |||
| lv_perbi | TYPE COBK-PERBI, " | |||
| lv_update_values | TYPE COBK. " SPACE |
|   CALL FUNCTION 'K_RKP6_INTERFACE_TOTAL' "Transfer Activity-Dependent Cost Planning with Total Values |
| EXPORTING | ||
| BLTXT | = lv_bltxt | |
| VERSN | = lv_versn | |
| VRGNG | = lv_vrgng | |
| ONLINE_VB | = lv_online_vb | |
| IRKU01_CUR | = lv_irku01_cur | |
| TESTMODE | = lv_testmode | |
| KEEP_TWAER | = lv_keep_twaer | |
| COMMIT | = lv_commit | |
| DELTA | = lv_delta | |
| GJAHR | = lv_gjahr | |
| KOKRS | = lv_kokrs | |
| MESSAGES_SHOW | = lv_messages_show | |
| PERAB | = lv_perab | |
| PERBI | = lv_perbi | |
| UPDATE_VALUES | = lv_update_values | |
| TABLES | ||
| IRKU01G | = lt_irku01g | |
| EXCEPTIONS | ||
| MESSAGES_OCCURED = 1 | ||
| . " K_RKP6_INTERFACE_TOTAL | ||
ABAP code using 7.40 inline data declarations to call FM K_RKP6_INTERFACE_TOTAL
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 BLTXT FROM COBK INTO @DATA(ld_bltxt). | ||||
| DATA(ld_bltxt) | = ' '. | |||
| "SELECT single VERSN FROM COBK INTO @DATA(ld_versn). | ||||
| "SELECT single VRGNG FROM COBK INTO @DATA(ld_vrgng). | ||||
| DATA(ld_online_vb) | = ' '. | |||
| DATA(ld_irku01_cur) | = ' '. | |||
| DATA(ld_testmode) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_keep_twaer). | ||||
| DATA(ld_keep_twaer) | = ' '. | |||
| DATA(ld_commit) | = 'X'. | |||
| DATA(ld_delta) | = ' '. | |||
| "SELECT single GJAHR FROM COBK INTO @DATA(ld_gjahr). | ||||
| "SELECT single KOKRS FROM COBK INTO @DATA(ld_kokrs). | ||||
| DATA(ld_messages_show) | = ' '. | |||
| "SELECT single PERAB FROM COBK INTO @DATA(ld_perab). | ||||
| "SELECT single PERBI FROM COBK INTO @DATA(ld_perbi). | ||||
| DATA(ld_update_values) | = ' '. | |||
Search for further information about these or an SAP related objects