CSPRJ_MAT SAP (Management of generated materials to project) Table details
Description: Management of generated materials to project
Table field list including key, data, relationships and ABAP select examples
CSPRJ_MAT is a standard SAP Table which is used to store Management of generated materials to project data and is available within R/3 SAP systems depending on the version and release level.
The CSPRJ_MAT table consists of various fields, each holding specific information or linking keys about Management of generated materials to project data available in SAP. These include PSPNR (Work breakdown structure element (WBS element)), WERKS (Plant), MATNR_OLD (Reference material number of a material replacement), MATNR_NEW (New material number of a material exchange).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: L - Table for storing temporary data, is delivered emptyDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP CSPRJ_MAT table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
PSPNR | Work breakdown structure element (WBS element) | CS_PSPNR | NUMC | 8 | PRPS | ABPSP | PS_POSNR | PEI | |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
MATNR_OLD | Reference material number of a material replacement | O_MATNR_REF | CHAR | 18 | MARA | MATN1 | MATNR | ||
MATNR_NEW | New material number of a material exchange | O_MATNR_NEW | CHAR | 18 | MARA | MATN1 | MATNR | ||
MTART_OLD | Reference material type of a material replacement | O_MTART_REF | CHAR | 4 | T134 | MTART | |||
MTART_NEW | New material type of a material replacement | O_MTART_NEW | CHAR | 4 | T134 | MTART | |||
VPSTA_OLD | Complete maintenance status of ref. material | O_VPSTA_REF | CHAR | 15 | PSTAT | ||||
VPSTA_NEW | Complete maintenance status of new material | O_VPSTA_NEW | CHAR | 15 | PSTAT | ||||
ANNAM | User who created record | ANNAM | CHAR | 12 | USNAM | ||||
CREATE_VIA | Source of material replacement | O_VIA | CHAR | 8 | CHAR0008 | ||||
ANDAT | Date record created on | ANDAT | DATS | 8 | DATUM | ||||
DEL_DAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
LKENZ | Deletion Indicator | LKENZ | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table CSPRJ_MAT using ABAP code
The following ABAP code Example will allow you to do a basic selection on CSPRJ_MAT to SELECT all data from the tableDATA: WA_CSPRJ_MAT TYPE CSPRJ_MAT.
SELECT SINGLE *
FROM CSPRJ_MAT
INTO CORRESPONDING FIELDS OF WA_CSPRJ_MAT
WHERE...
How to access SAP table CSPRJ_MAT
Within an ECC or HANA version of SAP you can also view further information about CSPRJ_MAT and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects