SAP EXIT_SAPLFVD_REPAY_OL_002 Function Module for User Exit for Amounts









EXIT_SAPLFVD_REPAY_OL_002 is a standard exit saplfvd repay ol 002 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for User Exit for Amounts 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 exit saplfvd repay ol 002 FM, simply by entering the name EXIT_SAPLFVD_REPAY_OL_002 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLFVD_REPAY_OL_002 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 'EXIT_SAPLFVD_REPAY_OL_002'"User Exit for Amounts
EXPORTING
I_VDARL = "Loans
I_TAB_VVZZKOPO_NON_REPAY = "Table Type for Table VVZZKOPO
I_TAB_VVZZKOPO_REPAY = "Table Type for Table VVZZKOPO
I_TAB_VZZBEPP_NON_REPAY = "Table Type for Structure VZZBEPP
I_TAB_VZZBEPP_REPAY = "Table Type for Structure VZZBEPP
I_TAB_VZZBEPP_ACTUAL = "Table Type for Structure VZZBEPP
I_TAB_OPEN_ITEMS = "Table Type for Structure RVZZBEPP
I_TAB_OPEN_ITEMS_SEL = "Table Type for Structure RVZZBEPP
I_TAB_VDGPO = "Business Partner Assignment
I_TAB_VDGPODEB = "Table Type for VDGPODEB
I_TAB_BUT0BK = "Table Type for Table BUTOBK
I_RREPAYMENT = "Screen Fields for Payoff
I_VDPOPO = "File Item
I_RBO = "Business Operation Number (Loans)
I_MODUS = "Mode for Payoff Data
I_OKCODE = "Screens, Function Code That Triggered PAI
I_TAB_VDREPAYMENT = "Table Type for Table VDREPAYMENT
I_VDBOHEAD = "Business Operation: Header
I_TAB_VDBOHEAD = "Table Type for Table VDBOHEAD
I_TAB_VDBOBEPP = "Table Type for Table VDBOBEPP
I_VZZKOKO_NON_REPAY = "Table Condition Header
I_VZZKOKO_REPAY = "Table Condition Header
I_TAB_VZZKOKO = "Table Type for Table VZZKOKO

IMPORTING
E_BFIELD3 = "Amount Field 3
E_BFIELD4 = "Amount Field 4
.



IMPORTING Parameters details for EXIT_SAPLFVD_REPAY_OL_002

I_VDARL - Loans

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

I_TAB_VVZZKOPO_NON_REPAY - Table Type for Table VVZZKOPO

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

I_TAB_VVZZKOPO_REPAY - Table Type for Table VVZZKOPO

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

I_TAB_VZZBEPP_NON_REPAY - Table Type for Structure VZZBEPP

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

I_TAB_VZZBEPP_REPAY - Table Type for Structure VZZBEPP

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

I_TAB_VZZBEPP_ACTUAL - Table Type for Structure VZZBEPP

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

I_TAB_OPEN_ITEMS - Table Type for Structure RVZZBEPP

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

I_TAB_OPEN_ITEMS_SEL - Table Type for Structure RVZZBEPP

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

I_TAB_VDGPO - Business Partner Assignment

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

I_TAB_VDGPODEB - Table Type for VDGPODEB

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

I_TAB_BUT0BK - Table Type for Table BUTOBK

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

I_RREPAYMENT - Screen Fields for Payoff

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

I_VDPOPO - File Item

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

I_RBO - Business Operation Number (Loans)

Data type: VDBOHEAD-RBO
Optional: No
Call by Reference: Yes

I_MODUS - Mode for Payoff Data

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

I_OKCODE - Screens, Function Code That Triggered PAI

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

I_TAB_VDREPAYMENT - Table Type for Table VDREPAYMENT

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

I_VDBOHEAD - Business Operation: Header

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

I_TAB_VDBOHEAD - Table Type for Table VDBOHEAD

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

I_TAB_VDBOBEPP - Table Type for Table VDBOBEPP

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

I_VZZKOKO_NON_REPAY - Table Condition Header

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

I_VZZKOKO_REPAY - Table Condition Header

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

I_TAB_VZZKOKO - Table Type for Table VZZKOKO

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

EXPORTING Parameters details for EXIT_SAPLFVD_REPAY_OL_002

E_BFIELD3 - Amount Field 3

Data type: RREPAYMENT-BFELD3
Optional: No
Call by Reference: Yes

E_BFIELD4 - Amount Field 4

Data type: RREPAYMENT-BFELD4
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EXIT_SAPLFVD_REPAY_OL_002 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_i_vdarl  TYPE VDARL, "   
lv_e_bfield3  TYPE RREPAYMENT-BFELD3, "   
lv_i_tab_vvzzkopo_non_repay  TYPE TRTY_VVZZKOPO, "   
lv_i_tab_vvzzkopo_repay  TYPE TRTY_VVZZKOPO, "   
lv_i_tab_vzzbepp_non_repay  TYPE TRTY_VZZBEPP, "   
lv_i_tab_vzzbepp_repay  TYPE TRTY_VZZBEPP, "   
lv_i_tab_vzzbepp_actual  TYPE TRTY_VZZBEPP, "   
lv_i_tab_open_items  TYPE TRTY_RVZZBEPP, "   
lv_i_tab_open_items_sel  TYPE TRTY_RVZZBEPP, "   
lv_i_tab_vdgpo  TYPE TRTY_VDGPO, "   
lv_i_tab_vdgpodeb  TYPE TRTY_VDGPODEB, "   
lv_i_tab_but0bk  TYPE TRTY_BUT0BK, "   
lv_e_bfield4  TYPE RREPAYMENT-BFELD4, "   
lv_i_rrepayment  TYPE RREPAYMENT, "   
lv_i_vdpopo  TYPE VDPOPO, "   
lv_i_rbo  TYPE VDBOHEAD-RBO, "   
lv_i_modus  TYPE TB_REPAY_MODUS, "   
lv_i_okcode  TYPE SYUCOMM, "   
lv_i_tab_vdrepayment  TYPE TRTY_VDREPAYMENT, "   
lv_i_vdbohead  TYPE VDBOHEAD, "   
lv_i_tab_vdbohead  TYPE TRTY_VDBOHEAD, "   
lv_i_tab_vdbobepp  TYPE TRTY_VDBOBEPP, "   
lv_i_vzzkoko_non_repay  TYPE VZZKOKO, "   
lv_i_vzzkoko_repay  TYPE VZZKOKO, "   
lv_i_tab_vzzkoko  TYPE TRTY_VZZKOKO. "   

  CALL FUNCTION 'EXIT_SAPLFVD_REPAY_OL_002'  "User Exit for Amounts
    EXPORTING
         I_VDARL = lv_i_vdarl
         I_TAB_VVZZKOPO_NON_REPAY = lv_i_tab_vvzzkopo_non_repay
         I_TAB_VVZZKOPO_REPAY = lv_i_tab_vvzzkopo_repay
         I_TAB_VZZBEPP_NON_REPAY = lv_i_tab_vzzbepp_non_repay
         I_TAB_VZZBEPP_REPAY = lv_i_tab_vzzbepp_repay
         I_TAB_VZZBEPP_ACTUAL = lv_i_tab_vzzbepp_actual
         I_TAB_OPEN_ITEMS = lv_i_tab_open_items
         I_TAB_OPEN_ITEMS_SEL = lv_i_tab_open_items_sel
         I_TAB_VDGPO = lv_i_tab_vdgpo
         I_TAB_VDGPODEB = lv_i_tab_vdgpodeb
         I_TAB_BUT0BK = lv_i_tab_but0bk
         I_RREPAYMENT = lv_i_rrepayment
         I_VDPOPO = lv_i_vdpopo
         I_RBO = lv_i_rbo
         I_MODUS = lv_i_modus
         I_OKCODE = lv_i_okcode
         I_TAB_VDREPAYMENT = lv_i_tab_vdrepayment
         I_VDBOHEAD = lv_i_vdbohead
         I_TAB_VDBOHEAD = lv_i_tab_vdbohead
         I_TAB_VDBOBEPP = lv_i_tab_vdbobepp
         I_VZZKOKO_NON_REPAY = lv_i_vzzkoko_non_repay
         I_VZZKOKO_REPAY = lv_i_vzzkoko_repay
         I_TAB_VZZKOKO = lv_i_tab_vzzkoko
    IMPORTING
         E_BFIELD3 = lv_e_bfield3
         E_BFIELD4 = lv_e_bfield4
. " EXIT_SAPLFVD_REPAY_OL_002




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLFVD_REPAY_OL_002

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 BFELD3 FROM RREPAYMENT INTO @DATA(ld_e_bfield3).
 
 
 
 
 
 
 
 
 
 
 
"SELECT single BFELD4 FROM RREPAYMENT INTO @DATA(ld_e_bfield4).
 
 
 
"SELECT single RBO FROM VDBOHEAD INTO @DATA(ld_i_rbo).
 
 
 
 
 
 
 
 
 
 


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!