CM_MAP_DIALOG_HIER 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 CM_MAP_DIALOG_HIER into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CM_MAP_MD
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'CM_MAP_DIALOG_HIER' "
EXPORTING
i_plszn = " wisp_plszn
i_plsch = " wisp_plsch
i_plhvs = " wisp_plhvs
* i_hier_id = " hier_cnt
i_hiestruc = " wisp_hiestruc
* i_dependstruc = " wisp_dependstruc
* i_verbose = " cm_verboselevel
. " CM_MAP_DIALOG_HIER
The ABAP code below is a full code listing to execute function module CM_MAP_DIALOG_HIER 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_plszn) = 'Check type of data required'.
DATA(ld_i_plsch) = 'Check type of data required'.
DATA(ld_i_plhvs) = 'Check type of data required'.
DATA(ld_i_hier_id) = 'Check type of data required'.
DATA(ld_i_hiestruc) = 'Check type of data required'.
DATA(ld_i_dependstruc) = 'Check type of data required'.
DATA(ld_i_verbose) = 'Check type of data required'. . CALL FUNCTION 'CM_MAP_DIALOG_HIER' EXPORTING i_plszn = ld_i_plszn i_plsch = ld_i_plsch i_plhvs = ld_i_plhvs * i_hier_id = ld_i_hier_id i_hiestruc = ld_i_hiestruc * i_dependstruc = ld_i_dependstruc * i_verbose = ld_i_verbose . " CM_MAP_DIALOG_HIER
IF SY-SUBRC EQ 0. "All OK ENDIF.
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_plszn | TYPE WISP_PLSZN , |
| ld_i_plsch | TYPE WISP_PLSCH , |
| ld_i_plhvs | TYPE WISP_PLHVS , |
| ld_i_hier_id | TYPE HIER_CNT , |
| ld_i_hiestruc | TYPE WISP_HIESTRUC , |
| ld_i_dependstruc | TYPE WISP_DEPENDSTRUC , |
| ld_i_verbose | TYPE CM_VERBOSELEVEL . |
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 CM_MAP_DIALOG_HIER or its description.