SAP Function Modules

MM_ARRANG_ANALYSE_ALV_SCROLL SAP Function module







MM_ARRANG_ANALYSE_ALV_SCROLL is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name MM_ARRANG_ANALYSE_ALV_SCROLL into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: WNI3
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM MM_ARRANG_ANALYSE_ALV_SCROLL - MM ARRANG ANALYSE ALV SCROLL





CALL FUNCTION 'MM_ARRANG_ANALYSE_ALV_SCROLL' "
  EXPORTING
    i_salv_function =           " salv_de_function
    i_report_type =             " repot
  IMPORTING
    et_alv_head =               " arrang_alv_grid_disp_head_tty
    et_alv_item =               " arrang_alv_grid_analysis_c_tty
    ev_leave =                  " char1
    ev_stay =                   " char1
    ev_delegate =               " char1
    es_screen_status =          " arrang_screen_status_sty
    et_excluding =              " arrang_fcode_exclude_tty
    e_titlebar =                " arrang_screen_title_sty
    .  "  MM_ARRANG_ANALYSE_ALV_SCROLL

ABAP code example for Function Module MM_ARRANG_ANALYSE_ALV_SCROLL





The ABAP code below is a full code listing to execute function module MM_ARRANG_ANALYSE_ALV_SCROLL including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_et_alv_head  TYPE ARRANG_ALV_GRID_DISP_HEAD_TTY ,
ld_et_alv_item  TYPE ARRANG_ALV_GRID_ANALYSIS_C_TTY ,
ld_ev_leave  TYPE CHAR1 ,
ld_ev_stay  TYPE CHAR1 ,
ld_ev_delegate  TYPE CHAR1 ,
ld_es_screen_status  TYPE ARRANG_SCREEN_STATUS_STY ,
ld_et_excluding  TYPE ARRANG_FCODE_EXCLUDE_TTY ,
ld_e_titlebar  TYPE ARRANG_SCREEN_TITLE_STY .

DATA(ld_i_salv_function) = 'Check type of data required'.
DATA(ld_i_report_type) = 'Check type of data required'. . CALL FUNCTION 'MM_ARRANG_ANALYSE_ALV_SCROLL' EXPORTING i_salv_function = ld_i_salv_function i_report_type = ld_i_report_type IMPORTING et_alv_head = ld_et_alv_head et_alv_item = ld_et_alv_item ev_leave = ld_ev_leave ev_stay = ld_ev_stay ev_delegate = ld_ev_delegate es_screen_status = ld_es_screen_status et_excluding = ld_et_excluding e_titlebar = ld_e_titlebar . " MM_ARRANG_ANALYSE_ALV_SCROLL
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_et_alv_head  TYPE ARRANG_ALV_GRID_DISP_HEAD_TTY ,
ld_i_salv_function  TYPE SALV_DE_FUNCTION ,
ld_et_alv_item  TYPE ARRANG_ALV_GRID_ANALYSIS_C_TTY ,
ld_i_report_type  TYPE REPOT ,
ld_ev_leave  TYPE CHAR1 ,
ld_ev_stay  TYPE CHAR1 ,
ld_ev_delegate  TYPE CHAR1 ,
ld_es_screen_status  TYPE ARRANG_SCREEN_STATUS_STY ,
ld_et_excluding  TYPE ARRANG_FCODE_EXCLUDE_TTY ,
ld_e_titlebar  TYPE ARRANG_SCREEN_TITLE_STY .

ld_i_salv_function = 'Check type of data required'.
ld_i_report_type = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name MM_ARRANG_ANALYSE_ALV_SCROLL or its description.