SAP Function Modules

ISH_MAT_STORAGE_GETLIST SAP Function module - IS-H MM: Read Storage Locations/Materials in Closets







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

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


Pattern for FM ISH_MAT_STORAGE_GETLIST - ISH MAT STORAGE GETLIST





CALL FUNCTION 'ISH_MAT_STORAGE_GETLIST' "IS-H MM: Read Storage Locations/Materials in Closets
* EXPORTING
*   ss_storid =                 " ish_mstorid   IS-H MM: Care Unit Closet ID
*   ss_matnr =                  " rnmmd1-matnr
*   ss_rstorid =                " rnrangemstorid_t  IS-H MM: Range Table Type Care Unit Closet ID
*   ss_rmatnr =                 " rnrangemmatnr_t  IS-H MM: Range Table Type Material Numbers
* TABLES
*   ss_keys =                   " ish_mm_storlkey  Result (Key only)
*   ss_storlist =               " ish_mm_storl  Result (with Text + Details)
*   ss_errors =                 " bapiret2
    .  "  ISH_MAT_STORAGE_GETLIST

ABAP code example for Function Module ISH_MAT_STORAGE_GETLIST





The ABAP code below is a full code listing to execute function module ISH_MAT_STORAGE_GETLIST 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_keys  TYPE STANDARD TABLE OF ISH_MM_STORLKEY,"TABLES PARAM
wa_ss_keys  LIKE LINE OF it_ss_keys ,
it_ss_storlist  TYPE STANDARD TABLE OF ISH_MM_STORL,"TABLES PARAM
wa_ss_storlist  LIKE LINE OF it_ss_storlist ,
it_ss_errors  TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM
wa_ss_errors  LIKE LINE OF it_ss_errors .

DATA(ld_ss_storid) = 'Check type of data required'.

DATA(ld_ss_matnr) = some text here
DATA(ld_ss_rstorid) = 'Check type of data required'.
DATA(ld_ss_rmatnr) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_ss_keys to it_ss_keys.

"populate fields of struture and append to itab
append wa_ss_storlist to it_ss_storlist.

"populate fields of struture and append to itab
append wa_ss_errors to it_ss_errors. . CALL FUNCTION 'ISH_MAT_STORAGE_GETLIST' * EXPORTING * ss_storid = ld_ss_storid * ss_matnr = ld_ss_matnr * ss_rstorid = ld_ss_rstorid * ss_rmatnr = ld_ss_rmatnr * TABLES * ss_keys = it_ss_keys * ss_storlist = it_ss_storlist * ss_errors = it_ss_errors . " ISH_MAT_STORAGE_GETLIST
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_storid  TYPE ISH_MSTORID ,
it_ss_keys  TYPE STANDARD TABLE OF ISH_MM_STORLKEY ,
wa_ss_keys  LIKE LINE OF it_ss_keys,
ld_ss_matnr  TYPE RNMMD1-MATNR ,
it_ss_storlist  TYPE STANDARD TABLE OF ISH_MM_STORL ,
wa_ss_storlist  LIKE LINE OF it_ss_storlist,
ld_ss_rstorid  TYPE RNRANGEMSTORID_T ,
it_ss_errors  TYPE STANDARD TABLE OF BAPIRET2 ,
wa_ss_errors  LIKE LINE OF it_ss_errors,
ld_ss_rmatnr  TYPE RNRANGEMMATNR_T .

ld_ss_storid = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_ss_keys to it_ss_keys.

ld_ss_matnr = some text here

"populate fields of struture and append to itab
append wa_ss_storlist to it_ss_storlist.
ld_ss_rstorid = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_ss_errors to it_ss_errors.
ld_ss_rmatnr = 'Check type of data required'.

SAP Documentation for FM ISH_MAT_STORAGE_GETLIST


Buffered read of storage locations in one or more closets.
The selection criteria Closet ID and Material/Plant can be ...See here for full SAP fm documentation




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