SAP Function Modules

FC_MONITOR_LAYOUT_IMPORT SAP Function module







FC_MONITOR_LAYOUT_IMPORT 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 FC_MONITOR_LAYOUT_IMPORT into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM FC_MONITOR_LAYOUT_IMPORT - FC MONITOR LAYOUT IMPORT





CALL FUNCTION 'FC_MONITOR_LAYOUT_IMPORT' "
  EXPORTING
    e_dimen =                   " fc_dimen      Dimension
    e_itclg =                   " fc_itclg      Consolidation Chart of Accounts
    e_rldnr =                   " fc_rldnr
    e_rvers =                   " fc_rvers      Consolidation (End-Result) Version
    e_ryear =                   " fc_ryear
    e_perid =                   " fc_perid
*   e_uname = SY-UNAME          " sy-uname
    e_monitor_flag =            "
  IMPORTING
    i_cursor_column =           " sy-cucol
    i_cursor_line =             " sy-curow
    i_first_node =              " streenode-id
    i_first_node_type =         " streenode-type
    i_list_column =             " sy-staco
    i_list_line =               " sy-staro
    i_layout_mode =             " seu_laymod
    i_show_cacti =              " fc_flg
    i_show_texts =              " fc_flg
    i_display_flag =            " fc_flg
    i_filter_active =           " fc_flg
    i_icon_central =            " fc_flg
    i_shift_right =             " i
    i_tab_index =               " i
    i_display =                 " fc02_s_display
    i_spec_subrc =              " sy-subrc
    i_glob_subrc =              " sy-subrc
  TABLES
    t_layout =                  " seutexpand
    .  "  FC_MONITOR_LAYOUT_IMPORT

ABAP code example for Function Module FC_MONITOR_LAYOUT_IMPORT





The ABAP code below is a full code listing to execute function module FC_MONITOR_LAYOUT_IMPORT 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_i_cursor_column  TYPE SY-CUCOL ,
ld_i_cursor_line  TYPE SY-CUROW ,
ld_i_first_node  TYPE STREENODE-ID ,
ld_i_first_node_type  TYPE STREENODE-TYPE ,
ld_i_list_column  TYPE SY-STACO ,
ld_i_list_line  TYPE SY-STARO ,
ld_i_layout_mode  TYPE SEU_LAYMOD ,
ld_i_show_cacti  TYPE FC_FLG ,
ld_i_show_texts  TYPE FC_FLG ,
ld_i_display_flag  TYPE FC_FLG ,
ld_i_filter_active  TYPE FC_FLG ,
ld_i_icon_central  TYPE FC_FLG ,
ld_i_shift_right  TYPE I ,
ld_i_tab_index  TYPE I ,
ld_i_display  TYPE FC02_S_DISPLAY ,
ld_i_spec_subrc  TYPE SY-SUBRC ,
ld_i_glob_subrc  TYPE SY-SUBRC ,
it_t_layout  TYPE STANDARD TABLE OF SEUTEXPAND,"TABLES PARAM
wa_t_layout  LIKE LINE OF it_t_layout .

DATA(ld_e_dimen) = 'Check type of data required'.
DATA(ld_e_itclg) = 'Check type of data required'.
DATA(ld_e_rldnr) = 'Check type of data required'.
DATA(ld_e_rvers) = 'Check type of data required'.
DATA(ld_e_ryear) = 'Check type of data required'.
DATA(ld_e_perid) = 'Check type of data required'.
DATA(ld_e_uname) = 'some text here'.
DATA(ld_e_monitor_flag) = 'some text here'.

"populate fields of struture and append to itab
append wa_t_layout to it_t_layout. . CALL FUNCTION 'FC_MONITOR_LAYOUT_IMPORT' EXPORTING e_dimen = ld_e_dimen e_itclg = ld_e_itclg e_rldnr = ld_e_rldnr e_rvers = ld_e_rvers e_ryear = ld_e_ryear e_perid = ld_e_perid * e_uname = ld_e_uname e_monitor_flag = ld_e_monitor_flag IMPORTING i_cursor_column = ld_i_cursor_column i_cursor_line = ld_i_cursor_line i_first_node = ld_i_first_node i_first_node_type = ld_i_first_node_type i_list_column = ld_i_list_column i_list_line = ld_i_list_line i_layout_mode = ld_i_layout_mode i_show_cacti = ld_i_show_cacti i_show_texts = ld_i_show_texts i_display_flag = ld_i_display_flag i_filter_active = ld_i_filter_active i_icon_central = ld_i_icon_central i_shift_right = ld_i_shift_right i_tab_index = ld_i_tab_index i_display = ld_i_display i_spec_subrc = ld_i_spec_subrc i_glob_subrc = ld_i_glob_subrc TABLES t_layout = it_t_layout . " FC_MONITOR_LAYOUT_IMPORT
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_i_cursor_column  TYPE SY-CUCOL ,
it_t_layout  TYPE STANDARD TABLE OF SEUTEXPAND ,
wa_t_layout  LIKE LINE OF it_t_layout,
ld_e_dimen  TYPE FC_DIMEN ,
ld_i_cursor_line  TYPE SY-CUROW ,
ld_e_itclg  TYPE FC_ITCLG ,
ld_i_first_node  TYPE STREENODE-ID ,
ld_e_rldnr  TYPE FC_RLDNR ,
ld_i_first_node_type  TYPE STREENODE-TYPE ,
ld_e_rvers  TYPE FC_RVERS ,
ld_i_list_column  TYPE SY-STACO ,
ld_e_ryear  TYPE FC_RYEAR ,
ld_i_list_line  TYPE SY-STARO ,
ld_e_perid  TYPE FC_PERID ,
ld_i_layout_mode  TYPE SEU_LAYMOD ,
ld_e_uname  TYPE SY-UNAME ,
ld_i_show_cacti  TYPE FC_FLG ,
ld_e_monitor_flag  TYPE STRING ,
ld_i_show_texts  TYPE FC_FLG ,
ld_i_display_flag  TYPE FC_FLG ,
ld_i_filter_active  TYPE FC_FLG ,
ld_i_icon_central  TYPE FC_FLG ,
ld_i_shift_right  TYPE I ,
ld_i_tab_index  TYPE I ,
ld_i_display  TYPE FC02_S_DISPLAY ,
ld_i_spec_subrc  TYPE SY-SUBRC ,
ld_i_glob_subrc  TYPE SY-SUBRC .


"populate fields of struture and append to itab
append wa_t_layout to it_t_layout.
ld_e_dimen = 'some text here'.
ld_e_itclg = 'some text here'.
ld_e_rldnr = 'some text here'.
ld_e_rvers = 'some text here'.
ld_e_ryear = 'some text here'.
ld_e_perid = 'some text here'.
ld_e_uname = 'some text here'.
ld_e_monitor_flag = 'some text here'.

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 FC_MONITOR_LAYOUT_IMPORT or its description.