SAP FIAA_ALV_INIT_LAYOUT Function Module for









FIAA_ALV_INIT_LAYOUT is a standard fiaa alv init layout 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 alv init layout FM, simply by entering the name FIAA_ALV_INIT_LAYOUT into the relevant SAP transaction such as SE37 or SE38.

Function Group: FIAA_FALVREPORTS
Program Name: SAPLFIAA_FALVREPORTS
Main Program: SAPLFIAA_FALVREPORTS
Appliation area: A
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FIAA_ALV_INIT_LAYOUT 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_ALV_INIT_LAYOUT'"
EXPORTING
I_EXPAND = "
I_VARIANTE = "
I_REPORTID = "
I_SUMMEN_BERICHT = "
I_TABNAME = "

IMPORTING
E_SORT = "
E_LAYOUT = "
E_EVENT = "
E_VARIANT = "

TABLES
T_SORTFELDER = "
.



IMPORTING Parameters details for FIAA_ALV_INIT_LAYOUT

I_EXPAND -

Data type:
Optional: No
Call by Reference: Yes

I_VARIANTE -

Data type: DISVARIANT-VARIANT
Optional: No
Call by Reference: Yes

I_REPORTID -

Data type:
Optional: No
Call by Reference: Yes

I_SUMMEN_BERICHT -

Data type:
Optional: No
Call by Reference: Yes

I_TABNAME -

Data type: SLIS_TABNAME
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for FIAA_ALV_INIT_LAYOUT

E_SORT -

Data type: SLIS_T_SORTINFO_ALV
Optional: No
Call by Reference: Yes

E_LAYOUT -

Data type: SLIS_LAYOUT_ALV
Optional: No
Call by Reference: Yes

E_EVENT -

Data type: SLIS_T_EVENT
Optional: No
Call by Reference: Yes

E_VARIANT -

Data type: DISVARIANT
Optional: No
Call by Reference: Yes

TABLES Parameters details for FIAA_ALV_INIT_LAYOUT

T_SORTFELDER -

Data type: FIAA_SALVSORT_FELDER
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FIAA_ALV_INIT_LAYOUT 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_e_sort  TYPE SLIS_T_SORTINFO_ALV, "   
lv_i_expand  TYPE SLIS_T_SORTINFO_ALV, "   
lt_t_sortfelder  TYPE STANDARD TABLE OF FIAA_SALVSORT_FELDER, "   
lv_e_layout  TYPE SLIS_LAYOUT_ALV, "   
lv_i_variante  TYPE DISVARIANT-VARIANT, "   
lv_e_event  TYPE SLIS_T_EVENT, "   
lv_i_reportid  TYPE SLIS_T_EVENT, "   
lv_e_variant  TYPE DISVARIANT, "   
lv_i_summen_bericht  TYPE DISVARIANT, "   
lv_i_tabname  TYPE SLIS_TABNAME. "   

  CALL FUNCTION 'FIAA_ALV_INIT_LAYOUT'  "
    EXPORTING
         I_EXPAND = lv_i_expand
         I_VARIANTE = lv_i_variante
         I_REPORTID = lv_i_reportid
         I_SUMMEN_BERICHT = lv_i_summen_bericht
         I_TABNAME = lv_i_tabname
    IMPORTING
         E_SORT = lv_e_sort
         E_LAYOUT = lv_e_layout
         E_EVENT = lv_e_event
         E_VARIANT = lv_e_variant
    TABLES
         T_SORTFELDER = lt_t_sortfelder
. " FIAA_ALV_INIT_LAYOUT




ABAP code using 7.40 inline data declarations to call FM FIAA_ALV_INIT_LAYOUT

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 VARIANT FROM DISVARIANT INTO @DATA(ld_i_variante).
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!