SAP FVD_EXP_API_CP_IF_CHGPTR Function Module for Create and Change Loans









FVD_EXP_API_CP_IF_CHGPTR is a standard fvd exp api cp if chgptr 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 and Change Loans 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 exp api cp if chgptr FM, simply by entering the name FVD_EXP_API_CP_IF_CHGPTR into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_EXP_API_CP_IF_CHGPTR 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_EXP_API_CP_IF_CHGPTR'"Create and Change Loans
EXPORTING
* I_TAB_SELECT_OPTIONS = "Types of free limitations
I_PRODUCT_TYPE = "Table Type for Range for Product Type
* I_VERTRAGSSTATUS = 35 "Internal Contract Status '35'
* I_BLOCK_SIZE = 100 "Size of Process Block
* I_CALC_CAPITAL = "Calculate Capital for Fund. Mgmt
* I_FLG_TESTRUN = "Test Run Indicator

IMPORTING
E_FLAG_ERROR = "Boolean Variable (X=true, -=false, space=unknown)
.



IMPORTING Parameters details for FVD_EXP_API_CP_IF_CHGPTR

I_TAB_SELECT_OPTIONS - Types of free limitations

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

I_PRODUCT_TYPE - Table Type for Range for Product Type

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

I_VERTRAGSSTATUS - Internal Contract Status '35'

Data type: VVSINTEB
Default: 35
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BLOCK_SIZE - Size of Process Block

Data type: TB_BLOCK_SIZE
Default: 100
Optional: No
Call by Reference: No ( called with pass by value option)

I_CALC_CAPITAL - Calculate Capital for Fund. Mgmt

Data type: TB_CALC_CAPITAL
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_TESTRUN - Test Run Indicator

Data type: TB_TEST_RUN
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FVD_EXP_API_CP_IF_CHGPTR

E_FLAG_ERROR - Boolean Variable (X=true, -=false, space=unknown)

Data type: BOOLEAN
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FVD_EXP_API_CP_IF_CHGPTR 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_e_flag_error  TYPE BOOLEAN, "   
lv_i_tab_select_options  TYPE RSDS_FRANGE_T, "   
lv_i_product_type  TYPE TRTY_GSART_RANGE, "   
lv_i_vertragsstatus  TYPE VVSINTEB, "   35
lv_i_block_size  TYPE TB_BLOCK_SIZE, "   100
lv_i_calc_capital  TYPE TB_CALC_CAPITAL, "   
lv_i_flg_testrun  TYPE TB_TEST_RUN. "   

  CALL FUNCTION 'FVD_EXP_API_CP_IF_CHGPTR'  "Create and Change Loans
    EXPORTING
         I_TAB_SELECT_OPTIONS = lv_i_tab_select_options
         I_PRODUCT_TYPE = lv_i_product_type
         I_VERTRAGSSTATUS = lv_i_vertragsstatus
         I_BLOCK_SIZE = lv_i_block_size
         I_CALC_CAPITAL = lv_i_calc_capital
         I_FLG_TESTRUN = lv_i_flg_testrun
    IMPORTING
         E_FLAG_ERROR = lv_e_flag_error
. " FVD_EXP_API_CP_IF_CHGPTR




ABAP code using 7.40 inline data declarations to call FM FVD_EXP_API_CP_IF_CHGPTR

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_vertragsstatus) = 35.
 
DATA(ld_i_block_size) = 100.
 
 
 


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!