SAP FKK_TRANSFER_OPENITEM_SELECT Function Module for









FKK_TRANSFER_OPENITEM_SELECT is a standard fkk transfer openitem select 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 transfer openitem select FM, simply by entering the name FKK_TRANSFER_OPENITEM_SELECT into the relevant SAP transaction such as SE37 or SE38.

Function Group: FKU4
Program Name: SAPLFKU4
Main Program: SAPLFKU4
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FKK_TRANSFER_OPENITEM_SELECT 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_TRANSFER_OPENITEM_SELECT'"
EXPORTING
IT_TRANSFERMAS = "Master Data Fields for Transfer of Items and Requests
* I_VTREF_NEW = "Reference Specifications from Contract
* I_SUBAP_NEW = "Subapplication in Contract Accounts Receivable and Payable
* I_NO_DIALOG = ' ' "Checkbox
* I_RFKU4 = "
* I_OPBEL_ORI = "Number of a Contract Accounts Receivable and Payable Document
* I_XBLNR_ORI = "Reference Document Number
* I_APPLK = "Application Area
* I_WAERS = "Currency Key
* I_BUDAT = SY-DATUM "Posting Date in the Document
* I_UMGRD = "Transfer Reason
* I_GPART_NEW = "Business Partner Number
* I_VKONT_NEW = "Contract Account Number

IMPORTING
ET_FKKCL = "Table with Clearing Information

EXCEPTIONS
NO_SELECTION = 1 SEVERE_ERROR = 2
.



IMPORTING Parameters details for FKK_TRANSFER_OPENITEM_SELECT

IT_TRANSFERMAS - Master Data Fields for Transfer of Items and Requests

Data type: FKKTRANSFERMAS_T
Optional: No
Call by Reference: Yes

I_VTREF_NEW - Reference Specifications from Contract

Data type: VTREF_KK
Optional: Yes
Call by Reference: Yes

I_SUBAP_NEW - Subapplication in Contract Accounts Receivable and Payable

Data type: SUBAP_KK
Optional: Yes
Call by Reference: Yes

I_NO_DIALOG - Checkbox

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_RFKU4 -

Data type: RFKU4
Optional: Yes
Call by Reference: Yes

I_OPBEL_ORI - Number of a Contract Accounts Receivable and Payable Document

Data type: OPBEL_KK
Optional: Yes
Call by Reference: Yes

I_XBLNR_ORI - Reference Document Number

Data type: XBLNR_KK
Optional: Yes
Call by Reference: Yes

I_APPLK - Application Area

Data type: APPLK_KK
Optional: Yes
Call by Reference: Yes

I_WAERS - Currency Key

Data type: WAERS_KK
Optional: Yes
Call by Reference: Yes

I_BUDAT - Posting Date in the Document

Data type: BUDAT_KK
Default: SY-DATUM
Optional: Yes
Call by Reference: Yes

I_UMGRD - Transfer Reason

Data type: UMGRD_KK
Optional: Yes
Call by Reference: Yes

I_GPART_NEW - Business Partner Number

Data type: GPART_KK
Optional: Yes
Call by Reference: Yes

I_VKONT_NEW - Contract Account Number

Data type: VKONT_KK
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FKK_TRANSFER_OPENITEM_SELECT

ET_FKKCL - Table with Clearing Information

Data type: FKKCL_T
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NO_SELECTION - No open items selected

Data type:
Optional: No
Call by Reference: Yes

SEVERE_ERROR - Fatal Error

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FKK_TRANSFER_OPENITEM_SELECT 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_fkkcl  TYPE FKKCL_T, "   
lv_no_selection  TYPE FKKCL_T, "   
lv_it_transfermas  TYPE FKKTRANSFERMAS_T, "   
lv_i_vtref_new  TYPE VTREF_KK, "   
lv_i_subap_new  TYPE SUBAP_KK, "   
lv_i_no_dialog  TYPE XFELD, "   SPACE
lv_i_rfku4  TYPE RFKU4, "   
lv_i_opbel_ori  TYPE OPBEL_KK, "   
lv_severe_error  TYPE OPBEL_KK, "   
lv_i_xblnr_ori  TYPE XBLNR_KK, "   
lv_i_applk  TYPE APPLK_KK, "   
lv_i_waers  TYPE WAERS_KK, "   
lv_i_budat  TYPE BUDAT_KK, "   SY-DATUM
lv_i_umgrd  TYPE UMGRD_KK, "   
lv_i_gpart_new  TYPE GPART_KK, "   
lv_i_vkont_new  TYPE VKONT_KK. "   

  CALL FUNCTION 'FKK_TRANSFER_OPENITEM_SELECT'  "
    EXPORTING
         IT_TRANSFERMAS = lv_it_transfermas
         I_VTREF_NEW = lv_i_vtref_new
         I_SUBAP_NEW = lv_i_subap_new
         I_NO_DIALOG = lv_i_no_dialog
         I_RFKU4 = lv_i_rfku4
         I_OPBEL_ORI = lv_i_opbel_ori
         I_XBLNR_ORI = lv_i_xblnr_ori
         I_APPLK = lv_i_applk
         I_WAERS = lv_i_waers
         I_BUDAT = lv_i_budat
         I_UMGRD = lv_i_umgrd
         I_GPART_NEW = lv_i_gpart_new
         I_VKONT_NEW = lv_i_vkont_new
    IMPORTING
         ET_FKKCL = lv_et_fkkcl
    EXCEPTIONS
        NO_SELECTION = 1
        SEVERE_ERROR = 2
. " FKK_TRANSFER_OPENITEM_SELECT




ABAP code using 7.40 inline data declarations to call FM FKK_TRANSFER_OPENITEM_SELECT

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_no_dialog) = ' '.
 
 
 
 
 
 
 
DATA(ld_i_budat) = SY-DATUM.
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!