I_MaintObjListPurchaseOrder
Maint Object List in Purchase Order
I_MaintObjListPurchaseOrder is a Basic CDS View that provides data about "Maint Object List in Purchase Order" in SAP S/4HANA. It reads from 1 data source (ser08) and exposes 12 fields with key field MaintenanceObjectList. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ser08 | ser08 | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_MaintenanceObjectListItem | _MaintenanceObjectListItem | $projection.MaintenanceObjectList = _MaintenanceObjectListItem.MaintenanceObjectList |
| [0..1] | I_PurchaseOrderAPI01 | _PurchaseOrder | $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder |
| [0..1] | I_PurchaseOrderItemAPI01 | _PurchaseOrderItem | $projection.PurchaseOrder = _PurchaseOrderItem.PurchaseOrder and $projection.PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | Maint Object List in Purchase Order | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceObjectList | obknr | Object list | |
| PurchaseOrder | ebeln | Source PurchDoc | ||
| PurchaseOrderItem | ebelp | Item pur. doc. | ||
| PurchasingDocumentCategory | bstyp | Source doc.cat. | ||
| PurchasingDocumentType | bsart | Stnd purch.ord. | ||
| PurchasingDocumentItemCategory | pstyp | Item Category | ||
| Plant | werk | Plant | ||
| NumberOfSerialNumbers | anzsn | No.serial no. | ||
| SerialNumberAssignmentDate | datum | Valid to | ||
| _MaintenanceObjectListItem | _MaintenanceObjectListItem | |||
| _PurchaseOrder | _PurchaseOrder | |||
| _PurchaseOrderItem | _PurchaseOrderItem |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_MaintObjListPurchaseOrder.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_MaintObjListPurchaseOrder AS
SELECT
obknr AS MaintenanceObjectList,
ebeln AS PurchaseOrder,
ebelp AS PurchaseOrderItem,
bstyp AS PurchasingDocumentCategory,
bsart AS PurchasingDocumentType,
pstyp AS PurchasingDocumentItemCategory,
werk AS Plant,
anzsn AS NumberOfSerialNumbers,
datum AS SerialNumberAssignmentDate
FROM ser08
LEFT OUTER JOIN I_MaintenanceObjectListItem AS _MaintenanceObjectListItem ON MaintenanceObjectList = _MaintenanceObjectListItem.MaintenanceObjectList -- association [1..*]
LEFT OUTER JOIN I_PurchaseOrderAPI01 AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder -- association [0..1]
LEFT OUTER JOIN I_PurchaseOrderItemAPI01 AS _PurchaseOrderItem ON PurchaseOrder = _PurchaseOrderItem.PurchaseOrder AND PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- 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
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA