SAP FVD_LOAN_PRO_CREATE Function Module for Create a prolongation/rollover offer for a contract
FVD_LOAN_PRO_CREATE is a standard fvd loan pro 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 Create a prolongation/rollover offer for a contract 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 loan pro create FM, simply by entering the name FVD_LOAN_PRO_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_CONTRACT
Program Name: SAPLFVD_CONTRACT
Main Program: SAPLFVD_CONTRACT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FVD_LOAN_PRO_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_LOAN_PRO_CREATE'"Create a prolongation/rollover offer for a contract.
EXPORTING
I_BUKRS = "Company Code
I_RANL = "Contract Number
* I_RPNR = "Activity number/rollover number
IS_VZZKOKO = "Table condition header
IT_VZZKOPO = "Table Type for Table VZZKOPO
* IT_VZZKOPA = "Table Type for Table VZZKOPA
* I_S_BPCA = "Business Process Chain Assignment
* I_TESTRUN = ' ' "'X'-Test mode
IMPORTING
ES_VDARL = "Loans
ES_VDPROLONGATION = "Prolongation related system adminstrative data
ES_VDPOPO = "File item
ES_VZZKOKO = "Table condition header
ET_VZZKOPO = "Table Type for Table VZZKOPO
ET_VZZKOPA = "Table Type for Table VZZKOPA
ET_BAPIRET2 = "Table with BAPI Return Information
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for FVD_LOAN_PRO_CREATE
I_BUKRS - Company Code
Data type: BUKRSOptional: No
Call by Reference: Yes
I_RANL - Contract Number
Data type: RANLOptional: No
Call by Reference: Yes
I_RPNR - Activity number/rollover number
Data type: VVRPNROptional: Yes
Call by Reference: Yes
IS_VZZKOKO - Table condition header
Data type: VZZKOKOOptional: No
Call by Reference: Yes
IT_VZZKOPO - Table Type for Table VZZKOPO
Data type: TRTY_VZZKOPOOptional: No
Call by Reference: Yes
IT_VZZKOPA - Table Type for Table VZZKOPA
Data type: TRTY_VZZKOPAOptional: Yes
Call by Reference: Yes
I_S_BPCA - Business Process Chain Assignment
Data type: FVD_STR_BPCAOptional: Yes
Call by Reference: Yes
I_TESTRUN - 'X'-Test mode
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FVD_LOAN_PRO_CREATE
ES_VDARL - Loans
Data type: VDARLOptional: No
Call by Reference: Yes
ES_VDPROLONGATION - Prolongation related system adminstrative data
Data type: VDPROLONGATIONOptional: No
Call by Reference: Yes
ES_VDPOPO - File item
Data type: VDPOPOOptional: No
Call by Reference: Yes
ES_VZZKOKO - Table condition header
Data type: VZZKOKOOptional: No
Call by Reference: Yes
ET_VZZKOPO - Table Type for Table VZZKOPO
Data type: TRTY_VZZKOPOOptional: No
Call by Reference: Yes
ET_VZZKOPA - Table Type for Table VZZKOPA
Data type: TRTY_VZZKOPAOptional: No
Call by Reference: Yes
ET_BAPIRET2 - Table with BAPI Return Information
Data type: BAPIRETTABOptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR - Error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_LOAN_PRO_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_error | TYPE STRING, " | |||
| lv_i_bukrs | TYPE BUKRS, " | |||
| lv_es_vdarl | TYPE VDARL, " | |||
| lv_i_ranl | TYPE RANL, " | |||
| lv_es_vdprolongation | TYPE VDPROLONGATION, " | |||
| lv_i_rpnr | TYPE VVRPNR, " | |||
| lv_es_vdpopo | TYPE VDPOPO, " | |||
| lv_es_vzzkoko | TYPE VZZKOKO, " | |||
| lv_is_vzzkoko | TYPE VZZKOKO, " | |||
| lv_et_vzzkopo | TYPE TRTY_VZZKOPO, " | |||
| lv_it_vzzkopo | TYPE TRTY_VZZKOPO, " | |||
| lv_et_vzzkopa | TYPE TRTY_VZZKOPA, " | |||
| lv_it_vzzkopa | TYPE TRTY_VZZKOPA, " | |||
| lv_i_s_bpca | TYPE FVD_STR_BPCA, " | |||
| lv_et_bapiret2 | TYPE BAPIRETTAB, " | |||
| lv_i_testrun | TYPE FLAG. " SPACE |
|   CALL FUNCTION 'FVD_LOAN_PRO_CREATE' "Create a prolongation/rollover offer for a contract |
| EXPORTING | ||
| I_BUKRS | = lv_i_bukrs | |
| I_RANL | = lv_i_ranl | |
| I_RPNR | = lv_i_rpnr | |
| IS_VZZKOKO | = lv_is_vzzkoko | |
| IT_VZZKOPO | = lv_it_vzzkopo | |
| IT_VZZKOPA | = lv_it_vzzkopa | |
| I_S_BPCA | = lv_i_s_bpca | |
| I_TESTRUN | = lv_i_testrun | |
| IMPORTING | ||
| ES_VDARL | = lv_es_vdarl | |
| ES_VDPROLONGATION | = lv_es_vdprolongation | |
| ES_VDPOPO | = lv_es_vdpopo | |
| ES_VZZKOKO | = lv_es_vzzkoko | |
| ET_VZZKOPO | = lv_et_vzzkopo | |
| ET_VZZKOPA | = lv_et_vzzkopa | |
| ET_BAPIRET2 | = lv_et_bapiret2 | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " FVD_LOAN_PRO_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM FVD_LOAN_PRO_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) | = ' '. | |||
Search for further information about these or an SAP related objects