SAP FVD_PL_CONTRACT_INCREASE_CAP Function Module for Increase contract capital (add capital increase condition)
FVD_PL_CONTRACT_INCREASE_CAP is a standard fvd pl contract increase cap SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Increase contract capital (add capital increase condition) 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 pl contract increase cap FM, simply by entering the name FVD_PL_CONTRACT_INCREASE_CAP into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_PL_RFC
Program Name: SAPLFVD_PL_RFC
Main Program: SAPLFVD_PL_RFC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FVD_PL_CONTRACT_INCREASE_CAP 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_PL_CONTRACT_INCREASE_CAP'"Increase contract capital (add capital increase condition).
EXPORTING
I_COMPANY_CODE = "Company Code
* I_FLG_COMMIT = 'X' "'X' -> COMMIT WORK
I_LOANS_CONTRACT = "Contract Number
I_CURRENCY = "Currency
I_AMOUNT = "Commitment capital
I_KEY_DATE = "Date
* I_CONDITION_TYPE = ' ' "Condition Type (Smallest Subdivision of Condition Records)
* I_TEST_RUN = ' ' "'X' -> simulation
* I_FLG_NO_RELEASE = ' ' "'X' -> do no start release workflow
* I_FLG_UPDATE_TASK = 'X' "'X' -> update task
IMPORTING
E_FLG_RELEASE = "Checkbox
E_FLG_SUCCESS = "Checkbox
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for FVD_PL_CONTRACT_INCREASE_CAP
I_COMPANY_CODE - Company Code
Data type: VDARL-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_FLG_COMMIT - 'X' -> COMMIT WORK
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LOANS_CONTRACT - Contract Number
Data type: VDARL-RANLOptional: No
Call by Reference: No ( called with pass by value option)
I_CURRENCY - Currency
Data type: VDARL-SANTWHROptional: No
Call by Reference: No ( called with pass by value option)
I_AMOUNT - Commitment capital
Data type: VDARL-BZUSAGEOptional: No
Call by Reference: No ( called with pass by value option)
I_KEY_DATE - Date
Data type: DATUMOptional: No
Call by Reference: No ( called with pass by value option)
I_CONDITION_TYPE - Condition Type (Smallest Subdivision of Condition Records)
Data type: SKOARTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TEST_RUN - 'X' -> simulation
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_NO_RELEASE - 'X' -> do no start release workflow
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_UPDATE_TASK - 'X' -> update task
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FVD_PL_CONTRACT_INCREASE_CAP
E_FLG_RELEASE - Checkbox
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
E_FLG_SUCCESS - Checkbox
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_PL_CONTRACT_INCREASE_CAP 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_error | TYPE STRING, " | |||
| lv_e_flg_release | TYPE XFELD, " | |||
| lv_i_company_code | TYPE VDARL-BUKRS, " | |||
| lv_i_flg_commit | TYPE XFELD, " 'X' | |||
| lv_e_flg_success | TYPE XFELD, " | |||
| lv_i_loans_contract | TYPE VDARL-RANL, " | |||
| lv_i_currency | TYPE VDARL-SANTWHR, " | |||
| lv_i_amount | TYPE VDARL-BZUSAGE, " | |||
| lv_i_key_date | TYPE DATUM, " | |||
| lv_i_condition_type | TYPE SKOART, " SPACE | |||
| lv_i_test_run | TYPE XFELD, " SPACE | |||
| lv_i_flg_no_release | TYPE XFELD, " SPACE | |||
| lv_i_flg_update_task | TYPE FLAG. " 'X' |
|   CALL FUNCTION 'FVD_PL_CONTRACT_INCREASE_CAP' "Increase contract capital (add capital increase condition) |
| EXPORTING | ||
| I_COMPANY_CODE | = lv_i_company_code | |
| I_FLG_COMMIT | = lv_i_flg_commit | |
| I_LOANS_CONTRACT | = lv_i_loans_contract | |
| I_CURRENCY | = lv_i_currency | |
| I_AMOUNT | = lv_i_amount | |
| I_KEY_DATE | = lv_i_key_date | |
| I_CONDITION_TYPE | = lv_i_condition_type | |
| I_TEST_RUN | = lv_i_test_run | |
| I_FLG_NO_RELEASE | = lv_i_flg_no_release | |
| I_FLG_UPDATE_TASK | = lv_i_flg_update_task | |
| IMPORTING | ||
| E_FLG_RELEASE | = lv_e_flg_release | |
| E_FLG_SUCCESS | = lv_e_flg_success | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " FVD_PL_CONTRACT_INCREASE_CAP | ||
ABAP code using 7.40 inline data declarations to call FM FVD_PL_CONTRACT_INCREASE_CAP
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_i_company_code). | ||||
| DATA(ld_i_flg_commit) | = 'X'. | |||
| "SELECT single RANL FROM VDARL INTO @DATA(ld_i_loans_contract). | ||||
| "SELECT single SANTWHR FROM VDARL INTO @DATA(ld_i_currency). | ||||
| "SELECT single BZUSAGE FROM VDARL INTO @DATA(ld_i_amount). | ||||
| DATA(ld_i_condition_type) | = ' '. | |||
| DATA(ld_i_test_run) | = ' '. | |||
| DATA(ld_i_flg_no_release) | = ' '. | |||
| DATA(ld_i_flg_update_task) | = 'X'. | |||
Search for further information about these or an SAP related objects