SAP LOAN_AMOUNT_BBAS_OPT Function Module for Determine Calculation Bases









LOAN_AMOUNT_BBAS_OPT is a standard loan amount bbas opt SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for 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 opt FM, simply by entering the name LOAN_AMOUNT_BBAS_OPT 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_OPT 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_OPT'"Determine Calculation Bases
EXPORTING
* I_KOKO = ' ' "
* I_VDARL = ' ' "Loan
* X_SAUFRUF = ' ' "

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



IMPORTING Parameters details for LOAN_AMOUNT_BBAS_OPT

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_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_OPT

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_OPT 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_i_koko  TYPE VZZKOKO, "   SPACE
lt_i_bepp  TYPE STANDARD TABLE OF VZZBEPP, "   
lv_i_vdarl  TYPE VDARL, "   SPACE
lt_t_kopo  TYPE STANDARD TABLE OF VVZZKOPO, "   
lv_x_saufruf  TYPE TZFB-SAUFRUF. "   SPACE

  CALL FUNCTION 'LOAN_AMOUNT_BBAS_OPT'  "Determine Calculation Bases
    EXPORTING
         I_KOKO = lv_i_koko
         I_VDARL = lv_i_vdarl
         X_SAUFRUF = lv_x_saufruf
    TABLES
         E_BBAS = lt_e_bbas
         I_BEPP = lt_i_bepp
         T_KOPO = lt_t_kopo
. " LOAN_AMOUNT_BBAS_OPT




ABAP code using 7.40 inline data declarations to call FM LOAN_AMOUNT_BBAS_OPT

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_i_koko) = ' '.
 
 
DATA(ld_i_vdarl) = ' '.
 
 
"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!