I_ProjPurDocItems
Basic view for tab PurDoc on WBSElement app
I_ProjPurDocItems is a Composite CDS View that provides data about "Basic view for tab PurDoc on WBSElement app" in SAP S/4HANA. It reads from 1 data source (P_ProjPurDocItems) and exposes 22 fields with key fields PurchasingDocument, PurchasingDocumentItem, AccountAssignmentNumber. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ProjPurDocItems | ProjPurDocItems | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Supplier | _Supplier | _Supplier.Supplier = $projection.Supplier |
| [1..1] | I_UnitOfMeasure | _UnitOfMeasure | _UnitOfMeasure.UnitOfMeasure = $projection.BaseUnit |
| [0..1] | I_ProjectNetwork | _ProjectNetwork | _ProjectNetwork.ProjectNetworkInternalID = $projection.ProjectNetworkInternalID or _ProjectNetwork.ProjectNetwork = $projection.ProjectNetwork |
| [0..1] | I_NetworkActivityByInternalKey | _NetworkActivity | _NetworkActivity.ProjectNetworkInternalID = $projection.ProjectNetworkInternalID and _NetworkActivity.NetworkActivityInternalID = $projection.NetworkActivityInternalID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | IPURDOCI | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Basic view for tab PurDoc on WBSElement app | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocument | |||
| KEY | PurchasingDocumentItem | |||
| KEY | AccountAssignmentNumber | P_ProjPurDocItems | AccountAssignmentNumber | Account Assgmt No. |
| ProjectNetworkInternalID | P_ProjPurDocItems | ProjectNetworkInternalID | Plan No.f.Oper. | |
| NetworkActivityInternalID | P_ProjPurDocItems | NetworkActivityInternalID | Counter | |
| ProjectNetwork | P_ProjPurDocItems | ProjectNetwork | Order | |
| PurchasingDocumentType | P_ProjPurDocItems | PurchasingDocumentType | RFQ Type | |
| PurchasingDocumentTypeName | P_ProjPurDocItems | PurchasingDocumentTypeName | Description | |
| PurchasingDocumentItemText | P_ProjPurDocItems | PurchasingDocumentItemText | Short Text | |
| DeliveryDate | P_ProjPurDocItems | DeliveryDate | Delivery Date | |
| BaseUnit | P_ProjPurDocItems | BaseUnit | Unit of Measure | |
| RequestedQuantity | P_ProjPurDocItems | RequestedQuantity | Requested Quantity | |
| Plant | P_ProjPurDocItems | Plant | Valuation Area | |
| PlantName | P_ProjPurDocItems | PlantName | Plant Name | |
| Supplier | P_ProjPurDocItems | Supplier | Supplier | |
| Material | P_ProjPurDocItems | Material | Vehicle Model | |
| MaterialGroup | P_ProjPurDocItems | MaterialGroup | Product Group | |
| PurchasingDocumentCategory | P_ProjPurDocItems | PurchasingDocumentCategory | Doc. Category | |
| NetworkActivityObject | _NetworkActivity | NetworkActivityObject | ||
| NtwkActyObjBsdAuthznIsActv | _NetworkActivity | ObjBasedAuthorizationIsActive | ||
| _Supplier | _Supplier | |||
| _UnitOfMeasure | _UnitOfMeasure |
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_ProjPurDocItems.
-- 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.
-- SQL view name: IPURDOCI
CREATE VIEW I_ProjPurDocItems AS
SELECT
cast( ProjPurDocItems.PurchasingDocument as ps_s4_doc preserving type ) AS PurchasingDocument,
cast( ProjPurDocItems.PurchasingDocumentItem as ps_s4_docitem preserving type ) AS PurchasingDocumentItem,
ProjPurDocItems.AccountAssignmentNumber AS AccountAssignmentNumber,
ProjPurDocItems.ProjectNetworkInternalID AS ProjectNetworkInternalID,
ProjPurDocItems.NetworkActivityInternalID AS NetworkActivityInternalID,
ProjPurDocItems.ProjectNetwork AS ProjectNetwork,
ProjPurDocItems.PurchasingDocumentType AS PurchasingDocumentType,
ProjPurDocItems.PurchasingDocumentTypeName AS PurchasingDocumentTypeName,
ProjPurDocItems.PurchasingDocumentItemText AS PurchasingDocumentItemText,
ProjPurDocItems.DeliveryDate AS DeliveryDate,
ProjPurDocItems.BaseUnit AS BaseUnit,
ProjPurDocItems.RequestedQuantity AS RequestedQuantity,
ProjPurDocItems.Plant AS Plant,
ProjPurDocItems.PlantName AS PlantName,
ProjPurDocItems.Supplier AS Supplier,
ProjPurDocItems.Material AS Material,
ProjPurDocItems.MaterialGroup AS MaterialGroup,
ProjPurDocItems.PurchasingDocumentCategory AS PurchasingDocumentCategory,
_NetworkActivity.NetworkActivityObject AS NetworkActivityObject,
_NetworkActivity.ObjBasedAuthorizationIsActive AS NtwkActyObjBsdAuthznIsActv
FROM P_ProjPurDocItems AS ProjPurDocItems
LEFT OUTER JOIN I_Supplier AS _Supplier ON _Supplier.Supplier = Supplier -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON _UnitOfMeasure.UnitOfMeasure = BaseUnit -- association [1..1]
LEFT OUTER JOIN I_ProjectNetwork AS _ProjectNetwork ON _ProjectNetwork.ProjectNetworkInternalID = ProjectNetworkInternalID OR _ProjectNetwork.ProjectNetwork = ProjectNetwork -- association [0..1]
LEFT OUTER JOIN I_NetworkActivityByInternalKey AS _NetworkActivity ON _NetworkActivity.ProjectNetworkInternalID = ProjectNetworkInternalID AND _NetworkActivity.NetworkActivityInternalID = NetworkActivityInternalID -- 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