SAP Function Modules

ISH_PROCEDURE_READ_MULT SAP Function module







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

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


Pattern for FM ISH_PROCEDURE_READ_MULT - ISH PROCEDURE READ MULT





CALL FUNCTION 'ISH_PROCEDURE_READ_MULT' "
  EXPORTING
    ss_einri =                  " tn01-einri    Current Institution
*   ss_with_text = ' '          " npdok-xfeld
*   ss_language = SY-LANGU      " sy-langu
*   ss_with_custom = ' '        " npdok-xfeld
*   ss_only_official = ' '      " npdok-xfeld   Determine Official Procedures Only
  TABLES
    ss_falnr =                  " ish_falnr_tab_type
*   ss_filter_icphc =           " rnrangexfeld
*   ss_filter_ident =           " rnrangeident
*   ss_filter_opart =           " rnrangeopart
*   ss_filter_icpml =           " rnrangeicpml
*   ss_filter_lfdbew =          " rnrangelfdbew
*   ss_filter_drg_rel =         " rnrangexfeld
*   ss_filter_drg_seqno =       " rnrangeseqno
*   ss_filter_drg_category =    " rnrangecategory
*   ss_filter_oplebspen =       " rnrangexfeld
*   e_nicp =                    " rnicp
*   e_nlicz =                   " vnlicz
*   e_ndicz =                   " vndicz
  EXCEPTIONS
    CASE_TABLE_EMPTY = 1        "
    NO_INSTITUTION = 2          "
    .  "  ISH_PROCEDURE_READ_MULT

ABAP code example for Function Module ISH_PROCEDURE_READ_MULT





The ABAP code below is a full code listing to execute function module ISH_PROCEDURE_READ_MULT 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_falnr  TYPE STANDARD TABLE OF ISH_FALNR_TAB_TYPE,"TABLES PARAM
wa_ss_falnr  LIKE LINE OF it_ss_falnr ,
it_ss_filter_icphc  TYPE STANDARD TABLE OF RNRANGEXFELD,"TABLES PARAM
wa_ss_filter_icphc  LIKE LINE OF it_ss_filter_icphc ,
it_ss_filter_ident  TYPE STANDARD TABLE OF RNRANGEIDENT,"TABLES PARAM
wa_ss_filter_ident  LIKE LINE OF it_ss_filter_ident ,
it_ss_filter_opart  TYPE STANDARD TABLE OF RNRANGEOPART,"TABLES PARAM
wa_ss_filter_opart  LIKE LINE OF it_ss_filter_opart ,
it_ss_filter_icpml  TYPE STANDARD TABLE OF RNRANGEICPML,"TABLES PARAM
wa_ss_filter_icpml  LIKE LINE OF it_ss_filter_icpml ,
it_ss_filter_lfdbew  TYPE STANDARD TABLE OF RNRANGELFDBEW,"TABLES PARAM
wa_ss_filter_lfdbew  LIKE LINE OF it_ss_filter_lfdbew ,
it_ss_filter_drg_rel  TYPE STANDARD TABLE OF RNRANGEXFELD,"TABLES PARAM
wa_ss_filter_drg_rel  LIKE LINE OF it_ss_filter_drg_rel ,
it_ss_filter_drg_seqno  TYPE STANDARD TABLE OF RNRANGESEQNO,"TABLES PARAM
wa_ss_filter_drg_seqno  LIKE LINE OF it_ss_filter_drg_seqno ,
it_ss_filter_drg_category  TYPE STANDARD TABLE OF RNRANGECATEGORY,"TABLES PARAM
wa_ss_filter_drg_category  LIKE LINE OF it_ss_filter_drg_category ,
it_ss_filter_oplebspen  TYPE STANDARD TABLE OF RNRANGEXFELD,"TABLES PARAM
wa_ss_filter_oplebspen  LIKE LINE OF it_ss_filter_oplebspen ,
it_e_nicp  TYPE STANDARD TABLE OF RNICP,"TABLES PARAM
wa_e_nicp  LIKE LINE OF it_e_nicp ,
it_e_nlicz  TYPE STANDARD TABLE OF VNLICZ,"TABLES PARAM
wa_e_nlicz  LIKE LINE OF it_e_nlicz ,
it_e_ndicz  TYPE STANDARD TABLE OF VNDICZ,"TABLES PARAM
wa_e_ndicz  LIKE LINE OF it_e_ndicz .


SELECT single EINRI
FROM TN01
INTO @DATA(ld_ss_einri).


DATA(ld_ss_with_text) = some text here
DATA(ld_ss_language) = 'Check type of data required'.

DATA(ld_ss_with_custom) = some text here

DATA(ld_ss_only_official) = some text here

"populate fields of struture and append to itab
append wa_ss_falnr to it_ss_falnr.

"populate fields of struture and append to itab
append wa_ss_filter_icphc to it_ss_filter_icphc.

"populate fields of struture and append to itab
append wa_ss_filter_ident to it_ss_filter_ident.

"populate fields of struture and append to itab
append wa_ss_filter_opart to it_ss_filter_opart.

"populate fields of struture and append to itab
append wa_ss_filter_icpml to it_ss_filter_icpml.

"populate fields of struture and append to itab
append wa_ss_filter_lfdbew to it_ss_filter_lfdbew.

"populate fields of struture and append to itab
append wa_ss_filter_drg_rel to it_ss_filter_drg_rel.

"populate fields of struture and append to itab
append wa_ss_filter_drg_seqno to it_ss_filter_drg_seqno.

"populate fields of struture and append to itab
append wa_ss_filter_drg_category to it_ss_filter_drg_category.

"populate fields of struture and append to itab
append wa_ss_filter_oplebspen to it_ss_filter_oplebspen.

"populate fields of struture and append to itab
append wa_e_nicp to it_e_nicp.

"populate fields of struture and append to itab
append wa_e_nlicz to it_e_nlicz.

"populate fields of struture and append to itab
append wa_e_ndicz to it_e_ndicz. . CALL FUNCTION 'ISH_PROCEDURE_READ_MULT' EXPORTING ss_einri = ld_ss_einri * ss_with_text = ld_ss_with_text * ss_language = ld_ss_language * ss_with_custom = ld_ss_with_custom * ss_only_official = ld_ss_only_official TABLES ss_falnr = it_ss_falnr * ss_filter_icphc = it_ss_filter_icphc * ss_filter_ident = it_ss_filter_ident * ss_filter_opart = it_ss_filter_opart * ss_filter_icpml = it_ss_filter_icpml * ss_filter_lfdbew = it_ss_filter_lfdbew * ss_filter_drg_rel = it_ss_filter_drg_rel * ss_filter_drg_seqno = it_ss_filter_drg_seqno * ss_filter_drg_category = it_ss_filter_drg_category * ss_filter_oplebspen = it_ss_filter_oplebspen * e_nicp = it_e_nicp * e_nlicz = it_e_nlicz * e_ndicz = it_e_ndicz EXCEPTIONS CASE_TABLE_EMPTY = 1 NO_INSTITUTION = 2 . " ISH_PROCEDURE_READ_MULT
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "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_ss_einri  TYPE TN01-EINRI ,
it_ss_falnr  TYPE STANDARD TABLE OF ISH_FALNR_TAB_TYPE ,
wa_ss_falnr  LIKE LINE OF it_ss_falnr,
ld_ss_with_text  TYPE NPDOK-XFELD ,
it_ss_filter_icphc  TYPE STANDARD TABLE OF RNRANGEXFELD ,
wa_ss_filter_icphc  LIKE LINE OF it_ss_filter_icphc,
ld_ss_language  TYPE SY-LANGU ,
it_ss_filter_ident  TYPE STANDARD TABLE OF RNRANGEIDENT ,
wa_ss_filter_ident  LIKE LINE OF it_ss_filter_ident,
ld_ss_with_custom  TYPE NPDOK-XFELD ,
it_ss_filter_opart  TYPE STANDARD TABLE OF RNRANGEOPART ,
wa_ss_filter_opart  LIKE LINE OF it_ss_filter_opart,
ld_ss_only_official  TYPE NPDOK-XFELD ,
it_ss_filter_icpml  TYPE STANDARD TABLE OF RNRANGEICPML ,
wa_ss_filter_icpml  LIKE LINE OF it_ss_filter_icpml,
it_ss_filter_lfdbew  TYPE STANDARD TABLE OF RNRANGELFDBEW ,
wa_ss_filter_lfdbew  LIKE LINE OF it_ss_filter_lfdbew,
it_ss_filter_drg_rel  TYPE STANDARD TABLE OF RNRANGEXFELD ,
wa_ss_filter_drg_rel  LIKE LINE OF it_ss_filter_drg_rel,
it_ss_filter_drg_seqno  TYPE STANDARD TABLE OF RNRANGESEQNO ,
wa_ss_filter_drg_seqno  LIKE LINE OF it_ss_filter_drg_seqno,
it_ss_filter_drg_category  TYPE STANDARD TABLE OF RNRANGECATEGORY ,
wa_ss_filter_drg_category  LIKE LINE OF it_ss_filter_drg_category,
it_ss_filter_oplebspen  TYPE STANDARD TABLE OF RNRANGEXFELD ,
wa_ss_filter_oplebspen  LIKE LINE OF it_ss_filter_oplebspen,
it_e_nicp  TYPE STANDARD TABLE OF RNICP ,
wa_e_nicp  LIKE LINE OF it_e_nicp,
it_e_nlicz  TYPE STANDARD TABLE OF VNLICZ ,
wa_e_nlicz  LIKE LINE OF it_e_nlicz,
it_e_ndicz  TYPE STANDARD TABLE OF VNDICZ ,
wa_e_ndicz  LIKE LINE OF it_e_ndicz.


SELECT single EINRI
FROM TN01
INTO ld_ss_einri.


"populate fields of struture and append to itab
append wa_ss_falnr to it_ss_falnr.

ld_ss_with_text = some text here

"populate fields of struture and append to itab
append wa_ss_filter_icphc to it_ss_filter_icphc.
ld_ss_language = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_ss_filter_ident to it_ss_filter_ident.

ld_ss_with_custom = some text here

"populate fields of struture and append to itab
append wa_ss_filter_opart to it_ss_filter_opart.

ld_ss_only_official = some text here

"populate fields of struture and append to itab
append wa_ss_filter_icpml to it_ss_filter_icpml.

"populate fields of struture and append to itab
append wa_ss_filter_lfdbew to it_ss_filter_lfdbew.

"populate fields of struture and append to itab
append wa_ss_filter_drg_rel to it_ss_filter_drg_rel.

"populate fields of struture and append to itab
append wa_ss_filter_drg_seqno to it_ss_filter_drg_seqno.

"populate fields of struture and append to itab
append wa_ss_filter_drg_category to it_ss_filter_drg_category.

"populate fields of struture and append to itab
append wa_ss_filter_oplebspen to it_ss_filter_oplebspen.

"populate fields of struture and append to itab
append wa_e_nicp to it_e_nicp.

"populate fields of struture and append to itab
append wa_e_nlicz to it_e_nlicz.

"populate fields of struture and append to itab
append wa_e_ndicz to it_e_ndicz.

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_PROCEDURE_READ_MULT or its description.