R_PurchaseOrderInvoicingPlanTP

DDL: R_PURCHASEORDERINVOICINGPLANTP Type: view_entity TRANSACTIONAL

Purchase Order Invoicing Plan

R_PurchaseOrderInvoicingPlanTP is a Transactional CDS View that provides data about "Purchase Order Invoicing Plan" in SAP S/4HANA. It reads from 1 data source (R_PurchaseOrderInvoicingPlan) and exposes 14 fields with key fields PurchaseOrder, PurchaseOrderItem, InvoicingPlan. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_PurchaseOrderInvoicingPlan R_PurchaseOrderInvoicingPlan from

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_PurchaseOrderTP _PurchaseOrder $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder
[1..*] R_POInvoicingPlanItemTP _POInvoicingPlanItem

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Purchase Order Invoicing Plan view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
KEY InvoicingPlan InvoicingPlan Bill. Plan No.
InvoicingPlanType InvoicingPlanType
InvoicingPlanStartDate InvoicingPlanStartDate
InvoicingPlanEndDate InvoicingPlanEndDate
InvoicingPlanNextInvcDateRule InvoicingPlanNextInvcDateRule
Plant Plant Valuation Area
PurchaseOrderType PurchaseOrderType PO Type
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingOrganization PurchasingOrganization Purchasing Organization
_POInvoicingPlanItem _POInvoicingPlanItem
_PurchaseOrderItem _PurchaseOrderItem
_PurchaseOrder _PurchaseOrder

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 R_PurchaseOrderInvoicingPlanTP.
-- 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 R_PurchaseOrderInvoicingPlanTP AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  InvoicingPlan,
  InvoicingPlanType,
  InvoicingPlanStartDate,
  InvoicingPlanEndDate,
  InvoicingPlanNextInvcDateRule,
  Plant,
  PurchaseOrderType,
  PurchasingGroup,
  PurchasingOrganization
FROM R_PurchaseOrderInvoicingPlan
LEFT OUTER JOIN R_PurchaseOrderTP AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder  -- association [1..1]
LEFT OUTER JOIN R_POInvoicingPlanItemTP AS _POInvoicingPlanItem ON /* condition not available in parsed metadata */  -- association [1..*]
;