SAP CASH_FLOW_CONSTRUCT_LOAN_INT_4 Function Module for Interface to new FiMa for plan principle loans









CASH_FLOW_CONSTRUCT_LOAN_INT_4 is a standard cash flow construct loan int 4 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Interface to new FiMa for plan principle 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 cash flow construct loan int 4 FM, simply by entering the name CASH_FLOW_CONSTRUCT_LOAN_INT_4 into the relevant SAP transaction such as SE37 or SE38.

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



Function CASH_FLOW_CONSTRUCT_LOAN_INT_4 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 'CASH_FLOW_CONSTRUCT_LOAN_INT_4'"Interface to new FiMa for plan principle loans
EXPORTING
I_KOKO = "
* I_SAKTPAS = ' ' "
* I_SSOLIST = ' ' "
I_VDARL = "
* I_FLG_LOANCHARAC = 'X' "
* I_CASH_FLOW_END_DATE = "

IMPORTING
E_BFRATE = "
E_DATUM_LFZ = "
E_DRSALDO = "
E_RSALDO = "

TABLES
I_BEPP = "
I_KOPO = "
* I_T056P = "
* E_BBAS = "

EXCEPTIONS
KEINE_TILGUNGSKONDITIONEN = 1 LAUFZEITENDE_FEHLT = 2 LAUFZEITENDE_NICHT_ERMITTELBAR = 3 LAUFZEIT_ODER_RATE_FEHLT = 4 NEGATIVE_TILGUNG_AUFGETRETEN = 5 BCD_FIELD_OVERFLOW = 6 NEW_FIMA_NOT_POSSIBLE = 7 PAYMENT_DETAIL_ERROR = 8
.




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_SAPLFV96_001 Calculation Bases
EXIT_SAPLFV96_101 ISIS Securities - CASH_FLOW_CONSTRUCT_SECURITY Other Flows

IMPORTING Parameters details for CASH_FLOW_CONSTRUCT_LOAN_INT_4

I_KOKO -

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

I_SAKTPAS -

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

I_SSOLIST -

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

I_VDARL -

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

I_FLG_LOANCHARAC -

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

I_CASH_FLOW_END_DATE -

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

EXPORTING Parameters details for CASH_FLOW_CONSTRUCT_LOAN_INT_4

E_BFRATE -

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

E_DATUM_LFZ -

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

E_DRSALDO -

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

E_RSALDO -

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

TABLES Parameters details for CASH_FLOW_CONSTRUCT_LOAN_INT_4

I_BEPP -

Data type: VZZBEPP
Optional: No
Call by Reference: Yes

I_KOPO -

Data type: VVZZKOPO
Optional: No
Call by Reference: Yes

I_T056P -

Data type: T056P
Optional: Yes
Call by Reference: Yes

E_BBAS -

Data type: VZZBBAS
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

KEINE_TILGUNGSKONDITIONEN -

Data type:
Optional: No
Call by Reference: Yes

LAUFZEITENDE_FEHLT -

Data type:
Optional: No
Call by Reference: Yes

LAUFZEITENDE_NICHT_ERMITTELBAR -

Data type:
Optional: No
Call by Reference: Yes

LAUFZEIT_ODER_RATE_FEHLT -

Data type:
Optional: No
Call by Reference: Yes

NEGATIVE_TILGUNG_AUFGETRETEN -

Data type:
Optional: No
Call by Reference: Yes

BCD_FIELD_OVERFLOW -

Data type:
Optional: No
Call by Reference: Yes

NEW_FIMA_NOT_POSSIBLE -

Data type:
Optional: No
Call by Reference: Yes

PAYMENT_DETAIL_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CASH_FLOW_CONSTRUCT_LOAN_INT_4 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_i_bepp  TYPE STANDARD TABLE OF VZZBEPP, "   
lv_i_koko  TYPE VZZKOKO, "   
lv_e_bfrate  TYPE VZZBEPP-BFRATE, "   
lv_keine_tilgungskonditionen  TYPE VZZBEPP, "   
lt_i_kopo  TYPE STANDARD TABLE OF VVZZKOPO, "   
lv_i_saktpas  TYPE TZPA-SAKTPAS, "   SPACE
lv_e_datum_lfz  TYPE SY-DATUM, "   
lv_laufzeitende_fehlt  TYPE SY, "   
lt_i_t056p  TYPE STANDARD TABLE OF T056P, "   
lv_e_drsaldo  TYPE SY-DATUM, "   
lv_i_ssolist  TYPE VVSSOLIST, "   SPACE
lv_laufzeitende_nicht_ermittelbar  TYPE VVSSOLIST, "   
lt_e_bbas  TYPE STANDARD TABLE OF VZZBBAS, "   
lv_i_vdarl  TYPE VDARL, "   
lv_e_rsaldo  TYPE VZZBEPP-BNWHR, "   
lv_laufzeit_oder_rate_fehlt  TYPE VZZBEPP, "   
lv_i_flg_loancharac  TYPE C, "   'X'
lv_negative_tilgung_aufgetreten  TYPE C, "   
lv_bcd_field_overflow  TYPE C, "   
lv_i_cash_flow_end_date  TYPE DATS, "   
lv_new_fima_not_possible  TYPE DATS, "   
lv_payment_detail_error  TYPE DATS. "   

  CALL FUNCTION 'CASH_FLOW_CONSTRUCT_LOAN_INT_4'  "Interface to new FiMa for plan principle loans
    EXPORTING
         I_KOKO = lv_i_koko
         I_SAKTPAS = lv_i_saktpas
         I_SSOLIST = lv_i_ssolist
         I_VDARL = lv_i_vdarl
         I_FLG_LOANCHARAC = lv_i_flg_loancharac
         I_CASH_FLOW_END_DATE = lv_i_cash_flow_end_date
    IMPORTING
         E_BFRATE = lv_e_bfrate
         E_DATUM_LFZ = lv_e_datum_lfz
         E_DRSALDO = lv_e_drsaldo
         E_RSALDO = lv_e_rsaldo
    TABLES
         I_BEPP = lt_i_bepp
         I_KOPO = lt_i_kopo
         I_T056P = lt_i_t056p
         E_BBAS = lt_e_bbas
    EXCEPTIONS
        KEINE_TILGUNGSKONDITIONEN = 1
        LAUFZEITENDE_FEHLT = 2
        LAUFZEITENDE_NICHT_ERMITTELBAR = 3
        LAUFZEIT_ODER_RATE_FEHLT = 4
        NEGATIVE_TILGUNG_AUFGETRETEN = 5
        BCD_FIELD_OVERFLOW = 6
        NEW_FIMA_NOT_POSSIBLE = 7
        PAYMENT_DETAIL_ERROR = 8
. " CASH_FLOW_CONSTRUCT_LOAN_INT_4




ABAP code using 7.40 inline data declarations to call FM CASH_FLOW_CONSTRUCT_LOAN_INT_4

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 BFRATE FROM VZZBEPP INTO @DATA(ld_e_bfrate).
 
 
 
"SELECT single SAKTPAS FROM TZPA INTO @DATA(ld_i_saktpas).
DATA(ld_i_saktpas) = ' '.
 
"SELECT single DATUM FROM SY INTO @DATA(ld_e_datum_lfz).
 
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_e_drsaldo).
 
DATA(ld_i_ssolist) = ' '.
 
 
 
 
"SELECT single BNWHR FROM VZZBEPP INTO @DATA(ld_e_rsaldo).
 
 
DATA(ld_i_flg_loancharac) = 'X'.
 
 
 
 
 
 


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!