SAP FVW6_ADD_REPAYMENT_CONDITIONS Function Module for Add Repayment Conditions to Security's Other Conditions









FVW6_ADD_REPAYMENT_CONDITIONS is a standard fvw6 add repayment conditions SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Add Repayment Conditions to Security's Other Conditions 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 fvw6 add repayment conditions FM, simply by entering the name FVW6_ADD_REPAYMENT_CONDITIONS into the relevant SAP transaction such as SE37 or SE38.

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



Function FVW6_ADD_REPAYMENT_CONDITIONS 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 'FVW6_ADD_REPAYMENT_CONDITIONS'"Add Repayment Conditions to Security's Other Conditions
EXPORTING
IM_PRODUCT_CATEGORY = "Asset Master for Securities
IM_SECURITY_NUMBER = "Asset Master for Securities
IM_PRODUCT_TYPE = "Product Type
IM_SET_NAME = "Asset Master for Securities
* IM_DATE = "Datum für auswahl der tilgungspläne

IMPORTING
EX_VALID_FROM = "Gultig ab datum für die tilgungspläne
EX_SET_NAME = "Name der ausgewählte set
EX_SCHEDULE_KEY_EFF_RATE = "Key for Redemption Schedule that Explains Effect. Int. Rate
EX_TAB_REDEMPTION_SCHEDULE = "

CHANGING
EX_CONDITIONS = "Conditions which will be expanded with conditions for repayments

EXCEPTIONS
SET_DOES_NOT_EXIST = 1 NO_ACTIVE_SET_DETERMINED = 2 NO_VALID_SCHEDULE_FOUND = 3 CONDITIONTYPE_NOT_FOUND = 4 PRODUCT_TYPE_NOT_FOUND = 5
.



IMPORTING Parameters details for FVW6_ADD_REPAYMENT_CONDITIONS

IM_PRODUCT_CATEGORY - Asset Master for Securities

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

IM_SECURITY_NUMBER - Asset Master for Securities

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

IM_PRODUCT_TYPE - Product Type

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

IM_SET_NAME - Asset Master for Securities

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

IM_DATE - Datum für auswahl der tilgungspläne

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

EXPORTING Parameters details for FVW6_ADD_REPAYMENT_CONDITIONS

EX_VALID_FROM - Gultig ab datum für die tilgungspläne

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

EX_SET_NAME - Name der ausgewählte set

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

EX_SCHEDULE_KEY_EFF_RATE - Key for Redemption Schedule that Explains Effect. Int. Rate

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

EX_TAB_REDEMPTION_SCHEDULE -

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

CHANGING Parameters details for FVW6_ADD_REPAYMENT_CONDITIONS

EX_CONDITIONS - Conditions which will be expanded with conditions for repayments

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

EXCEPTIONS details

SET_DOES_NOT_EXIST - Set does not exist on security

Data type:
Optional: No
Call by Reference: Yes

NO_ACTIVE_SET_DETERMINED - Other error w. determination of set on security

Data type:
Optional: No
Call by Reference: Yes

NO_VALID_SCHEDULE_FOUND - No valid schedule found for set on security

Data type:
Optional: No
Call by Reference: Yes

CONDITIONTYPE_NOT_FOUND - Condition type for repayment not found - custom.?

Data type:
Optional: No
Call by Reference: Yes

PRODUCT_TYPE_NOT_FOUND - Product type not found - input error ?

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FVW6_ADD_REPAYMENT_CONDITIONS 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_ex_conditions  TYPE TRTY_VVZZKOPO, "   
lv_ex_valid_from  TYPE RDPT_VALID_FROM, "   
lv_set_does_not_exist  TYPE RDPT_VALID_FROM, "   
lv_im_product_category  TYPE SANLF, "   
lv_ex_set_name  TYPE RDPT_SET_NAME, "   
lv_im_security_number  TYPE VVRANLW, "   
lv_no_active_set_determined  TYPE VVRANLW, "   
lv_im_product_type  TYPE VVSART, "   
lv_no_valid_schedule_found  TYPE VVSART, "   
lv_ex_schedule_key_eff_rate  TYPE RDPT_SCHEDULE_KEY_EFF_RATE, "   
lv_im_set_name  TYPE RDPT_SET_NAME, "   
lv_conditiontype_not_found  TYPE RDPT_SET_NAME, "   
lv_ex_tab_redemption_schedule  TYPE RDPT_SCHEDULES, "   
lv_im_date  TYPE RDPT_VALID_FROM, "   
lv_product_type_not_found  TYPE RDPT_VALID_FROM. "   

  CALL FUNCTION 'FVW6_ADD_REPAYMENT_CONDITIONS'  "Add Repayment Conditions to Security's Other Conditions
    EXPORTING
         IM_PRODUCT_CATEGORY = lv_im_product_category
         IM_SECURITY_NUMBER = lv_im_security_number
         IM_PRODUCT_TYPE = lv_im_product_type
         IM_SET_NAME = lv_im_set_name
         IM_DATE = lv_im_date
    IMPORTING
         EX_VALID_FROM = lv_ex_valid_from
         EX_SET_NAME = lv_ex_set_name
         EX_SCHEDULE_KEY_EFF_RATE = lv_ex_schedule_key_eff_rate
         EX_TAB_REDEMPTION_SCHEDULE = lv_ex_tab_redemption_schedule
    CHANGING
         EX_CONDITIONS = lv_ex_conditions
    EXCEPTIONS
        SET_DOES_NOT_EXIST = 1
        NO_ACTIVE_SET_DETERMINED = 2
        NO_VALID_SCHEDULE_FOUND = 3
        CONDITIONTYPE_NOT_FOUND = 4
        PRODUCT_TYPE_NOT_FOUND = 5
. " FVW6_ADD_REPAYMENT_CONDITIONS




ABAP code using 7.40 inline data declarations to call FM FVW6_ADD_REPAYMENT_CONDITIONS

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!