SAP FVD_DEBTTR_API_REVERSE Function Module for Reset Borrower Change
FVD_DEBTTR_API_REVERSE is a standard fvd debttr api reverse SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Reset 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 api reverse FM, simply by entering the name FVD_DEBTTR_API_REVERSE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_DEBTTR_API
Program Name: SAPLFVD_DEBTTR_API
Main Program: SAPLFVD_DEBTTR_API
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FVD_DEBTTR_API_REVERSE 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_API_REVERSE'"Reset Borrower Change.
EXPORTING
I_BUKRS = "Company Code
I_RANL = "Contract Number
I_RBO = "Business operation number (loans)
I_S_POST_INFO = "Back-up information for the Borrower Change
* I_X_NO_CONFIRMATION = ' ' "Skip Release Procedure
* I_CALLN_APPLN = 'INT' "Calling Application
IMPORTING
E_TAB_BO_LIST = "Result of Data Selection by Loan and Business Operation
E_TAB_VDBEKI = "Table Type for Table VDBEKI
E_TAB_VDBEPI = "Table Type for Table VDBEPI
E_TAB_BKPF_OI = "Table Type for Table BKPF
E_TAB_MSG = "Application Log: Table with Messages
EXCEPTIONS
FAILED = 1
IMPORTING Parameters details for FVD_DEBTTR_API_REVERSE
I_BUKRS - Company Code
Data type: BUKRSOptional: No
Call by Reference: Yes
I_RANL - Contract Number
Data type: RANLOptional: No
Call by Reference: Yes
I_RBO - Business operation number (loans)
Data type: RBOOptional: No
Call by Reference: Yes
I_S_POST_INFO - Back-up information for the Borrower Change
Data type: RDEBTTR_SAVEOptional: No
Call by Reference: Yes
I_X_NO_CONFIRMATION - Skip Release Procedure
Data type: TB_X_NO_CONFIRMATIONDefault: ' '
Optional: Yes
Call by Reference: Yes
I_CALLN_APPLN - Calling Application
Data type: TB_CALLNG_APPLNDefault: 'INT'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FVD_DEBTTR_API_REVERSE
E_TAB_BO_LIST - Result of Data Selection by Loan and Business Operation
Data type: TRTY_RDEBTTR_BO_LISTOptional: No
Call by Reference: Yes
E_TAB_VDBEKI - Table Type for Table VDBEKI
Data type: TRTY_VDBEKIOptional: No
Call by Reference: Yes
E_TAB_VDBEPI - Table Type for Table VDBEPI
Data type: TRTY_VDBEPIOptional: No
Call by Reference: Yes
E_TAB_BKPF_OI - Table Type for Table BKPF
Data type: TRTY_BKPFOptional: No
Call by Reference: Yes
E_TAB_MSG - Application Log: Table with Messages
Data type: BAL_T_MSGOptional: No
Call by Reference: Yes
EXCEPTIONS details
FAILED - Schuldnerwechsel wurde nicht zurückgenommen
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_DEBTTR_API_REVERSE 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_failed | TYPE STRING, " | |||
| lv_i_bukrs | TYPE BUKRS, " | |||
| lv_e_tab_bo_list | TYPE TRTY_RDEBTTR_BO_LIST, " | |||
| lv_i_ranl | TYPE RANL, " | |||
| lv_e_tab_vdbeki | TYPE TRTY_VDBEKI, " | |||
| lv_i_rbo | TYPE RBO, " | |||
| lv_e_tab_vdbepi | TYPE TRTY_VDBEPI, " | |||
| lv_e_tab_bkpf_oi | TYPE TRTY_BKPF, " | |||
| lv_i_s_post_info | TYPE RDEBTTR_SAVE, " | |||
| lv_e_tab_msg | TYPE BAL_T_MSG, " | |||
| lv_i_x_no_confirmation | TYPE TB_X_NO_CONFIRMATION, " ' ' | |||
| lv_i_calln_appln | TYPE TB_CALLNG_APPLN. " 'INT' |
|   CALL FUNCTION 'FVD_DEBTTR_API_REVERSE' "Reset Borrower Change |
| EXPORTING | ||
| I_BUKRS | = lv_i_bukrs | |
| I_RANL | = lv_i_ranl | |
| I_RBO | = lv_i_rbo | |
| I_S_POST_INFO | = lv_i_s_post_info | |
| I_X_NO_CONFIRMATION | = lv_i_x_no_confirmation | |
| I_CALLN_APPLN | = lv_i_calln_appln | |
| IMPORTING | ||
| E_TAB_BO_LIST | = lv_e_tab_bo_list | |
| E_TAB_VDBEKI | = lv_e_tab_vdbeki | |
| E_TAB_VDBEPI | = lv_e_tab_vdbepi | |
| E_TAB_BKPF_OI | = lv_e_tab_bkpf_oi | |
| E_TAB_MSG | = lv_e_tab_msg | |
| EXCEPTIONS | ||
| FAILED = 1 | ||
| . " FVD_DEBTTR_API_REVERSE | ||
ABAP code using 7.40 inline data declarations to call FM FVD_DEBTTR_API_REVERSE
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_x_no_confirmation) | = ' '. | |||
| DATA(ld_i_calln_appln) | = 'INT'. | |||
Search for further information about these or an SAP related objects