SAP ISU_CREATE_TRANFER_DOCUMENT Function Module for INTERNAL: Creates Transfer Posting Items fr. Security Payments and Request
ISU_CREATE_TRANFER_DOCUMENT is a standard isu create tranfer document SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Creates Transfer Posting Items fr. Security Payments and Request 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 isu create tranfer document FM, simply by entering the name ISU_CREATE_TRANFER_DOCUMENT into the relevant SAP transaction such as SE37 or SE38.
Function Group: EK_TRANSFER
Program Name: SAPLEK_TRANSFER
Main Program: SAPLEK_TRANSFER
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_CREATE_TRANFER_DOCUMENT 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 'ISU_CREATE_TRANFER_DOCUMENT'"INTERNAL: Creates Transfer Posting Items fr. Security Payments and Request.
EXPORTING
X_VTREF = "
X_VKONT = "
* X_GPART = "Business Partner Number
X_WAERS = "
X_APPLK = "
* X_FKKVKP = "Contract Account
* X_NO_DIALOG = "
IMPORTING
Y_OPBEL = "Document number of the transfer posting document
TABLES
XT_FKKCL = "
EXCEPTIONS
IU_ERROR = 1
IMPORTING Parameters details for ISU_CREATE_TRANFER_DOCUMENT
X_VTREF -
Data type: FKKOP-VTREFOptional: No
Call by Reference: No ( called with pass by value option)
X_VKONT -
Data type: FKKOP-VKONTOptional: No
Call by Reference: No ( called with pass by value option)
X_GPART - Business Partner Number
Data type: FKKOP-GPARTOptional: Yes
Call by Reference: Yes
X_WAERS -
Data type: FKKKO-WAERSOptional: No
Call by Reference: No ( called with pass by value option)
X_APPLK -
Data type: FKKKO-APPLKOptional: No
Call by Reference: No ( called with pass by value option)
X_FKKVKP - Contract Account
Data type: FKKVKPOptional: Yes
Call by Reference: No ( called with pass by value option)
X_NO_DIALOG -
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISU_CREATE_TRANFER_DOCUMENT
Y_OPBEL - Document number of the transfer posting document
Data type: FKKKO-OPBELOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISU_CREATE_TRANFER_DOCUMENT
XT_FKKCL -
Data type: FKKCLOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
IU_ERROR - Program error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_CREATE_TRANFER_DOCUMENT 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_x_vtref | TYPE FKKOP-VTREF, " | |||
| lv_y_opbel | TYPE FKKKO-OPBEL, " | |||
| lv_iu_error | TYPE FKKKO, " | |||
| lt_xt_fkkcl | TYPE STANDARD TABLE OF FKKCL, " | |||
| lv_x_vkont | TYPE FKKOP-VKONT, " | |||
| lv_x_gpart | TYPE FKKOP-GPART, " | |||
| lv_x_waers | TYPE FKKKO-WAERS, " | |||
| lv_x_applk | TYPE FKKKO-APPLK, " | |||
| lv_x_fkkvkp | TYPE FKKVKP, " | |||
| lv_x_no_dialog | TYPE BOOLE-BOOLE. " |
|   CALL FUNCTION 'ISU_CREATE_TRANFER_DOCUMENT' "INTERNAL: Creates Transfer Posting Items fr. Security Payments and Request |
| EXPORTING | ||
| X_VTREF | = lv_x_vtref | |
| X_VKONT | = lv_x_vkont | |
| X_GPART | = lv_x_gpart | |
| X_WAERS | = lv_x_waers | |
| X_APPLK | = lv_x_applk | |
| X_FKKVKP | = lv_x_fkkvkp | |
| X_NO_DIALOG | = lv_x_no_dialog | |
| IMPORTING | ||
| Y_OPBEL | = lv_y_opbel | |
| TABLES | ||
| XT_FKKCL | = lt_xt_fkkcl | |
| EXCEPTIONS | ||
| IU_ERROR = 1 | ||
| . " ISU_CREATE_TRANFER_DOCUMENT | ||
ABAP code using 7.40 inline data declarations to call FM ISU_CREATE_TRANFER_DOCUMENT
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 VTREF FROM FKKOP INTO @DATA(ld_x_vtref). | ||||
| "SELECT single OPBEL FROM FKKKO INTO @DATA(ld_y_opbel). | ||||
| "SELECT single VKONT FROM FKKOP INTO @DATA(ld_x_vkont). | ||||
| "SELECT single GPART FROM FKKOP INTO @DATA(ld_x_gpart). | ||||
| "SELECT single WAERS FROM FKKKO INTO @DATA(ld_x_waers). | ||||
| "SELECT single APPLK FROM FKKKO INTO @DATA(ld_x_applk). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_no_dialog). | ||||
Search for further information about these or an SAP related objects