SAP DISPLAY_ACCOUNT_STATEMENT Function Module for NOTRANSL: Anzeige des Kontoauszuges
DISPLAY_ACCOUNT_STATEMENT is a standard display account statement SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Anzeige des Kontoauszuges 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 display account statement FM, simply by entering the name DISPLAY_ACCOUNT_STATEMENT into the relevant SAP transaction such as SE37 or SE38.
Function Group: F030
Program Name: SAPLF030
Main Program: SAPLF030
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DISPLAY_ACCOUNT_STATEMENT 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 'DISPLAY_ACCOUNT_STATEMENT'"NOTRANSL: Anzeige des Kontoauszuges.
EXPORTING
* I_KUKEY = "Short key (surrogate)
* I_SWIFT = "
* I_ANWND = "
* I_ABSND = "
* I_AZIDT = "
* I_EMKEY = "
* I_AZNUM = "
* I_BANKS = "
* I_BANKL = "
* I_BANKA = "
EXCEPTIONS
NOT_FOUND = 1
IMPORTING Parameters details for DISPLAY_ACCOUNT_STATEMENT
I_KUKEY - Short key (surrogate)
Data type: FEBKO-KUKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SWIFT -
Data type: FEBVW-SWIFTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ANWND -
Data type: FEBKO-ANWNDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ABSND -
Data type: FEBKO-ABSNDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_AZIDT -
Data type: FEBKO-AZIDTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_EMKEY -
Data type: FEBKO-EMKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
I_AZNUM -
Data type: FEBKO-AZNUMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BANKS -
Data type: FEBVW-BANKSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BANKL -
Data type: FEBVW-BANKLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BANKA -
Data type: FEBVW-BANKAOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DISPLAY_ACCOUNT_STATEMENT 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_kukey | TYPE FEBKO-KUKEY, " | |||
| lv_not_found | TYPE FEBKO, " | |||
| lv_i_swift | TYPE FEBVW-SWIFT, " | |||
| lv_i_anwnd | TYPE FEBKO-ANWND, " | |||
| lv_i_absnd | TYPE FEBKO-ABSND, " | |||
| lv_i_azidt | TYPE FEBKO-AZIDT, " | |||
| lv_i_emkey | TYPE FEBKO-EMKEY, " | |||
| lv_i_aznum | TYPE FEBKO-AZNUM, " | |||
| lv_i_banks | TYPE FEBVW-BANKS, " | |||
| lv_i_bankl | TYPE FEBVW-BANKL, " | |||
| lv_i_banka | TYPE FEBVW-BANKA. " |
|   CALL FUNCTION 'DISPLAY_ACCOUNT_STATEMENT' "NOTRANSL: Anzeige des Kontoauszuges |
| EXPORTING | ||
| I_KUKEY | = lv_i_kukey | |
| I_SWIFT | = lv_i_swift | |
| I_ANWND | = lv_i_anwnd | |
| I_ABSND | = lv_i_absnd | |
| I_AZIDT | = lv_i_azidt | |
| I_EMKEY | = lv_i_emkey | |
| I_AZNUM | = lv_i_aznum | |
| I_BANKS | = lv_i_banks | |
| I_BANKL | = lv_i_bankl | |
| I_BANKA | = lv_i_banka | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| . " DISPLAY_ACCOUNT_STATEMENT | ||
ABAP code using 7.40 inline data declarations to call FM DISPLAY_ACCOUNT_STATEMENT
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 KUKEY FROM FEBKO INTO @DATA(ld_i_kukey). | ||||
| "SELECT single SWIFT FROM FEBVW INTO @DATA(ld_i_swift). | ||||
| "SELECT single ANWND FROM FEBKO INTO @DATA(ld_i_anwnd). | ||||
| "SELECT single ABSND FROM FEBKO INTO @DATA(ld_i_absnd). | ||||
| "SELECT single AZIDT FROM FEBKO INTO @DATA(ld_i_azidt). | ||||
| "SELECT single EMKEY FROM FEBKO INTO @DATA(ld_i_emkey). | ||||
| "SELECT single AZNUM FROM FEBKO INTO @DATA(ld_i_aznum). | ||||
| "SELECT single BANKS FROM FEBVW INTO @DATA(ld_i_banks). | ||||
| "SELECT single BANKL FROM FEBVW INTO @DATA(ld_i_bankl). | ||||
| "SELECT single BANKA FROM FEBVW INTO @DATA(ld_i_banka). | ||||
Search for further information about these or an SAP related objects