SAP Function Modules

GRFN_MSMP_F4_SHLP SAP Function module - Get F4 Search help values







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

Associated Function Group: GRFN_MSMP_CONFIGURATION
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM GRFN_MSMP_F4_SHLP - GRFN MSMP F4 SHLP





CALL FUNCTION 'GRFN_MSMP_F4_SHLP' "Get F4 Search help values
  EXPORTING
*   iv_langu =                  " sy-langu      Language Key of Current Text Environment
*   iv_process_id =             " grfn_mw_process_id  Process ID
*   iv_process_type =           " grfn_mw_process_type  MSMP Process Type
*   iv_stage_id =               " grfn_mw_stg_config_id  Stage Configuration ID
*   iv_path_id =                " grfn_mw_path_id  Path ID
*   iv_rule_id =                " grfn_mw_rule_id  Rule ID
    iv_shlpname =               " shlpname      Name of a Search Help
  IMPORTING
    et_rule =                   " grfnmwcn_t_rule  Rules table
    et_path =                   " grfnmwcn_t_path  Table type for paths list
    et_agents =                 " grfnmwcn_t_agntt  MSMP Agent Description
    et_rule_result =            " grfnmw_t_ruleresults  MSMP Workflow rule results table type
    et_notif_templates =        " grfnmwcn_t_notiftempl  Notification Templates
    et_events =                 " grfnmwcn_t_event  MSMP:Notification Event for Stage - Texts
    ev_rc =                     " sy-subrc      Return Value of ABAP Statements
    .  "  GRFN_MSMP_F4_SHLP

ABAP code example for Function Module GRFN_MSMP_F4_SHLP





The ABAP code below is a full code listing to execute function module GRFN_MSMP_F4_SHLP 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_rule  TYPE GRFNMWCN_T_RULE ,
ld_et_path  TYPE GRFNMWCN_T_PATH ,
ld_et_agents  TYPE GRFNMWCN_T_AGNTT ,
ld_et_rule_result  TYPE GRFNMW_T_RULERESULTS ,
ld_et_notif_templates  TYPE GRFNMWCN_T_NOTIFTEMPL ,
ld_et_events  TYPE GRFNMWCN_T_EVENT ,
ld_ev_rc  TYPE SY-SUBRC .

DATA(ld_iv_langu) = 'Check type of data required'.
DATA(ld_iv_process_id) = 'Check type of data required'.
DATA(ld_iv_process_type) = 'Check type of data required'.
DATA(ld_iv_stage_id) = 'Check type of data required'.
DATA(ld_iv_path_id) = 'Check type of data required'.
DATA(ld_iv_rule_id) = 'Check type of data required'.
DATA(ld_iv_shlpname) = 'Check type of data required'. . CALL FUNCTION 'GRFN_MSMP_F4_SHLP' EXPORTING * iv_langu = ld_iv_langu * iv_process_id = ld_iv_process_id * iv_process_type = ld_iv_process_type * iv_stage_id = ld_iv_stage_id * iv_path_id = ld_iv_path_id * iv_rule_id = ld_iv_rule_id iv_shlpname = ld_iv_shlpname IMPORTING et_rule = ld_et_rule et_path = ld_et_path et_agents = ld_et_agents et_rule_result = ld_et_rule_result et_notif_templates = ld_et_notif_templates et_events = ld_et_events ev_rc = ld_ev_rc . " GRFN_MSMP_F4_SHLP
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_rule  TYPE GRFNMWCN_T_RULE ,
ld_iv_langu  TYPE SY-LANGU ,
ld_et_path  TYPE GRFNMWCN_T_PATH ,
ld_iv_process_id  TYPE GRFN_MW_PROCESS_ID ,
ld_et_agents  TYPE GRFNMWCN_T_AGNTT ,
ld_iv_process_type  TYPE GRFN_MW_PROCESS_TYPE ,
ld_et_rule_result  TYPE GRFNMW_T_RULERESULTS ,
ld_iv_stage_id  TYPE GRFN_MW_STG_CONFIG_ID ,
ld_et_notif_templates  TYPE GRFNMWCN_T_NOTIFTEMPL ,
ld_iv_path_id  TYPE GRFN_MW_PATH_ID ,
ld_et_events  TYPE GRFNMWCN_T_EVENT ,
ld_iv_rule_id  TYPE GRFN_MW_RULE_ID ,
ld_ev_rc  TYPE SY-SUBRC ,
ld_iv_shlpname  TYPE SHLPNAME .

ld_iv_langu = 'Check type of data required'.
ld_iv_process_id = 'Check type of data required'.
ld_iv_process_type = 'Check type of data required'.
ld_iv_stage_id = 'Check type of data required'.
ld_iv_path_id = 'Check type of data required'.
ld_iv_rule_id = 'Check type of data required'.
ld_iv_shlpname = '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 GRFN_MSMP_F4_SHLP or its description.