Ansicht
Dokumentation

MSAM10_INVENTORY_GETLIST - PM/CS: Get the list of inventory items

MSAM10_INVENTORY_GETLIST - PM/CS: Get the list of inventory items

PERFORM Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this method to get the list of inventory stock material (storage location stock and customer consigned). This method internally uses the variant mentioned in the Service and asset management for Mobilecustomizing (transaction MSAM_GENERAL) for selection report RMSAM_MO_INVENTORY_LIST to get the list of Inventory stock materials. If no variant is maintained then all the Inventory stock materials will be selected.

This method returns the list inventory stock IDs(It is a combination of plant,account number of customer, storage location, inventory stock material number respectivly) only, when Sel. header Keys checkbox provided in the Service and asset management for Mobilecustomizing is selected. If you wish to have the inventory stock header details like short text, description and so on, then this checkbox must be deselected.

Notes

Errors encountered during processing are collected in the RETURN table.

Technical note

You can use the ME_MASS_REPstructure to restrict the number of inventory stock materials in the output list. The field ME_KEY_GREATER_THANcan be used to get the list of Inventory stock materialss having material number greater than the value in this field. The field ME_NUMBER_OF_HEADERS can be used to get the fixed number of inventory stock materials.,,

Customer Enhancements

The following BAdI (Business Add-Ins) is provided in the method. You can use this BAdI to write your own logic.

BADI_EAM_MSAM_INVENTORY : Customer BAdI for Inventory Object

Example

Notes

Further information





Parameters

INVENTORY_LIST
ME_MASS_REP
REPLICATION_TYPE
RETURN

Exceptions

Function Group

MSAM_MOREP_INVENTORY

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2306 Date: 20240604 Time: 004535     sap01-206 ( 53 ms )