SAP LOAN_ITEMS_SELECTION Function Module for Select Planning Records in the DARWIN Subledger









LOAN_ITEMS_SELECTION is a standard loan items selection SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Select Planning Records in the DARWIN Subledger 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 items selection FM, simply by entering the name LOAN_ITEMS_SELECTION into the relevant SAP transaction such as SE37 or SE38.

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



Function LOAN_ITEMS_SELECTION 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_ITEMS_SELECTION'"Select Planning Records in the DARWIN Subledger
EXPORTING
I_FEBEP = "
I_FEBKO = "
I_KUNNR = "

TABLES
T_RANL = "
T_RANLG = "
T_VDBEPP = "
.




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_SAPLFVOR_003 User Exit for Calculating Interest on Arrears
EXIT_SAPLFVOR_004 User Exit for Generating Postings for the Relevant Interest on Arrears

IMPORTING Parameters details for LOAN_ITEMS_SELECTION

I_FEBEP -

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

I_FEBKO -

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

I_KUNNR -

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

TABLES Parameters details for LOAN_ITEMS_SELECTION

T_RANL -

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

T_RANLG -

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

T_VDBEPP -

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

Copy and paste ABAP code example for LOAN_ITEMS_SELECTION 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_t_ranl  TYPE STANDARD TABLE OF VDARL, "   
lv_i_febep  TYPE FEBEP, "   
lv_i_febko  TYPE FEBKO, "   
lt_t_ranlg  TYPE STANDARD TABLE OF VDARL, "   
lv_i_kunnr  TYPE KNA1-KUNNR, "   
lt_t_vdbepp  TYPE STANDARD TABLE OF VDBEPP. "   

  CALL FUNCTION 'LOAN_ITEMS_SELECTION'  "Select Planning Records in the DARWIN Subledger
    EXPORTING
         I_FEBEP = lv_i_febep
         I_FEBKO = lv_i_febko
         I_KUNNR = lv_i_kunnr
    TABLES
         T_RANL = lt_t_ranl
         T_RANLG = lt_t_ranlg
         T_VDBEPP = lt_t_vdbepp
. " LOAN_ITEMS_SELECTION




ABAP code using 7.40 inline data declarations to call FM LOAN_ITEMS_SELECTION

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 KUNNR FROM KNA1 INTO @DATA(ld_i_kunnr).
 
 


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!