SAP FVD_DEFCAP_OL_GET_INFO Function Module for Supplies Details Concerning Deferral and Capitalization of Overdue Items
FVD_DEFCAP_OL_GET_INFO is a standard fvd defcap ol get info SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Supplies Details Concerning Deferral and Capitalization of Overdue Items 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 defcap ol get info FM, simply by entering the name FVD_DEFCAP_OL_GET_INFO into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_DEFCAP_OL
Program Name: SAPLFVD_DEFCAP_OL
Main Program: SAPLFVD_DEFCAP_OL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FVD_DEFCAP_OL_GET_INFO 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_DEFCAP_OL_GET_INFO'"Supplies Details Concerning Deferral and Capitalization of Overdue Items.
EXPORTING
I_STR_VDARL_KEY = "VDARL Key Structure
* I_FLG_NO_PAYMENT_CHANGE = "allgemeines flag
* I_TAB_VZZBEPP = "Cash Flow
* I_STR_DATES_4_RISK_INCREASES = "Dates for Risk-Increasing Measures
* I_TAB_VVZZKOPO = "Table Type for Table VVZZKOPO
* I_PERIOD_4_RISK_COUNT_CREA = "Period in Months for Allowed Number of Risk-Increasing Measures
IMPORTING
E_ASUMARCAP = "Summe gebuchter Rst.kap (AC-Bewegungen)
E_ASUMARCAP_ACT = "Summe aktivierter Rst.kap (AC-Bewegungen)
E_NORISKMS = "Anzahl risikoerhöhender Massnahmen
E_STR_NO_OF_RISK_INCREASES = "Number of Risk-Increasing Measures
EXCEPTIONS
VDARL_NOT_FOUND = 1
IMPORTING Parameters details for FVD_DEFCAP_OL_GET_INFO
I_STR_VDARL_KEY - VDARL Key Structure
Data type: VDARL_KEYOptional: No
Call by Reference: Yes
I_FLG_NO_PAYMENT_CHANGE - allgemeines flag
Data type: FLAGOptional: Yes
Call by Reference: Yes
I_TAB_VZZBEPP - Cash Flow
Data type: TRTY_VZZBEPPOptional: Yes
Call by Reference: Yes
I_STR_DATES_4_RISK_INCREASES - Dates for Risk-Increasing Measures
Data type: RDAT_DATES_4_RISK_ADV_MEASURESOptional: Yes
Call by Reference: Yes
I_TAB_VVZZKOPO - Table Type for Table VVZZKOPO
Data type: TRTY_VVZZKOPOOptional: Yes
Call by Reference: Yes
I_PERIOD_4_RISK_COUNT_CREA - Period in Months for Allowed Number of Risk-Increasing Measures
Data type: TB_PERIOD_4_RISKINCREASE_CREAOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FVD_DEFCAP_OL_GET_INFO
E_ASUMARCAP - Summe gebuchter Rst.kap (AC-Bewegungen)
Data type: VDBOHEAD-BCWHROptional: No
Call by Reference: Yes
E_ASUMARCAP_ACT - Summe aktivierter Rst.kap (AC-Bewegungen)
Data type: VDBOHEAD-BCWHROptional: No
Call by Reference: Yes
E_NORISKMS - Anzahl risikoerhöhender Massnahmen
Data type: TB_NORISKMSOptional: No
Call by Reference: Yes
E_STR_NO_OF_RISK_INCREASES - Number of Risk-Increasing Measures
Data type: RDAT_NO_OF_RISK_ADV_MEASURESOptional: No
Call by Reference: Yes
EXCEPTIONS details
VDARL_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_DEFCAP_OL_GET_INFO 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_asumarcap | TYPE VDBOHEAD-BCWHR, " | |||
| lv_i_str_vdarl_key | TYPE VDARL_KEY, " | |||
| lv_vdarl_not_found | TYPE VDARL_KEY, " | |||
| lv_e_asumarcap_act | TYPE VDBOHEAD-BCWHR, " | |||
| lv_i_flg_no_payment_change | TYPE FLAG, " | |||
| lv_e_noriskms | TYPE TB_NORISKMS, " | |||
| lv_i_tab_vzzbepp | TYPE TRTY_VZZBEPP, " | |||
| lv_e_str_no_of_risk_increases | TYPE RDAT_NO_OF_RISK_ADV_MEASURES, " | |||
| lv_i_str_dates_4_risk_increases | TYPE RDAT_DATES_4_RISK_ADV_MEASURES, " | |||
| lv_i_tab_vvzzkopo | TYPE TRTY_VVZZKOPO, " | |||
| lv_i_period_4_risk_count_crea | TYPE TB_PERIOD_4_RISKINCREASE_CREA. " |
|   CALL FUNCTION 'FVD_DEFCAP_OL_GET_INFO' "Supplies Details Concerning Deferral and Capitalization of Overdue Items |
| EXPORTING | ||
| I_STR_VDARL_KEY | = lv_i_str_vdarl_key | |
| I_FLG_NO_PAYMENT_CHANGE | = lv_i_flg_no_payment_change | |
| I_TAB_VZZBEPP | = lv_i_tab_vzzbepp | |
| I_STR_DATES_4_RISK_INCREASES | = lv_i_str_dates_4_risk_increases | |
| I_TAB_VVZZKOPO | = lv_i_tab_vvzzkopo | |
| I_PERIOD_4_RISK_COUNT_CREA | = lv_i_period_4_risk_count_crea | |
| IMPORTING | ||
| E_ASUMARCAP | = lv_e_asumarcap | |
| E_ASUMARCAP_ACT | = lv_e_asumarcap_act | |
| E_NORISKMS | = lv_e_noriskms | |
| E_STR_NO_OF_RISK_INCREASES | = lv_e_str_no_of_risk_increases | |
| EXCEPTIONS | ||
| VDARL_NOT_FOUND = 1 | ||
| . " FVD_DEFCAP_OL_GET_INFO | ||
ABAP code using 7.40 inline data declarations to call FM FVD_DEFCAP_OL_GET_INFO
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 BCWHR FROM VDBOHEAD INTO @DATA(ld_e_asumarcap). | ||||
| "SELECT single BCWHR FROM VDBOHEAD INTO @DATA(ld_e_asumarcap_act). | ||||
Search for further information about these or an SAP related objects