Menu

SAP Function Module CS_WHERE_USED_MAT

Bills of material, where-used list

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module CS_WHERE_USED_MAT (Bills of material, where-used list) is a standard Function Module in SAP ERP and is part of the function group CSS5 within the package CS.

Technical Information

Function Module CS_WHERE_USED_MAT
Short Text Bills of material, where-used list
Function Group CSS5
Package CS
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DATUB LIKE RC29L-DATUB Date 'valid to'
DATUV LIKE RC29L-DATUV Date 'valid from'
MATNR LIKE RC29L-MATNR Material
MCLMT LIKE STZU-STUEZ SPACE max. StlAnzahl (bei Massenänderung)
MNSTL LIKE STZU-STLNR SPACE von StlNummer
MXSTL LIKE STZU-STLNR SPACE bis StlNummer
NEWSI LIKE CSDATA-XFELD SPACE New Session Initialisierung (Puffer)
POSTP LIKE RC29L-POSTP SPACE Item category
RETCODE_ONLY LIKE CSDATA-XFELD SPACE no data - only set return code
STLAN LIKE RC29L-STLAN SPACE BOM usage
STLTP LIKE RC29A-ATABR SPACE Stücklistentypen
WERKS LIKE RC29L-WERKS SPACE Plant

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
TOPMAT LIKE MC29S Data on the initial material

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
EQUICAT LIKE CSCEQUI Assembly table: equipments
KNDCAT LIKE CSCKND Assembly table: sales orders
MATCAT LIKE CSCMAT Assembly table: materials
PRJCAT LIKE CSCPRJ Baugruppentabelle: Projekte
STDCAT LIKE CSCSTD Assembly table: standard objects
TPLCAT LIKE CSCTPL Assembly table: functional locations
WULTB LIKE STPOV WHERE-USED list table (items)

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CALL_INVALID Function module call incomplete or invalid
MATERIAL_NOT_FOUND Material not available
NO_WHERE_USED_REC_FOUND no where used record available
NO_WHERE_USED_REC_SELECTED no where used record selected
NO_WHERE_USED_REC_VALID no valid where used record available