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

Function FVD_SM_SHOW 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_SM_SHOW'"Display Account Statement.
EXPORTING
I_BUKRS = "
I_RANL = "
* I_DTO = "Überschreibt Vorbelegung aus Anzeigeoptionen
* I_DFROM = "Überschreibt Vorbelegung aus Anzeigeoptionen
* I_CHG_SIOA_LOCK = ' ' "Änderung Verzugszinssperre ermöglichen
* I_CHG_EDIT_MODE = ' ' "Modus, in dem der KA aufgerufen wird; 'X' - Änderungsmodus, space nur Anzeige
* I_NEVER_EDIT = 'X' "X' keine Änderungen im Kontoauszug möglich
* I_FLG_IGNORE_ACCRUALS = ' ' "
* I_FLG_FIRST = "
IMPORTING
E_DATA_MODIFIED = "('X' - Daten wurden verändert; space - Daten wurden nicht geändert)
E_TARGET_MODE = "D - Display; E - Edit
EXCEPTIONS
NO_AUTHORITY = 1 LOAN_DOES_NOT_EXIST = 2
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLFVD_STATEMENT_001 User Exit 1 for Bank Statement
IMPORTING Parameters details for FVD_SM_SHOW
I_BUKRS -
Data type: BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_RANL -
Data type: RANLOptional: No
Call by Reference: No ( called with pass by value option)
I_DTO - Überschreibt Vorbelegung aus Anzeigeoptionen
Data type: DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DFROM - Überschreibt Vorbelegung aus Anzeigeoptionen
Data type: DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CHG_SIOA_LOCK - Änderung Verzugszinssperre ermöglichen
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CHG_EDIT_MODE - Modus, in dem der KA aufgerufen wird; 'X' - Änderungsmodus, space nur Anzeige
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NEVER_EDIT - X' keine Änderungen im Kontoauszug möglich
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_IGNORE_ACCRUALS -
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_FIRST -
Data type: XFELDOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FVD_SM_SHOW
E_DATA_MODIFIED - ('X' - Daten wurden verändert; space - Daten wurden nicht geändert)
Data type: CHAR1Optional: No
Call by Reference: Yes
E_TARGET_MODE - D - Display; E - Edit
Data type: CHAR1Optional: No
Call by Reference: Yes
EXCEPTIONS details
NO_AUTHORITY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LOAN_DOES_NOT_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FVD_SM_SHOW 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_i_bukrs | TYPE BUKRS, " | |||
| lv_no_authority | TYPE BUKRS, " | |||
| lv_e_data_modified | TYPE CHAR1, " | |||
| lv_i_ranl | TYPE RANL, " | |||
| lv_e_target_mode | TYPE CHAR1, " | |||
| lv_loan_does_not_exist | TYPE CHAR1, " | |||
| lv_i_dto | TYPE DATUM, " | |||
| lv_i_dfrom | TYPE DATUM, " | |||
| lv_i_chg_sioa_lock | TYPE CHAR1, " SPACE | |||
| lv_i_chg_edit_mode | TYPE CHAR1, " SPACE | |||
| lv_i_never_edit | TYPE CHAR1, " 'X' | |||
| lv_i_flg_ignore_accruals | TYPE XFELD, " SPACE | |||
| lv_i_flg_first | TYPE XFELD. " |
|   CALL FUNCTION 'FVD_SM_SHOW' "Display Account Statement |
| EXPORTING | ||
| I_BUKRS | = lv_i_bukrs | |
| I_RANL | = lv_i_ranl | |
| I_DTO | = lv_i_dto | |
| I_DFROM | = lv_i_dfrom | |
| I_CHG_SIOA_LOCK | = lv_i_chg_sioa_lock | |
| I_CHG_EDIT_MODE | = lv_i_chg_edit_mode | |
| I_NEVER_EDIT | = lv_i_never_edit | |
| I_FLG_IGNORE_ACCRUALS | = lv_i_flg_ignore_accruals | |
| I_FLG_FIRST | = lv_i_flg_first | |
| IMPORTING | ||
| E_DATA_MODIFIED | = lv_e_data_modified | |
| E_TARGET_MODE | = lv_e_target_mode | |
| EXCEPTIONS | ||
| NO_AUTHORITY = 1 | ||
| LOAN_DOES_NOT_EXIST = 2 | ||
| . " FVD_SM_SHOW | ||
ABAP code using 7.40 inline data declarations to call FM FVD_SM_SHOW
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_chg_sioa_lock) | = ' '. | |||
| DATA(ld_i_chg_edit_mode) | = ' '. | |||
| DATA(ld_i_never_edit) | = 'X'. | |||
| DATA(ld_i_flg_ignore_accruals) | = ' '. | |||
Search for further information about these or an SAP related objects