SAP LOAN_ENTER Function Module for Entry Screen for Loans









LOAN_ENTER is a standard loan enter SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Entry Screen for Loans 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 enter FM, simply by entering the name LOAN_ENTER into the relevant SAP transaction such as SE37 or SE38.

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



Function LOAN_ENTER 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_ENTER'"Entry Screen for Loans
EXPORTING
* FLG_BUCH = ' ' "
* I_AUTH_ACTVT = ' ' "Aktivität für Authority-Check
* I_AUTH_OBJECT = ' ' "Objekt des Authority-Check
* I_ENQUEUE = ' ' "'X' = Satz wird gesperrt
* I_FLG_AUFG = ' ' "
* I_FLG_CONFIRMATION = ' ' "'X'= Prüfung ob abhängige Daten freigegeben sind

IMPORTING
AUS_RPNNR = "
E_OKAY = "OK Code
E_VDARL = "Struktur von Vdarl
FLG_RFVZFS00 = "
PRI_AKTIV = "

CHANGING
* C_MASSPOSTING = "
* NEWDATA_VZBAVV = "

TABLES
* OBJECTLIST = "
.



IMPORTING Parameters details for LOAN_ENTER

FLG_BUCH -

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

I_AUTH_ACTVT - Aktivität für Authority-Check

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

I_AUTH_OBJECT - Objekt des Authority-Check

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

I_ENQUEUE - 'X' = Satz wird gesperrt

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

I_FLG_AUFG -

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

I_FLG_CONFIRMATION - 'X'= Prüfung ob abhängige Daten freigegeben sind

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

EXPORTING Parameters details for LOAN_ENTER

AUS_RPNNR -

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

E_OKAY - OK Code

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

E_VDARL - Struktur von Vdarl

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

FLG_RFVZFS00 -

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

PRI_AKTIV -

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

CHANGING Parameters details for LOAN_ENTER

C_MASSPOSTING -

Data type:
Optional: Yes
Call by Reference: Yes

NEWDATA_VZBAVV -

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

TABLES Parameters details for LOAN_ENTER

OBJECTLIST -

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

Copy and paste ABAP code example for LOAN_ENTER 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_flg_buch  TYPE STRING, "   SPACE
lv_aus_rpnnr  TYPE STRING, "   
lt_objectlist  TYPE STANDARD TABLE OF FVDCOBJECTLIST, "   
lv_c_massposting  TYPE FVDCOBJECTLIST, "   
lv_e_okay  TYPE FVDCOBJECTLIST, "   
lv_i_auth_actvt  TYPE FVDCOBJECTLIST, "   ' '
lv_newdata_vzbavv  TYPE SUB_VZBAVV, "   
lv_e_vdarl  TYPE VDARL, "   
lv_i_auth_object  TYPE VDARL, "   ' '
lv_i_enqueue  TYPE VDARL, "   ' '
lv_flg_rfvzfs00  TYPE VDARL, "   
lv_pri_aktiv  TYPE VDARL, "   
lv_i_flg_aufg  TYPE VDARL, "   ' '
lv_i_flg_confirmation  TYPE VDARL. "   ' '

  CALL FUNCTION 'LOAN_ENTER'  "Entry Screen for Loans
    EXPORTING
         FLG_BUCH = lv_flg_buch
         I_AUTH_ACTVT = lv_i_auth_actvt
         I_AUTH_OBJECT = lv_i_auth_object
         I_ENQUEUE = lv_i_enqueue
         I_FLG_AUFG = lv_i_flg_aufg
         I_FLG_CONFIRMATION = lv_i_flg_confirmation
    IMPORTING
         AUS_RPNNR = lv_aus_rpnnr
         E_OKAY = lv_e_okay
         E_VDARL = lv_e_vdarl
         FLG_RFVZFS00 = lv_flg_rfvzfs00
         PRI_AKTIV = lv_pri_aktiv
    CHANGING
         C_MASSPOSTING = lv_c_massposting
         NEWDATA_VZBAVV = lv_newdata_vzbavv
    TABLES
         OBJECTLIST = lt_objectlist
. " LOAN_ENTER




ABAP code using 7.40 inline data declarations to call FM LOAN_ENTER

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_flg_buch) = ' '.
 
 
 
 
 
DATA(ld_i_auth_actvt) = ' '.
 
 
 
DATA(ld_i_auth_object) = ' '.
 
DATA(ld_i_enqueue) = ' '.
 
 
 
DATA(ld_i_flg_aufg) = ' '.
 
DATA(ld_i_flg_confirmation) = ' '.
 


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!