SAP Function Modules

ISH_SERVICE_VIEW_FILTER SAP Function module







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

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


Pattern for FM ISH_SERVICE_VIEW_FILTER - ISH SERVICE VIEW FILTER





CALL FUNCTION 'ISH_SERVICE_VIEW_FILTER' "
  EXPORTING
    ss_einri =                  " einri
    ss_falnr =                  " falnr
    ss_node =                   " ish_service_view_tree
*   ss_grid_filter = ' '        " ish_on_off
    ss_program =                " sy-repid
*   ss_highlnrls = '9999999999'  " lnrls
  TABLES
    ss_actnlei =                " vnlei
    ss_actnnlz =                " vnnlz
    ss_actnbew =                " vnbew
    ss_actnlkz =                " vnlkz
    .  "  ISH_SERVICE_VIEW_FILTER

ABAP code example for Function Module ISH_SERVICE_VIEW_FILTER





The ABAP code below is a full code listing to execute function module ISH_SERVICE_VIEW_FILTER 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:
it_ss_actnlei  TYPE STANDARD TABLE OF VNLEI,"TABLES PARAM
wa_ss_actnlei  LIKE LINE OF it_ss_actnlei ,
it_ss_actnnlz  TYPE STANDARD TABLE OF VNNLZ,"TABLES PARAM
wa_ss_actnnlz  LIKE LINE OF it_ss_actnnlz ,
it_ss_actnbew  TYPE STANDARD TABLE OF VNBEW,"TABLES PARAM
wa_ss_actnbew  LIKE LINE OF it_ss_actnbew ,
it_ss_actnlkz  TYPE STANDARD TABLE OF VNLKZ,"TABLES PARAM
wa_ss_actnlkz  LIKE LINE OF it_ss_actnlkz .

DATA(ld_ss_einri) = 'Check type of data required'.
DATA(ld_ss_falnr) = 'Check type of data required'.
DATA(ld_ss_node) = 'Check type of data required'.
DATA(ld_ss_grid_filter) = 'Check type of data required'.
DATA(ld_ss_program) = 'some text here'.
DATA(ld_ss_highlnrls) = 'some text here'.

"populate fields of struture and append to itab
append wa_ss_actnlei to it_ss_actnlei.

"populate fields of struture and append to itab
append wa_ss_actnnlz to it_ss_actnnlz.

"populate fields of struture and append to itab
append wa_ss_actnbew to it_ss_actnbew.

"populate fields of struture and append to itab
append wa_ss_actnlkz to it_ss_actnlkz. . CALL FUNCTION 'ISH_SERVICE_VIEW_FILTER' EXPORTING ss_einri = ld_ss_einri ss_falnr = ld_ss_falnr ss_node = ld_ss_node * ss_grid_filter = ld_ss_grid_filter ss_program = ld_ss_program * ss_highlnrls = ld_ss_highlnrls TABLES ss_actnlei = it_ss_actnlei ss_actnnlz = it_ss_actnnlz ss_actnbew = it_ss_actnbew ss_actnlkz = it_ss_actnlkz . " ISH_SERVICE_VIEW_FILTER
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_ss_einri  TYPE EINRI ,
it_ss_actnlei  TYPE STANDARD TABLE OF VNLEI ,
wa_ss_actnlei  LIKE LINE OF it_ss_actnlei,
ld_ss_falnr  TYPE FALNR ,
it_ss_actnnlz  TYPE STANDARD TABLE OF VNNLZ ,
wa_ss_actnnlz  LIKE LINE OF it_ss_actnnlz,
ld_ss_node  TYPE ISH_SERVICE_VIEW_TREE ,
it_ss_actnbew  TYPE STANDARD TABLE OF VNBEW ,
wa_ss_actnbew  LIKE LINE OF it_ss_actnbew,
ld_ss_grid_filter  TYPE ISH_ON_OFF ,
it_ss_actnlkz  TYPE STANDARD TABLE OF VNLKZ ,
wa_ss_actnlkz  LIKE LINE OF it_ss_actnlkz,
ld_ss_program  TYPE SY-REPID ,
ld_ss_highlnrls  TYPE LNRLS .

ld_ss_einri = 'some text here'.

"populate fields of struture and append to itab
append wa_ss_actnlei to it_ss_actnlei.
ld_ss_falnr = 'some text here'.

"populate fields of struture and append to itab
append wa_ss_actnnlz to it_ss_actnnlz.
ld_ss_node = 'some text here'.

"populate fields of struture and append to itab
append wa_ss_actnbew to it_ss_actnbew.
ld_ss_grid_filter = 'some text here'.

"populate fields of struture and append to itab
append wa_ss_actnlkz to it_ss_actnlkz.
ld_ss_program = 'some text here'.
ld_ss_highlnrls = '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 ISH_SERVICE_VIEW_FILTER or its description.