P_PURORDSCHDLNWITHACCTASSMT
Schedule Line of PO without Account Asmt
P_PURORDSCHDLNWITHACCTASSMT is a Consumption CDS View that provides data about "Schedule Line of PO without Account Asmt" in SAP S/4HANA. It reads from 1 data source (I_PurOrdScheduleLineEnhanced) and exposes 41 fields with key fields PurchaseOrder, PurchaseOrderItem. Part of development package ODATA_MM_ANALYTICS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurOrdScheduleLineEnhanced | I_PurOrdScheduleLineEnhanced | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_StartDate | bedat | |
| P_EndDate | bedat |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPOWITHACCASSMT | view | |
| EndUserText.label | Schedule Line of PO without Account Asmt | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | PurchaseOrder | Purchasing Document | |
| KEY | PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | |
| PurchaseRequisition | PurchaseRequisition | Requisition | ||
| PurchaseRequisitionItem | PurchaseRequisitionItem | Requisn. item | ||
| Supplier | Supplier | Supplier | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| PurgDocHdrCompanyCode | PurgDocHdrCompanyCode | Company Code | ||
| PurchaseOrderType | PurchaseOrderType | PO Type | ||
| IsCompletelyDelivered | IsCompletelyDelivered | Is completely delivered | ||
| PurchaseOrderDate | PurchaseOrderDate | PO Date | ||
| CreatedByUser | CreatedByUser | User Name | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| Material | Material | Vehicle Model | ||
| Plant | Plant | Valuation Area | ||
| PurchaseOrderItemCategory | PurchaseOrderItemCategory | Item Category | ||
| PurchaseOrderCategory | PurchaseOrderCategory | Doc. Category | ||
| PurchaseContract | PurchaseContract | Purchasing Doc. | ||
| PurchaseContractItem | PurchaseContractItem | Item | ||
| ProductType | ProductTypeCode | Product Type Group | ||
| ServicePerformer | ServicePerformer | Service Performer | ||
| MultipleAcctAssgmtDistribution | MultipleAcctAssgmtDistribution | Distribution | ||
| AccountAssignmentCategory | AccountAssignmentCategory | Acct Assgmt Cat | ||
| OrderQuantity | OrderQuantity | Quantity | ||
| NetPriceQuantity | NetPriceQuantity | Price Unit | ||
| NetAmount | Stated Amount | |||
| NetPriceAmount | Net Price | |||
| PurchasingDocumentDeletionCode | PurchasingDocumentDeletionCode | Del. Indicator | ||
| ReleaseIsNotCompleted | ReleaseIsNotCompleted | Subj.to Release | ||
| PurchasingCompletenessStatus | PurchasingCompletenessStatus | Incomplete | ||
| PurchaseOrderQuantityUnit | PurchaseOrderQuantityUnit | Order Unit | ||
| AnalyticalReportingCurrency | AnalyticalReportingCurrency | Reporting Currency 1 | ||
| AnalyticalReportingCurrency2 | AnalyticalReportingCurrency2 | Reporting Currency 2 | ||
| PurchasingDocumentCategory | PurchaseOrderCategory | Doc. Category | ||
| PurchasingDocumentType | PurchaseOrderType | PO Type | ||
| PurchasingDocumentItemCategory | PurchaseOrderItemCategory | Item Category | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| DelivDateCategory | DelivDateCategory | Delivery Date | ||
| IsReturnsItem | IsReturnsItem | Returns Item |
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 P_PURORDSCHDLNWITHACCTASSMT.
-- 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: PPOWITHACCASSMT
-- Parameters: P_StartDate : bedat, P_EndDate : bedat
CREATE VIEW P_PURORDSCHDLNWITHACCTASSMT AS
SELECT
PurchaseOrder,
PurchaseOrderItem,
PurchaseRequisition,
PurchaseRequisitionItem,
Supplier,
PurchasingOrganization,
PurchasingGroup,
CompanyCode,
PurgDocHdrCompanyCode,
PurchaseOrderType,
IsCompletelyDelivered,
PurchaseOrderDate,
CreatedByUser,
DocumentCurrency,
MaterialGroup,
Material,
Plant,
PurchaseOrderItemCategory,
PurchaseOrderCategory,
PurchaseContract,
PurchaseContractItem,
ProductTypeCode AS ProductType,
ServicePerformer,
MultipleAcctAssgmtDistribution,
AccountAssignmentCategory,
OrderQuantity,
NetPriceQuantity,
cast(NetAmount as abap.curr( 21, 5 ) ) AS NetAmount,
cast(NetPriceAmount as abap.curr( 21, 5 ) ) AS NetPriceAmount,
PurchasingDocumentDeletionCode,
ReleaseIsNotCompleted,
PurchasingCompletenessStatus,
PurchaseOrderQuantityUnit,
AnalyticalReportingCurrency,
AnalyticalReportingCurrency2,
PurchaseOrderCategory AS PurchasingDocumentCategory,
PurchaseOrderType AS PurchasingDocumentType,
PurchaseOrderItemCategory AS PurchasingDocumentItemCategory,
CompanyCodeCurrency,
DelivDateCategory,
IsReturnsItem
FROM I_PurOrdScheduleLineEnhanced
;
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