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
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
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).
| 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 . |
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 . |
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.