Ansicht
Dokumentation

BAPI_STSRVAPS_GETLIST - Obsolete: Read Stocks for Selection Criteria

BAPI_STSRVAPS_GETLIST - Obsolete: Read Stocks for Selection Criteria

RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Successor function: BAPI_STSRVAPS_GETLIST2 ("GetList2").

Functionality

This method can be used to read stocks for certain selection criteria.

If you are using this function for the first time, you can find detailed documentation in the following important information.

Notes

You must specify the following selection criteria:

  • PRODUCT_SELECTION
  • LOCATION_SELECTION
  • LOCTYPE_SELECTION

For more detailed selection, you can also specify:

  • CHARACTERISTICS_SELECTION
  • ATPCAT_SELECTION
  • STOCK_TYPE_SELECTION
  • BATCH_SELECTION
  • STORAGE_LOCATION_SELECTION

To reduce the quantity of data to be returned, you can make the following restrictions can be made:

  • EXCLUDE_EXPORT_FLAGS
  • MAX_NUMBER_OF_STOCKS

Note:

  • When making the selection more detailed by selecting characteristic requirements, you should note that a stock with no value assignment for a classified product conforms to all characteristic requirements (Joker).

  • All characteristic requirements must refer to the same class.

  • If several products are selected and characteristic requirements are released, all products that are not classified with this class are removed from the selection.

Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.

Further information





Parameters

ATPCAT_SELECTION
BATCH_SELECTION
CHARACTERISTICS
CHARACTERISTICS_SELECTION
EXCLUDE_EXPORT_FLAGS
EXTENSION_IN
EXTENSION_OUT
LOCATION_SELECTION
LOCTYPE_SELECTION
LOGICAL_SYSTEM
MAX_NUMBER_OF_STOCKS
NUMBER_OF_STOCKS
PEGGING_NODES
PLANNING_VERSION
PRODUCT_SELECTION
RETURN
STOCK
STOCK_TYPE_SELECTION
STORAGE_LOCATION_SELECTION

Exceptions

Function Group

10504

PERFORM Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 4435 Date: 20240523 Time: 170958     sap01-206 ( 48 ms )