SAP FVD_DEBTTR_API_CREATE Function Module for Save Borrower Change









FVD_DEBTTR_API_CREATE is a standard fvd debttr api create 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 api create FM, simply by entering the name FVD_DEBTTR_API_CREATE 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_CREATE 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_CREATE'"Save Borrower Change
EXPORTING
I_BUKRS = "Company Code
I_RANL = "Contract Number
I_RKLAMMER = "Classification Number for Finance Projects
I_S_API_BASE_COMBINED = "BC: Loan -Specific Business Operation Data
* I_TESTRUN = ' ' "Switch to Simulation Mode for Write BAPIs
* I_CALLN_APPLN = 'INT' "Calling Application

IMPORTING
E_TAB_BO_LIST = "Result of Data Selection by Loan and Business Operation
E_TAB_MSG = "Application Log: Table with Messages

EXCEPTIONS
FAILED = 1 MANDATE_NOT_VALID = 2 SEPA_ERROR = 3
.



IMPORTING Parameters details for FVD_DEBTTR_API_CREATE

I_BUKRS - Company Code

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

I_RANL - Contract Number

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

I_RKLAMMER - Classification Number for Finance Projects

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

I_S_API_BASE_COMBINED - BC: Loan -Specific Business Operation Data

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

I_TESTRUN - Switch to Simulation Mode for Write BAPIs

Data type: TESTRUN
Default: ' '
Optional: Yes
Call by Reference: Yes

I_CALLN_APPLN - Calling Application

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

EXPORTING Parameters details for FVD_DEBTTR_API_CREATE

E_TAB_BO_LIST - Result of Data Selection by Loan and Business Operation

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

E_TAB_MSG - Application Log: Table with Messages

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

EXCEPTIONS details

FAILED - Anlage des Schuldnerwechsels fehlgeschlagen

Data type:
Optional: No
Call by Reference: Yes

MANDATE_NOT_VALID - Invalid SEPA Mandate for an EDD Payment Method

Data type:
Optional: No
Call by Reference: Yes

SEPA_ERROR - SEPA Information Cannot Be Processed

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FVD_DEBTTR_API_CREATE 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_msg  TYPE BAL_T_MSG, "   
lv_mandate_not_valid  TYPE BAL_T_MSG, "   
lv_i_rklammer  TYPE RKLAMMER, "   
lv_sepa_error  TYPE RKLAMMER, "   
lv_i_s_api_base_combined  TYPE RDEBTTR_API_BASE_COMBINED, "   
lv_i_testrun  TYPE TESTRUN, "   ' '
lv_i_calln_appln  TYPE TB_CALLNG_APPLN. "   'INT'

  CALL FUNCTION 'FVD_DEBTTR_API_CREATE'  "Save Borrower Change
    EXPORTING
         I_BUKRS = lv_i_bukrs
         I_RANL = lv_i_ranl
         I_RKLAMMER = lv_i_rklammer
         I_S_API_BASE_COMBINED = lv_i_s_api_base_combined
         I_TESTRUN = lv_i_testrun
         I_CALLN_APPLN = lv_i_calln_appln
    IMPORTING
         E_TAB_BO_LIST = lv_e_tab_bo_list
         E_TAB_MSG = lv_e_tab_msg
    EXCEPTIONS
        FAILED = 1
        MANDATE_NOT_VALID = 2
        SEPA_ERROR = 3
. " FVD_DEBTTR_API_CREATE




ABAP code using 7.40 inline data declarations to call FM FVD_DEBTTR_API_CREATE

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_testrun) = ' '.
 
DATA(ld_i_calln_appln) = 'INT'.
 


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!