SAP FVD_PAY_OBJ_CREATE_CURTAILMENT Function Module for US Incoming Payment: Create Unscheduled Repayment (No Repay API)









FVD_PAY_OBJ_CREATE_CURTAILMENT is a standard fvd pay obj create curtailment SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for US Incoming Payment: Create Unscheduled Repayment (No Repay API) 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 pay obj create curtailment FM, simply by entering the name FVD_PAY_OBJ_CREATE_CURTAILMENT into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_PAY_OBJ_CREATE_CURTAILMENT 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_PAY_OBJ_CREATE_CURTAILMENT'"US Incoming Payment: Create Unscheduled Repayment (No Repay API)
EXPORTING
I_STR_VDARL = "Loan
* I_AMOUNT = "Amount in Position Currency
* I_IEXACT = "Möglicher APT Betrag muss mit I_AMOUNT übereinstimmen
* I_ISPECIFIED = "APT aus spezifizierter Zahlung

CHANGING
C_TAB_PAY_SEG = "Table Type For Table BSSBSEG
C_TAB_POSTVDBEPP = "Transaction Data - Plan Item
C_TAB_POSTADDBEPP = "Additional Information on VDBEPP

EXCEPTIONS
INCONSISTENCY_ERROR = 1 CUSTOMIZING_ERROR = 2 NOT_EXACT_ERROR = 3 NO_AMOUNT_TO_CURTAIL = 4
.



IMPORTING Parameters details for FVD_PAY_OBJ_CREATE_CURTAILMENT

I_STR_VDARL - Loan

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

I_AMOUNT - Amount in Position Currency

Data type: VDBEPP-BBWHR
Optional: Yes
Call by Reference: Yes

I_IEXACT - Möglicher APT Betrag muss mit I_AMOUNT übereinstimmen

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

I_ISPECIFIED - APT aus spezifizierter Zahlung

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

CHANGING Parameters details for FVD_PAY_OBJ_CREATE_CURTAILMENT

C_TAB_PAY_SEG - Table Type For Table BSSBSEG

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

C_TAB_POSTVDBEPP - Transaction Data - Plan Item

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

C_TAB_POSTADDBEPP - Additional Information on VDBEPP

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

EXCEPTIONS details

INCONSISTENCY_ERROR - Inkonsistenter Datenzustand

Data type:
Optional: No
Call by Reference: Yes

CUSTOMIZING_ERROR - Falsches oder inkonsistentes Customizing

Data type:
Optional: No
Call by Reference: Yes

NOT_EXACT_ERROR - Möglicher APT Betrag und I_AMOUNT stimmen nicht überein

Data type:
Optional: No
Call by Reference: Yes

NO_AMOUNT_TO_CURTAIL -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FVD_PAY_OBJ_CREATE_CURTAILMENT 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_str_vdarl  TYPE VDARL, "   
lv_c_tab_pay_seg  TYPE TRTY_BSSBSEG, "   
lv_inconsistency_error  TYPE TRTY_BSSBSEG, "   
lv_i_amount  TYPE VDBEPP-BBWHR, "   
lv_c_tab_postvdbepp  TYPE TRTY_VDBEPP, "   
lv_customizing_error  TYPE TRTY_VDBEPP, "   
lv_i_iexact  TYPE XFLAG, "   
lv_not_exact_error  TYPE XFLAG, "   
lv_c_tab_postaddbepp  TYPE TRTY_ADDBEPP, "   
lv_i_ispecified  TYPE XFLAG, "   
lv_no_amount_to_curtail  TYPE XFLAG. "   

  CALL FUNCTION 'FVD_PAY_OBJ_CREATE_CURTAILMENT'  "US Incoming Payment: Create Unscheduled Repayment (No Repay API)
    EXPORTING
         I_STR_VDARL = lv_i_str_vdarl
         I_AMOUNT = lv_i_amount
         I_IEXACT = lv_i_iexact
         I_ISPECIFIED = lv_i_ispecified
    CHANGING
         C_TAB_PAY_SEG = lv_c_tab_pay_seg
         C_TAB_POSTVDBEPP = lv_c_tab_postvdbepp
         C_TAB_POSTADDBEPP = lv_c_tab_postaddbepp
    EXCEPTIONS
        INCONSISTENCY_ERROR = 1
        CUSTOMIZING_ERROR = 2
        NOT_EXACT_ERROR = 3
        NO_AMOUNT_TO_CURTAIL = 4
. " FVD_PAY_OBJ_CREATE_CURTAILMENT




ABAP code using 7.40 inline data declarations to call FM FVD_PAY_OBJ_CREATE_CURTAILMENT

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 BBWHR FROM VDBEPP INTO @DATA(ld_i_amount).
 
 
 
 
 
 
 
 


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!