SAP LOAN_IST_SCHREIBEN Function Module for Write Actual Data for Loan
LOAN_IST_SCHREIBEN is a standard loan ist schreiben SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Write Actual Data for Loan 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 loan ist schreiben FM, simply by entering the name LOAN_IST_SCHREIBEN into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVDB
Program Name: SAPLFVDB
Main Program: SAPLFVDB
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
![](https://www.se80.co.uk/training-education/wp-content/uploads/2019/07/normal-function-module.png)
Function LOAN_IST_SCHREIBEN 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 'LOAN_IST_SCHREIBEN'"Write Actual Data for Loan.
EXPORTING
* HERKUNFT = SY-TCODE "
* I_FLG_NO_TRL = ' ' "Keine Weitergabe an den Transaction Manager
* I_FLG_SHADOW_TABLE = ' ' "
* I_FLG_USE_MODE_I = ' ' "General Flag
TABLES
IBEKI = "
IBEPI = "
* I_VDZNB_SEPA = "Pmnt Postproc.: Storage of SEPA Return Data
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLFVDB_001 User Exit for Premium Reserve Fund
EXIT_SAPLFVDB_002 User Exit for Account Determination
IMPORTING Parameters details for LOAN_IST_SCHREIBEN
HERKUNFT -
Data type: RUSER-REHERDefault: SY-TCODE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_NO_TRL - Keine Weitergabe an den Transaction Manager
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_SHADOW_TABLE -
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_USE_MODE_I - General Flag
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for LOAN_IST_SCHREIBEN
IBEKI -
Data type: VDBEKIOptional: No
Call by Reference: No ( called with pass by value option)
IBEPI -
Data type: VDBEPIOptional: No
Call by Reference: No ( called with pass by value option)
I_VDZNB_SEPA - Pmnt Postproc.: Storage of SEPA Return Data
Data type: VDZNB_SEPAOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for LOAN_IST_SCHREIBEN 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: | ||||
lt_ibeki | TYPE STANDARD TABLE OF VDBEKI, " | |||
lv_herkunft | TYPE RUSER-REHER, " SY-TCODE | |||
lt_ibepi | TYPE STANDARD TABLE OF VDBEPI, " | |||
lv_i_flg_no_trl | TYPE FLAG, " SPACE | |||
lt_i_vdznb_sepa | TYPE STANDARD TABLE OF VDZNB_SEPA, " | |||
lv_i_flg_shadow_table | TYPE FLAG, " SPACE | |||
lv_i_flg_use_mode_i | TYPE FLAG. " SPACE |
  CALL FUNCTION 'LOAN_IST_SCHREIBEN' "Write Actual Data for Loan |
EXPORTING | ||
HERKUNFT | = lv_herkunft | |
I_FLG_NO_TRL | = lv_i_flg_no_trl | |
I_FLG_SHADOW_TABLE | = lv_i_flg_shadow_table | |
I_FLG_USE_MODE_I | = lv_i_flg_use_mode_i | |
TABLES | ||
IBEKI | = lt_ibeki | |
IBEPI | = lt_ibepi | |
I_VDZNB_SEPA | = lt_i_vdznb_sepa | |
. " LOAN_IST_SCHREIBEN |
ABAP code using 7.40 inline data declarations to call FM LOAN_IST_SCHREIBEN
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 REHER FROM RUSER INTO @DATA(ld_herkunft). | ||||
DATA(ld_herkunft) | = SY-TCODE. | |||
DATA(ld_i_flg_no_trl) | = ' '. | |||
DATA(ld_i_flg_shadow_table) | = ' '. | |||
DATA(ld_i_flg_use_mode_i) | = ' '. | |||
Search for further information about these or an SAP related objects