SAP FIAA_VIEW_READ Function Module for
FIAA_VIEW_READ is a standard fiaa view read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fiaa view read FM, simply by entering the name FIAA_VIEW_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: FIAA_BAUFBAU
Program Name: SAPLFIAA_BAUFBAU
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FIAA_VIEW_READ 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 'FIAA_VIEW_READ'".
EXPORTING
* ID_VIEW = '00' "
* ID_TRANSGROUP = 'OTHERS' "
* ID_LANGU = SYST-LANGU "
* ID_BUKRS = "
* ID_FLG_TEXT = ' ' "
IMPORTING
ES_T082AVIEW0T = "
TABLES
* ET_T082AVIEW1 = "
* ET_T082AVIEWB = "
EXCEPTIONS
NO_VIEW_FOUND = 1 NO_TEXT_FOUND = 2 NO_AREA_FOUND = 3 NO_VIEW_ASSIGNED = 4 SEVERAL_VIEWS_ASSIGNED = 5
IMPORTING Parameters details for FIAA_VIEW_READ
ID_VIEW -
Data type: FIAA_VIEW_NEUDefault: '00'
Optional: Yes
Call by Reference: No ( called with pass by value option)
ID_TRANSGROUP -
Data type: TRANSACTIONGROUPDefault: 'OTHERS'
Optional: Yes
Call by Reference: No ( called with pass by value option)
ID_LANGU -
Data type: SYLANGUDefault: SYST-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
ID_BUKRS -
Data type: BUKRSOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_FLG_TEXT -
Data type: XFELDDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FIAA_VIEW_READ
ES_T082AVIEW0T -
Data type: T082AVIEW0TOptional: No
Call by Reference: Yes
TABLES Parameters details for FIAA_VIEW_READ
ET_T082AVIEW1 -
Data type: T082AVIEW1Optional: Yes
Call by Reference: Yes
ET_T082AVIEWB -
Data type: T082AVIEWBOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NO_VIEW_FOUND -
Data type:Optional: No
Call by Reference: Yes
NO_TEXT_FOUND -
Data type:Optional: No
Call by Reference: Yes
NO_AREA_FOUND -
Data type:Optional: No
Call by Reference: Yes
NO_VIEW_ASSIGNED -
Data type:Optional: No
Call by Reference: Yes
SEVERAL_VIEWS_ASSIGNED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FIAA_VIEW_READ 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_id_view | TYPE FIAA_VIEW_NEU, " '00' | |||
| lt_et_t082aview1 | TYPE STANDARD TABLE OF T082AVIEW1, " | |||
| lv_no_view_found | TYPE T082AVIEW1, " | |||
| lv_es_t082aview0t | TYPE T082AVIEW0T, " | |||
| lt_et_t082aviewb | TYPE STANDARD TABLE OF T082AVIEWB, " | |||
| lv_id_transgroup | TYPE TRANSACTIONGROUP, " 'OTHERS' | |||
| lv_no_text_found | TYPE TRANSACTIONGROUP, " | |||
| lv_id_langu | TYPE SYLANGU, " SYST-LANGU | |||
| lv_no_area_found | TYPE SYLANGU, " | |||
| lv_id_bukrs | TYPE BUKRS, " | |||
| lv_no_view_assigned | TYPE BUKRS, " | |||
| lv_id_flg_text | TYPE XFELD, " ' ' | |||
| lv_several_views_assigned | TYPE XFELD. " |
|   CALL FUNCTION 'FIAA_VIEW_READ' " |
| EXPORTING | ||
| ID_VIEW | = lv_id_view | |
| ID_TRANSGROUP | = lv_id_transgroup | |
| ID_LANGU | = lv_id_langu | |
| ID_BUKRS | = lv_id_bukrs | |
| ID_FLG_TEXT | = lv_id_flg_text | |
| IMPORTING | ||
| ES_T082AVIEW0T | = lv_es_t082aview0t | |
| TABLES | ||
| ET_T082AVIEW1 | = lt_et_t082aview1 | |
| ET_T082AVIEWB | = lt_et_t082aviewb | |
| EXCEPTIONS | ||
| NO_VIEW_FOUND = 1 | ||
| NO_TEXT_FOUND = 2 | ||
| NO_AREA_FOUND = 3 | ||
| NO_VIEW_ASSIGNED = 4 | ||
| SEVERAL_VIEWS_ASSIGNED = 5 | ||
| . " FIAA_VIEW_READ | ||
ABAP code using 7.40 inline data declarations to call FM FIAA_VIEW_READ
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_id_view) | = '00'. | |||
| DATA(ld_id_transgroup) | = 'OTHERS'. | |||
| DATA(ld_id_langu) | = SYST-LANGU. | |||
| DATA(ld_id_flg_text) | = ' '. | |||
Search for further information about these or an SAP related objects