SAP Function Modules

ISH_N2_GL_PATH_DECISION_M_DIA SAP Function module







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

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


Pattern for FM ISH_N2_GL_PATH_DECISION_M_DIA - ISH N2 GL PATH DECISION M DIA





CALL FUNCTION 'ISH_N2_GL_PATH_DECISION_M_DIA' "
  EXPORTING
    i_einri =                   " einri
    i_group_name =              " n2gl_title_group
    i_activity =                " n2gl_act_typ
    i_catset_id =               " n2cat_set
    i_info_data =               " rn2gl_path_dlg_info_data
    it_question =               " ishmed_t_n2gl_path_qu_with_ans
  IMPORTING
    et_answer_selected =        " ishmed_t_n2gl_tm_step_answer
    e_done_date =               " n2gl_done_date
    e_done_time =               " n2gl_done_time
    e_act_cat =                 " n2gl_act_cat
    es_note =                   " rn2gl_act_note
  EXCEPTIONS
    CANCELLED = 1               "
    .  "  ISH_N2_GL_PATH_DECISION_M_DIA

ABAP code example for Function Module ISH_N2_GL_PATH_DECISION_M_DIA





The ABAP code below is a full code listing to execute function module ISH_N2_GL_PATH_DECISION_M_DIA 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_answer_selected  TYPE ISHMED_T_N2GL_TM_STEP_ANSWER ,
ld_e_done_date  TYPE N2GL_DONE_DATE ,
ld_e_done_time  TYPE N2GL_DONE_TIME ,
ld_e_act_cat  TYPE N2GL_ACT_CAT ,
ld_es_note  TYPE RN2GL_ACT_NOTE .

DATA(ld_i_einri) = 'Check type of data required'.
DATA(ld_i_group_name) = 'Check type of data required'.
DATA(ld_i_activity) = 'Check type of data required'.
DATA(ld_i_catset_id) = 'Check type of data required'.
DATA(ld_i_info_data) = 'Check type of data required'.
DATA(ld_it_question) = 'Check type of data required'. . CALL FUNCTION 'ISH_N2_GL_PATH_DECISION_M_DIA' EXPORTING i_einri = ld_i_einri i_group_name = ld_i_group_name i_activity = ld_i_activity i_catset_id = ld_i_catset_id i_info_data = ld_i_info_data it_question = ld_it_question IMPORTING et_answer_selected = ld_et_answer_selected e_done_date = ld_e_done_date e_done_time = ld_e_done_time e_act_cat = ld_e_act_cat es_note = ld_es_note EXCEPTIONS CANCELLED = 1 . " ISH_N2_GL_PATH_DECISION_M_DIA
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here 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_answer_selected  TYPE ISHMED_T_N2GL_TM_STEP_ANSWER ,
ld_i_einri  TYPE EINRI ,
ld_e_done_date  TYPE N2GL_DONE_DATE ,
ld_i_group_name  TYPE N2GL_TITLE_GROUP ,
ld_e_done_time  TYPE N2GL_DONE_TIME ,
ld_i_activity  TYPE N2GL_ACT_TYP ,
ld_e_act_cat  TYPE N2GL_ACT_CAT ,
ld_i_catset_id  TYPE N2CAT_SET ,
ld_es_note  TYPE RN2GL_ACT_NOTE ,
ld_i_info_data  TYPE RN2GL_PATH_DLG_INFO_DATA ,
ld_it_question  TYPE ISHMED_T_N2GL_PATH_QU_WITH_ANS .

ld_i_einri = 'Check type of data required'.
ld_i_group_name = 'Check type of data required'.
ld_i_activity = 'Check type of data required'.
ld_i_catset_id = 'Check type of data required'.
ld_i_info_data = 'Check type of data required'.
ld_it_question = '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 ISH_N2_GL_PATH_DECISION_M_DIA or its description.