SAP FVD_REPAY_API_CHANGE_PAYOFF Function Module for Wrapper api for change payoff









FVD_REPAY_API_CHANGE_PAYOFF is a standard fvd repay api change payoff SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Wrapper api for change payoff 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 repay api change payoff FM, simply by entering the name FVD_REPAY_API_CHANGE_PAYOFF into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_REPAY_API_CHANGE_PAYOFF 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_REPAY_API_CHANGE_PAYOFF'"Wrapper api for change payoff
EXPORTING
IV_BUKRS = "Company Code
IV_RANL = "Contract Number
IV_RBO = "Business operation number (loans)
IS_RREPAYMENT_API = "Payoff Master Data
* IT_ADDFLOWS = "Table Category for RBOBEPP (Standard)
* IT_OPEN_ITEMS = "Table Type for Structure RVZZBEPP
* IS_BPCA = "Business Process Chain Assignment
* IF_SIM = ' ' "Simulation flag
* IF_NO_CONFIRMATION = ' ' "If set as 'X', suppress release

IMPORTING
ES_VDBOHEAD = "
ET_BAPIRET2 = "Return parameter table
ES_VDREPAYMENT = "Payoff Master Data
ES_RREPAYMENT = "Screen Fields for Payoff
ET_VDBEPP = "
ET_OPEN_ITEMS = "Table Type for Structure RVZZBEPP
ET_VZZBEPP_REPAY = "Table Type for Structure VZZBEPP
ET_VZZBEPP_NON_REPAY = "Table Type for Structure VZZBEPP
ET_VZZBEPP_ACTUAL = "Table Type for Structure VZZBEPP
ET_INC_COSTS = "Table Category for RBOBEPP (Standard)
.



IMPORTING Parameters details for FVD_REPAY_API_CHANGE_PAYOFF

IV_BUKRS - Company Code

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

IV_RANL - Contract Number

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

IV_RBO - Business operation number (loans)

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

IS_RREPAYMENT_API - Payoff Master Data

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

IT_ADDFLOWS - Table Category for RBOBEPP (Standard)

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

IT_OPEN_ITEMS - Table Type for Structure RVZZBEPP

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

IS_BPCA - Business Process Chain Assignment

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

IF_SIM - Simulation flag

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

IF_NO_CONFIRMATION - If set as 'X', suppress release

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

EXPORTING Parameters details for FVD_REPAY_API_CHANGE_PAYOFF

ES_VDBOHEAD -

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

ET_BAPIRET2 - Return parameter table

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

ES_VDREPAYMENT - Payoff Master Data

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

ES_RREPAYMENT - Screen Fields for Payoff

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

ET_VDBEPP -

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

ET_OPEN_ITEMS - Table Type for Structure RVZZBEPP

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

ET_VZZBEPP_REPAY - Table Type for Structure VZZBEPP

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

ET_VZZBEPP_NON_REPAY - Table Type for Structure VZZBEPP

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

ET_VZZBEPP_ACTUAL - Table Type for Structure VZZBEPP

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

ET_INC_COSTS - Table Category for RBOBEPP (Standard)

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

Copy and paste ABAP code example for FVD_REPAY_API_CHANGE_PAYOFF 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_iv_bukrs  TYPE VDARL-BUKRS, "   
lv_es_vdbohead  TYPE VDBOHEAD, "   
lv_et_bapiret2  TYPE BAPIRET2_T, "   
lv_iv_ranl  TYPE VDARL-RANL, "   
lv_es_vdrepayment  TYPE VDREPAYMENT, "   
lv_iv_rbo  TYPE VDBOHEAD-RBO, "   
lv_es_rrepayment  TYPE RREPAYMENT, "   
lv_et_vdbepp  TYPE TRTY_VDBEPP, "   
lv_is_rrepayment_api  TYPE REPAY_API_STRUC, "   
lv_it_addflows  TYPE TRTY_RBOBEPP_API, "   
lv_et_open_items  TYPE TRTY_RVZZBEPP, "   
lv_it_open_items  TYPE TRTY_RVZZBEPP, "   
lv_et_vzzbepp_repay  TYPE TRTY_VZZBEPP, "   
lv_is_bpca  TYPE FVD_STR_BPCA, "   
lv_et_vzzbepp_non_repay  TYPE TRTY_VZZBEPP, "   
lv_if_sim  TYPE XFELD, "   SPACE
lv_et_vzzbepp_actual  TYPE TRTY_VZZBEPP, "   
lv_et_inc_costs  TYPE TRTY_RBOBEPP, "   
lv_if_no_confirmation  TYPE XFELD. "   SPACE

  CALL FUNCTION 'FVD_REPAY_API_CHANGE_PAYOFF'  "Wrapper api for change payoff
    EXPORTING
         IV_BUKRS = lv_iv_bukrs
         IV_RANL = lv_iv_ranl
         IV_RBO = lv_iv_rbo
         IS_RREPAYMENT_API = lv_is_rrepayment_api
         IT_ADDFLOWS = lv_it_addflows
         IT_OPEN_ITEMS = lv_it_open_items
         IS_BPCA = lv_is_bpca
         IF_SIM = lv_if_sim
         IF_NO_CONFIRMATION = lv_if_no_confirmation
    IMPORTING
         ES_VDBOHEAD = lv_es_vdbohead
         ET_BAPIRET2 = lv_et_bapiret2
         ES_VDREPAYMENT = lv_es_vdrepayment
         ES_RREPAYMENT = lv_es_rrepayment
         ET_VDBEPP = lv_et_vdbepp
         ET_OPEN_ITEMS = lv_et_open_items
         ET_VZZBEPP_REPAY = lv_et_vzzbepp_repay
         ET_VZZBEPP_NON_REPAY = lv_et_vzzbepp_non_repay
         ET_VZZBEPP_ACTUAL = lv_et_vzzbepp_actual
         ET_INC_COSTS = lv_et_inc_costs
. " FVD_REPAY_API_CHANGE_PAYOFF




ABAP code using 7.40 inline data declarations to call FM FVD_REPAY_API_CHANGE_PAYOFF

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 BUKRS FROM VDARL INTO @DATA(ld_iv_bukrs).
 
 
 
"SELECT single RANL FROM VDARL INTO @DATA(ld_iv_ranl).
 
 
"SELECT single RBO FROM VDBOHEAD INTO @DATA(ld_iv_rbo).
 
 
 
 
 
 
 
 
 
 
DATA(ld_if_sim) = ' '.
 
 
 
DATA(ld_if_no_confirmation) = ' '.
 


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!