The Function Module CS_WHERE_USED_DOC (Bills of material, document use) is a standard Function Module in SAP ERP and is part of the function group CSS5 within the package CS.
Function Module | CS_WHERE_USED_DOC |
Short Text | Bills of material, document use |
Function Group | CSS5 |
Package | CS |
Module Type | Normal Module |
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' | |
DOCAR | LIKE | DRAW-DOKAR | Document type | |
DOCNR | LIKE | DRAW-DOKNR | Document number | |
DOCTL | LIKE | DRAW-DOKTL | Part document | |
DOCVR | LIKE | DRAW-DOKVR | Document version | |
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 |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
TOPDOC | LIKE | CSXDOC | Data on the initial material |
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
DOCCAT | LIKE | CSCDOC | Assembly table: documents | |
EQUICAT | LIKE | CSCEQUI | Assembly table: equipments | |
KNDCAT | LIKE | CSCKND | Assembly table: sales orders | |
MATCAT | LIKE | CSCMAT | Assembly table: materials | |
STDCAT | LIKE | CSCSTD | Assembly table: standard objects | |
TPLCAT | LIKE | CSCTPL | Assembly table: functional locations | |
WULTB | LIKE | STPOV | WHERE-USED list table (items) |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
CALL_INVALID | Function module call incomplete or invalid |
DOCUMENT_NOT_FOUND | Document 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 |