SAP LOAN_AMOUNT_BBAS Function Module for Old: Determine Calculation Bases









LOAN_AMOUNT_BBAS is a standard loan amount bbas SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Old: Determine Calculation Bases 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 amount bbas FM, simply by entering the name LOAN_AMOUNT_BBAS into the relevant SAP transaction such as SE37 or SE38.

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



Function LOAN_AMOUNT_BBAS 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_AMOUNT_BBAS'"Old: Determine Calculation Bases
EXPORTING
* CFLEISTE = ' ' "aktueller Konditionskopf
* I_KOKO = ' ' "
* I_VDARL = ' ' "Loan
* X_CFLEISTE = ' ' "
* X_SAUFRUF = ' ' "

TABLES
E_BBAS = "
I_BEPP = "Transaction Data
T_KOPO = "Current Condition Items
.



IMPORTING Parameters details for LOAN_AMOUNT_BBAS

CFLEISTE - aktueller Konditionskopf

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

I_KOKO -

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

I_VDARL - Loan

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

X_CFLEISTE -

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

X_SAUFRUF -

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

TABLES Parameters details for LOAN_AMOUNT_BBAS

E_BBAS -

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

I_BEPP - Transaction Data

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

T_KOPO - Current Condition Items

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

Copy and paste ABAP code example for LOAN_AMOUNT_BBAS 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_e_bbas  TYPE STANDARD TABLE OF VZZBBAS, "   
lv_cfleiste  TYPE RCFLEISTE, "   SPACE
lt_i_bepp  TYPE STANDARD TABLE OF VZZBEPP, "   
lv_i_koko  TYPE VZZKOKO, "   SPACE
lt_t_kopo  TYPE STANDARD TABLE OF VVZZKOPO, "   
lv_i_vdarl  TYPE VDARL, "   SPACE
lv_x_cfleiste  TYPE VDARL, "   SPACE
lv_x_saufruf  TYPE TZFB-SAUFRUF. "   SPACE

  CALL FUNCTION 'LOAN_AMOUNT_BBAS'  "Old: Determine Calculation Bases
    EXPORTING
         CFLEISTE = lv_cfleiste
         I_KOKO = lv_i_koko
         I_VDARL = lv_i_vdarl
         X_CFLEISTE = lv_x_cfleiste
         X_SAUFRUF = lv_x_saufruf
    TABLES
         E_BBAS = lt_e_bbas
         I_BEPP = lt_i_bepp
         T_KOPO = lt_t_kopo
. " LOAN_AMOUNT_BBAS




ABAP code using 7.40 inline data declarations to call FM LOAN_AMOUNT_BBAS

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_cfleiste) = ' '.
 
 
DATA(ld_i_koko) = ' '.
 
 
DATA(ld_i_vdarl) = ' '.
 
DATA(ld_x_cfleiste) = ' '.
 
"SELECT single SAUFRUF FROM TZFB INTO @DATA(ld_x_saufruf).
DATA(ld_x_saufruf) = ' '.
 


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!