MPCR
Preventive Maintenance Compliance
MPCR is an SAP database table in S/4HANA. Preventive Maintenance Compliance. It contains 19 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_MaintenanceCompliance | view | from | BASIC | Maintenance Compliance |
Fields (19)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | mandt | Client | |||
| KEY | wapos | wapos | MaintItem | |||
| KEY | cpnum | cpnum | Seq Num Compliance | |||
| ernam | ernam | Created By | ||||
| erdat | erdat | Created On | ||||
| aenam | aenam | Changed By | ||||
| aedat | aedat | Changed On | ||||
| changeddatetime | changeddatetime | Changed Date | ||||
| cpgrp | cpgrpoup | Code Group | ||||
| cmpcod | cmpcod | Compliance Code | ||||
| cptyp | cptyp | Compliance Type | ||||
| cpkat | cpkat | Compliance Catalog | ||||
| cptxt | cptxt | Comp Descr. | ||||
| indltx | indltx | Long text | ||||
| qcpnum | qcpnum | Sort Number | ||||
| zaehl | paketzaehl | Package | ||||
| legal | legal | Legal Requirement | ||||
| kzloesch | kzloesch | Delete | ||||
| origin | cmplrq_origin | Origin |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Preventive Maintenance Compliance
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE MPCR (
MANDT, -- Client [mandt]
WAPOS, -- MaintItem [wapos]
CPNUM, -- Seq Num Compliance [cpnum]
ERNAM, -- Created By [ernam]
ERDAT, -- Created On [erdat]
AENAM, -- Changed By [aenam]
AEDAT, -- Changed On [aedat]
CHANGEDDATETIME, -- Changed Date [changeddatetime]
CPGRP, -- Code Group [cpgrpoup]
CMPCOD, -- Compliance Code [cmpcod]
CPTYP, -- Compliance Type [cptyp]
CPKAT, -- Compliance Catalog [cpkat]
CPTXT, -- Comp Descr. [cptxt]
INDLTX, -- Long text [indltx]
QCPNUM, -- Sort Number [qcpnum]
ZAEHL, -- Package [paketzaehl]
LEGAL, -- Legal Requirement [legal]
KZLOESCH, -- Delete [kzloesch]
ORIGIN, -- Origin [cmplrq_origin]
PRIMARY KEY (MANDT, WAPOS, CPNUM)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA