SAP FVD_DEBTTR_OL_SET Function Module for Save Borrower Change









FVD_DEBTTR_OL_SET is a standard fvd debttr ol set SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Save Borrower Change 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 fvd debttr ol set FM, simply by entering the name FVD_DEBTTR_OL_SET into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_DEBTTR_OL_SET 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 'FVD_DEBTTR_OL_SET'"Save Borrower Change
EXPORTING
I_OKCODE = "Screens, Function Code That Triggered PAI
I_RDEBTTR_SAVE = "Back-up information for the Borrower Change
* I_X_NO_CONFIRMATION = ' ' "Skip Release Procedure
* I_TESTRUN = ' ' "Posting Interface Simulation Indicator

IMPORTING
E_RBO = "Business operation number (loans)
E_TAB_VDBEKI_BO_NEW = "Table Type for Table VDBEKI
E_TAB_VDBEPI_BO_NEW = "Table Type for Table VDBEPI
E_TAB_BKPF_OI = "Table Type for Table BKPF

EXCEPTIONS
SET_FAILED = 1
.




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_SAPLFVD_DEBTTR_OL_001 Customer Checks Borrower Change
EXIT_SAPLFVD_DEBTTR_OL_002 Customer Function Data Transfer from OL

IMPORTING Parameters details for FVD_DEBTTR_OL_SET

I_OKCODE - Screens, Function Code That Triggered PAI

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

I_RDEBTTR_SAVE - Back-up information for the Borrower Change

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

I_X_NO_CONFIRMATION - Skip Release Procedure

Data type: TB_X_NO_CONFIRMATION
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_TESTRUN - Posting Interface Simulation Indicator

Data type: BSSPARA-SIMKZ
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FVD_DEBTTR_OL_SET

E_RBO - Business operation number (loans)

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

E_TAB_VDBEKI_BO_NEW - Table Type for Table VDBEKI

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

E_TAB_VDBEPI_BO_NEW - Table Type for Table VDBEPI

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

E_TAB_BKPF_OI - Table Type for Table BKPF

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

EXCEPTIONS details

SET_FAILED - Geschäftsvorfall konnte nicht gesichert werden

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FVD_DEBTTR_OL_SET 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_e_rbo  TYPE VDBOHEAD-RBO, "   
lv_i_okcode  TYPE SYUCOMM, "   
lv_set_failed  TYPE SYUCOMM, "   
lv_i_rdebttr_save  TYPE RDEBTTR_SAVE, "   
lv_e_tab_vdbeki_bo_new  TYPE TRTY_VDBEKI, "   
lv_e_tab_vdbepi_bo_new  TYPE TRTY_VDBEPI, "   
lv_i_x_no_confirmation  TYPE TB_X_NO_CONFIRMATION, "   SPACE
lv_i_testrun  TYPE BSSPARA-SIMKZ, "   SPACE
lv_e_tab_bkpf_oi  TYPE TRTY_BKPF. "   

  CALL FUNCTION 'FVD_DEBTTR_OL_SET'  "Save Borrower Change
    EXPORTING
         I_OKCODE = lv_i_okcode
         I_RDEBTTR_SAVE = lv_i_rdebttr_save
         I_X_NO_CONFIRMATION = lv_i_x_no_confirmation
         I_TESTRUN = lv_i_testrun
    IMPORTING
         E_RBO = lv_e_rbo
         E_TAB_VDBEKI_BO_NEW = lv_e_tab_vdbeki_bo_new
         E_TAB_VDBEPI_BO_NEW = lv_e_tab_vdbepi_bo_new
         E_TAB_BKPF_OI = lv_e_tab_bkpf_oi
    EXCEPTIONS
        SET_FAILED = 1
. " FVD_DEBTTR_OL_SET




ABAP code using 7.40 inline data declarations to call FM FVD_DEBTTR_OL_SET

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 RBO FROM VDBOHEAD INTO @DATA(ld_e_rbo).
 
 
 
 
 
 
DATA(ld_i_x_no_confirmation) = ' '.
 
"SELECT single SIMKZ FROM BSSPARA INTO @DATA(ld_i_testrun).
DATA(ld_i_testrun) = ' '.
 
 


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!