SAP FVD_ALV_CASHFLOW_DISPLAY Function Module for Cash flow display
FVD_ALV_CASHFLOW_DISPLAY is a standard fvd alv cashflow display SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Cash flow display 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 alv cashflow display FM, simply by entering the name FVD_ALV_CASHFLOW_DISPLAY into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_ALV
Program Name: SAPLFVD_ALV
Main Program: SAPLFVD_ALV
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function FVD_ALV_CASHFLOW_DISPLAY 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_ALV_CASHFLOW_DISPLAY'"Cash flow display.
EXPORTING
SI_IS_VDARL = "Loan
* SI_FLAG_FIXED_FLOWS = ' ' "
* SI_APPLICATION = ' ' "General Indicator
* SI_IT_FILTER = "Zusätzliche Filterbedingungen für ALV-Ausgabe der Bewegungen
SI_IS_VZZKOKO = "Condition header
* SI_RSALDO1 = 0 "Saldo für Effektivzinsberechnung
* SI_XDNADRH = ' ' "Abweichender Darlehenspartner in Ausgabeformat für Kopfzeile
* SI_TEXT_TITEL = "Titelzeile in Kopfzeile
* SI_FLAG_EFFZINS = ' ' "Berechnung Effektivzins möglich
* SI_FLAG_TILGPLAN = ' ' "Berechnung Tilgungsplan möglich
* SI_FLAG_CAPITALS = 'X' "Kapitalienanzeige möglich
* SI_FLAG_CHANGE = ' ' "Änderungen im Finanzstrom möglich
IMPORTING
SE_RC = "Return Code
TABLES
SC_IT_VZZBEPP = "Cash Flow
SI_IT_VVZZKOPO = "Condition Items in FIMA Format
* SI_IT_VZGPODEB = "Partner des Darlehens
IMPORTING Parameters details for FVD_ALV_CASHFLOW_DISPLAY
SI_IS_VDARL - Loan
Data type: VDARLOptional: No
Call by Reference: No ( called with pass by value option)
SI_FLAG_FIXED_FLOWS -
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_APPLICATION - General Indicator
Data type: TB_APPLDefault: SPACE
Optional: Yes
Call by Reference: Yes
SI_IT_FILTER - Zusätzliche Filterbedingungen für ALV-Ausgabe der Bewegungen
Data type: SLIS_T_FILTER_ALVOptional: Yes
Call by Reference: Yes
SI_IS_VZZKOKO - Condition header
Data type: VZZKOKOOptional: No
Call by Reference: No ( called with pass by value option)
SI_RSALDO1 - Saldo für Effektivzinsberechnung
Data type: VZZBEPP-BCWHROptional: Yes
Call by Reference: No ( called with pass by value option)
SI_XDNADRH - Abweichender Darlehenspartner in Ausgabeformat für Kopfzeile
Data type: VVXPAADRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_TEXT_TITEL - Titelzeile in Kopfzeile
Data type: CHAR255Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_FLAG_EFFZINS - Berechnung Effektivzins möglich
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_FLAG_TILGPLAN - Berechnung Tilgungsplan möglich
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_FLAG_CAPITALS - Kapitalienanzeige möglich
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_FLAG_CHANGE - Änderungen im Finanzstrom möglich
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FVD_ALV_CASHFLOW_DISPLAY
SE_RC - Return Code
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FVD_ALV_CASHFLOW_DISPLAY
SC_IT_VZZBEPP - Cash Flow
Data type: VZZBEPPOptional: No
Call by Reference: No ( called with pass by value option)
SI_IT_VVZZKOPO - Condition Items in FIMA Format
Data type: VVZZKOPOOptional: No
Call by Reference: No ( called with pass by value option)
SI_IT_VZGPODEB - Partner des Darlehens
Data type: VDGPODEBOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for FVD_ALV_CASHFLOW_DISPLAY 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_se_rc | TYPE SY-SUBRC, " | |||
lv_si_is_vdarl | TYPE VDARL, " | |||
lt_sc_it_vzzbepp | TYPE STANDARD TABLE OF VZZBEPP, " | |||
lv_si_flag_fixed_flows | TYPE FLAG, " SPACE | |||
lv_si_application | TYPE TB_APPL, " SPACE | |||
lv_si_it_filter | TYPE SLIS_T_FILTER_ALV, " | |||
lv_si_is_vzzkoko | TYPE VZZKOKO, " | |||
lt_si_it_vvzzkopo | TYPE STANDARD TABLE OF VVZZKOPO, " | |||
lv_si_rsaldo1 | TYPE VZZBEPP-BCWHR, " 0 | |||
lt_si_it_vzgpodeb | TYPE STANDARD TABLE OF VDGPODEB, " | |||
lv_si_xdnadrh | TYPE VVXPAADR, " SPACE | |||
lv_si_text_titel | TYPE CHAR255, " | |||
lv_si_flag_effzins | TYPE FLAG, " SPACE | |||
lv_si_flag_tilgplan | TYPE FLAG, " SPACE | |||
lv_si_flag_capitals | TYPE FLAG, " 'X' | |||
lv_si_flag_change | TYPE FLAG. " SPACE |
  CALL FUNCTION 'FVD_ALV_CASHFLOW_DISPLAY' "Cash flow display |
EXPORTING | ||
SI_IS_VDARL | = lv_si_is_vdarl | |
SI_FLAG_FIXED_FLOWS | = lv_si_flag_fixed_flows | |
SI_APPLICATION | = lv_si_application | |
SI_IT_FILTER | = lv_si_it_filter | |
SI_IS_VZZKOKO | = lv_si_is_vzzkoko | |
SI_RSALDO1 | = lv_si_rsaldo1 | |
SI_XDNADRH | = lv_si_xdnadrh | |
SI_TEXT_TITEL | = lv_si_text_titel | |
SI_FLAG_EFFZINS | = lv_si_flag_effzins | |
SI_FLAG_TILGPLAN | = lv_si_flag_tilgplan | |
SI_FLAG_CAPITALS | = lv_si_flag_capitals | |
SI_FLAG_CHANGE | = lv_si_flag_change | |
IMPORTING | ||
SE_RC | = lv_se_rc | |
TABLES | ||
SC_IT_VZZBEPP | = lt_sc_it_vzzbepp | |
SI_IT_VVZZKOPO | = lt_si_it_vvzzkopo | |
SI_IT_VZGPODEB | = lt_si_it_vzgpodeb | |
. " FVD_ALV_CASHFLOW_DISPLAY |
ABAP code using 7.40 inline data declarations to call FM FVD_ALV_CASHFLOW_DISPLAY
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 SUBRC FROM SY INTO @DATA(ld_se_rc). | ||||
DATA(ld_si_flag_fixed_flows) | = ' '. | |||
DATA(ld_si_application) | = ' '. | |||
"SELECT single BCWHR FROM VZZBEPP INTO @DATA(ld_si_rsaldo1). | ||||
DATA(ld_si_xdnadrh) | = ' '. | |||
DATA(ld_si_flag_effzins) | = ' '. | |||
DATA(ld_si_flag_tilgplan) | = ' '. | |||
DATA(ld_si_flag_capitals) | = 'X'. | |||
DATA(ld_si_flag_change) | = ' '. | |||
Search for further information about these or an SAP related objects