SAP TRANSACTION_LOAN_LOAD Function Module for Load Flow Records for the Loan and Calculate Totals









TRANSACTION_LOAN_LOAD is a standard transaction loan load SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Load Flow Records for the Loan and Calculate Totals 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 transaction loan load FM, simply by entering the name TRANSACTION_LOAN_LOAD into the relevant SAP transaction such as SE37 or SE38.

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



Function TRANSACTION_LOAN_LOAD 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 'TRANSACTION_LOAN_LOAD'"Load Flow Records for the Loan and Calculate Totals
EXPORTING
BUKRS = "Company Code
* P_I_TYPE = ' ' "Plan oder/und Ist Bewegungen
RANL = "Asset Number
* SANLF = '000' "Product Category
* STICHTAG = '99999999' "Stichtag zu dem Kapitalstand ermittelt wird
* NO_STORNO = ' ' "
* I_FLG_NO_SHADOW_TABLE = ' ' "Checkbox
* I_FLG_IGNORE_TDPZZ = ' ' "Checkbox

IMPORTING
NOMKAPITAL = "Nominalkapital = Summe(Zugänge) (Ist)
PNOMKAPITAL = "Nominalkapital = Summe(Zugänge) (Plan)
PSUMTILGUNG = "Summe der Tilgungen = Summe(Abgänge) (Plan)
SUMTILGUNG = "Summe der Tilgungen = Summe(Abgänge) (Ist)

TABLES
YVDBEKI = "Ist Bewegungen Kopf
YVDBEPI = "Ist Bewegungen Positionen
YVDBEPP = "Plan Bewegungen Positionen

EXCEPTIONS
RANL_NOT_FOUND = 1
.



IMPORTING Parameters details for TRANSACTION_LOAN_LOAD

BUKRS - Company Code

Data type: T001-BUKRS
Optional: No
Call by Reference: No ( called with pass by value option)

P_I_TYPE - Plan oder/und Ist Bewegungen

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

RANL - Asset Number

Data type: VDARL-RANL
Optional: No
Call by Reference: No ( called with pass by value option)

SANLF - Product Category

Data type: VDARL-SANLF
Default: '000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

STICHTAG - Stichtag zu dem Kapitalstand ermittelt wird

Data type: VDBEKI-DVORGANG
Default: '99999999'
Optional: Yes
Call by Reference: No ( called with pass by value option)

NO_STORNO -

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_NO_SHADOW_TABLE - Checkbox

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_IGNORE_TDPZZ - Checkbox

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for TRANSACTION_LOAN_LOAD

NOMKAPITAL - Nominalkapital = Summe(Zugänge) (Ist)

Data type: VDBEPI-BNWHR
Optional: No
Call by Reference: No ( called with pass by value option)

PNOMKAPITAL - Nominalkapital = Summe(Zugänge) (Plan)

Data type: VDBEPP-BNWHR
Optional: No
Call by Reference: No ( called with pass by value option)

PSUMTILGUNG - Summe der Tilgungen = Summe(Abgänge) (Plan)

Data type: VDBEPP-BNWHR
Optional: No
Call by Reference: No ( called with pass by value option)

SUMTILGUNG - Summe der Tilgungen = Summe(Abgänge) (Ist)

Data type: VDBEPI-BNWHR
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for TRANSACTION_LOAN_LOAD

YVDBEKI - Ist Bewegungen Kopf

Data type: VDBEKI
Optional: No
Call by Reference: No ( called with pass by value option)

YVDBEPI - Ist Bewegungen Positionen

Data type: VDBEPI
Optional: No
Call by Reference: No ( called with pass by value option)

YVDBEPP - Plan Bewegungen Positionen

Data type: VDBEPP
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

RANL_NOT_FOUND - Vertragsnummer ungültig

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for TRANSACTION_LOAN_LOAD 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_bukrs  TYPE T001-BUKRS, "   
lt_yvdbeki  TYPE STANDARD TABLE OF VDBEKI, "   
lv_nomkapital  TYPE VDBEPI-BNWHR, "   
lv_ranl_not_found  TYPE VDBEPI, "   
lt_yvdbepi  TYPE STANDARD TABLE OF VDBEPI, "   
lv_p_i_type  TYPE VDBEPI, "   SPACE
lv_pnomkapital  TYPE VDBEPP-BNWHR, "   
lv_ranl  TYPE VDARL-RANL, "   
lt_yvdbepp  TYPE STANDARD TABLE OF VDBEPP, "   
lv_psumtilgung  TYPE VDBEPP-BNWHR, "   
lv_sanlf  TYPE VDARL-SANLF, "   '000'
lv_sumtilgung  TYPE VDBEPI-BNWHR, "   
lv_stichtag  TYPE VDBEKI-DVORGANG, "   '99999999'
lv_no_storno  TYPE VDBEKI, "   SPACE
lv_i_flg_no_shadow_table  TYPE XFELD, "   SPACE
lv_i_flg_ignore_tdpzz  TYPE XFELD. "   SPACE

  CALL FUNCTION 'TRANSACTION_LOAN_LOAD'  "Load Flow Records for the Loan and Calculate Totals
    EXPORTING
         BUKRS = lv_bukrs
         P_I_TYPE = lv_p_i_type
         RANL = lv_ranl
         SANLF = lv_sanlf
         STICHTAG = lv_stichtag
         NO_STORNO = lv_no_storno
         I_FLG_NO_SHADOW_TABLE = lv_i_flg_no_shadow_table
         I_FLG_IGNORE_TDPZZ = lv_i_flg_ignore_tdpzz
    IMPORTING
         NOMKAPITAL = lv_nomkapital
         PNOMKAPITAL = lv_pnomkapital
         PSUMTILGUNG = lv_psumtilgung
         SUMTILGUNG = lv_sumtilgung
    TABLES
         YVDBEKI = lt_yvdbeki
         YVDBEPI = lt_yvdbepi
         YVDBEPP = lt_yvdbepp
    EXCEPTIONS
        RANL_NOT_FOUND = 1
. " TRANSACTION_LOAN_LOAD




ABAP code using 7.40 inline data declarations to call FM TRANSACTION_LOAN_LOAD

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 BUKRS FROM T001 INTO @DATA(ld_bukrs).
 
 
"SELECT single BNWHR FROM VDBEPI INTO @DATA(ld_nomkapital).
 
 
 
DATA(ld_p_i_type) = ' '.
 
"SELECT single BNWHR FROM VDBEPP INTO @DATA(ld_pnomkapital).
 
"SELECT single RANL FROM VDARL INTO @DATA(ld_ranl).
 
 
"SELECT single BNWHR FROM VDBEPP INTO @DATA(ld_psumtilgung).
 
"SELECT single SANLF FROM VDARL INTO @DATA(ld_sanlf).
DATA(ld_sanlf) = '000'.
 
"SELECT single BNWHR FROM VDBEPI INTO @DATA(ld_sumtilgung).
 
"SELECT single DVORGANG FROM VDBEKI INTO @DATA(ld_stichtag).
DATA(ld_stichtag) = '99999999'.
 
DATA(ld_no_storno) = ' '.
 
DATA(ld_i_flg_no_shadow_table) = ' '.
 
DATA(ld_i_flg_ignore_tdpzz) = ' '.
 


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!