SAP FVD_LOAN_DATA_FLOW_STOCK Function Module for Drilldown Module - Loans
FVD_LOAN_DATA_FLOW_STOCK is a standard fvd loan data flow stock SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Drilldown Module - 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 loan data flow stock FM, simply by entering the name FVD_LOAN_DATA_FLOW_STOCK into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD5
Program Name: SAPLFVD5
Main Program: SAPLFVD5
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FVD_LOAN_DATA_FLOW_STOCK 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_DATA_FLOW_STOCK'"Drilldown Module - Loans.
EXPORTING
* SI_FLAG_STOCK_CALC = ' ' "Kennzeichen für bestandsbezogene Auswertungen
* SI_IT_SELECTED_FIELDS = "Selektionsbedingungen der Recherche
* SI_FLAG_MESSAGES = ' ' "Messagehandler: X = An
* SI_FLAG_PROGRESS = ' ' "Progress Indicator: X = An
* SI_TEXT_PROGRESS = ' ' "Text für Progress Indicator
* SI_FUTURE_CONTRACTS = ' ' "
* SI_FLAG_FLOW_CALC = ' ' "Kennzeichen für bewegungsbezogene Auswertungen
* SI_IT_CALC_DATE = "Stichtagsliste für bestandsbezogene Auswertungen
* SI_IT_DATE_INTERVAL = "Liste mit Intervallen für bewegungsbezogene Ausw
* SI_SPLANIST_STOCK = '1' "Posting status for position-related evaluations
* SI_SPLANIST_FLOW = '3' "Buchungsstatus für bewegungsbezogene Auswertunge
* SI_FLAG_STORNO = ' ' "Verarbeitung von stornierten Bewegungen
* SI_FLAG_ACREF = ' ' "Kontierungsreferenz aktuell (' ') oder historisch (X)
SI_IT_SELECTION = "Selektionsbedingungen der Recherche
IMPORTING
SE_IT_VDSTATE = "Daten bestandsbezogene Auswertung
SE_IT_VDFLOW = "Daten bewegungsbezogene Auswertung
CHANGING
* SC_ERRORS_ALL = "Protokolltabelle für Messages
EXCEPTIONS
INCONSISTENT_CALL_PARAMETERS = 1
IMPORTING Parameters details for FVD_LOAN_DATA_FLOW_STOCK
SI_FLAG_STOCK_CALC - Kennzeichen für bestandsbezogene Auswertungen
Data type: FTIS_FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_IT_SELECTED_FIELDS - Selektionsbedingungen der Recherche
Data type: FTIS_YT_SELECTED_FIELDSOptional: Yes
Call by Reference: Yes
SI_FLAG_MESSAGES - Messagehandler: X = An
Data type: FTIS_FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_FLAG_PROGRESS - Progress Indicator: X = An
Data type: FTIS_FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_TEXT_PROGRESS - Text für Progress Indicator
Data type: CHAR255Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_FUTURE_CONTRACTS -
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_FLAG_FLOW_CALC - Kennzeichen für bewegungsbezogene Auswertungen
Data type: FTIS_FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_IT_CALC_DATE - Stichtagsliste für bestandsbezogene Auswertungen
Data type: TRTY_CALC_DATEOptional: Yes
Call by Reference: No ( called with pass by value option)
SI_IT_DATE_INTERVAL - Liste mit Intervallen für bewegungsbezogene Ausw
Data type: TRTY_DATE_INTERVALOptional: Yes
Call by Reference: No ( called with pass by value option)
SI_SPLANIST_STOCK - Posting status for position-related evaluations
Data type: TB_SPLANIST_STOCKDefault: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_SPLANIST_FLOW - Buchungsstatus für bewegungsbezogene Auswertunge
Data type: TB_SPLANIST_FLOWDefault: '3'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_FLAG_STORNO - Verarbeitung von stornierten Bewegungen
Data type: FTIS_FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_FLAG_ACREF - Kontierungsreferenz aktuell (SPACE) oder historisch (X)
Data type: FTIS_FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SI_IT_SELECTION - Selektionsbedingungen der Recherche
Data type: RSDS_FRANGE_TOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FVD_LOAN_DATA_FLOW_STOCK
SE_IT_VDSTATE - Daten bestandsbezogene Auswertung
Data type: TRTY_VDSTATEOptional: No
Call by Reference: Yes
SE_IT_VDFLOW - Daten bewegungsbezogene Auswertung
Data type: TRTY_VDFLOWOptional: No
Call by Reference: Yes
CHANGING Parameters details for FVD_LOAN_DATA_FLOW_STOCK
SC_ERRORS_ALL - Protokolltabelle für Messages
Data type: BAPIERR_TOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
INCONSISTENT_CALL_PARAMETERS - Falsche Parameterbelegung bei Aufruf
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_LOAN_DATA_FLOW_STOCK 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_sc_errors_all | TYPE BAPIERR_T, " | |||
| lv_se_it_vdstate | TYPE TRTY_VDSTATE, " | |||
| lv_si_flag_stock_calc | TYPE FTIS_FLAG, " SPACE | |||
| lv_inconsistent_call_parameters | TYPE FTIS_FLAG, " | |||
| lv_si_it_selected_fields | TYPE FTIS_YT_SELECTED_FIELDS, " | |||
| lv_si_flag_messages | TYPE FTIS_FLAG, " SPACE | |||
| lv_si_flag_progress | TYPE FTIS_FLAG, " SPACE | |||
| lv_si_text_progress | TYPE CHAR255, " SPACE | |||
| lv_si_future_contracts | TYPE XFELD, " SPACE | |||
| lv_se_it_vdflow | TYPE TRTY_VDFLOW, " | |||
| lv_si_flag_flow_calc | TYPE FTIS_FLAG, " SPACE | |||
| lv_si_it_calc_date | TYPE TRTY_CALC_DATE, " | |||
| lv_si_it_date_interval | TYPE TRTY_DATE_INTERVAL, " | |||
| lv_si_splanist_stock | TYPE TB_SPLANIST_STOCK, " '1' | |||
| lv_si_splanist_flow | TYPE TB_SPLANIST_FLOW, " '3' | |||
| lv_si_flag_storno | TYPE FTIS_FLAG, " SPACE | |||
| lv_si_flag_acref | TYPE FTIS_FLAG, " SPACE | |||
| lv_si_it_selection | TYPE RSDS_FRANGE_T. " |
|   CALL FUNCTION 'FVD_LOAN_DATA_FLOW_STOCK' "Drilldown Module - Loans |
| EXPORTING | ||
| SI_FLAG_STOCK_CALC | = lv_si_flag_stock_calc | |
| SI_IT_SELECTED_FIELDS | = lv_si_it_selected_fields | |
| SI_FLAG_MESSAGES | = lv_si_flag_messages | |
| SI_FLAG_PROGRESS | = lv_si_flag_progress | |
| SI_TEXT_PROGRESS | = lv_si_text_progress | |
| SI_FUTURE_CONTRACTS | = lv_si_future_contracts | |
| SI_FLAG_FLOW_CALC | = lv_si_flag_flow_calc | |
| SI_IT_CALC_DATE | = lv_si_it_calc_date | |
| SI_IT_DATE_INTERVAL | = lv_si_it_date_interval | |
| SI_SPLANIST_STOCK | = lv_si_splanist_stock | |
| SI_SPLANIST_FLOW | = lv_si_splanist_flow | |
| SI_FLAG_STORNO | = lv_si_flag_storno | |
| SI_FLAG_ACREF | = lv_si_flag_acref | |
| SI_IT_SELECTION | = lv_si_it_selection | |
| IMPORTING | ||
| SE_IT_VDSTATE | = lv_se_it_vdstate | |
| SE_IT_VDFLOW | = lv_se_it_vdflow | |
| CHANGING | ||
| SC_ERRORS_ALL | = lv_sc_errors_all | |
| EXCEPTIONS | ||
| INCONSISTENT_CALL_PARAMETERS = 1 | ||
| . " FVD_LOAN_DATA_FLOW_STOCK | ||
ABAP code using 7.40 inline data declarations to call FM FVD_LOAN_DATA_FLOW_STOCK
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_si_flag_stock_calc) | = ' '. | |||
| DATA(ld_si_flag_messages) | = ' '. | |||
| DATA(ld_si_flag_progress) | = ' '. | |||
| DATA(ld_si_text_progress) | = ' '. | |||
| DATA(ld_si_future_contracts) | = ' '. | |||
| DATA(ld_si_flag_flow_calc) | = ' '. | |||
| DATA(ld_si_splanist_stock) | = '1'. | |||
| DATA(ld_si_splanist_flow) | = '3'. | |||
| DATA(ld_si_flag_storno) | = ' '. | |||
| DATA(ld_si_flag_acref) | = ' '. | |||
Search for further information about these or an SAP related objects