P_SlsOrdItmOrdReltdBillgDue2

DDL: P_SLSORDITMORDRELTDBILLGDUE2 SQL: PSODUEDATEREUS27 Type: view COMPOSITE

P_SlsOrdItmOrdReltdBillgDue2 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentItemBasic) and exposes 26 fields with key fields SalesDocument, SalesDocumentItem.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocumentItemBasic SOI from

Annotations (8)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PSODUEDATEREUS27 view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument I_SalesDocumentItemBasic SalesDocument SD Document
KEY SalesDocumentItem I_SalesDocumentItemBasic SalesDocumentItem Sales Document Item
SalesOrganization I_SalesDocumentItemBasic SalesOrganization Sales Organization
DistributionChannel I_SalesDocumentItemBasic DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision I_SalesDocumentItemBasic OrganizationDivision Org. Division
SalesDocumentType I_SalesDocumentItemBasic SalesDocumentType Sales Doc. Type
RequestedDeliveryDate I_SalesDocumentItemBasic RequestedDeliveryDate Requested Delivery Date
SalesDocumentDate I_SalesDocumentItemBasic SalesDocumentDate Document Date
SalesGroup I_SalesDocumentItemBasic SalesGroup Sales Group
SalesOffice I_SalesDocumentItemBasic SalesOffice Sales Office
SoldToParty I_SalesDocumentItemBasic SoldToParty Sold-to Party
PurchaseOrderByCustomer
DueDate
BillingDocumentDateasDueDate
TotalDeliveryStatus I_SalesDocumentItemBasic TotalDeliveryStatus
ItemBillingBlockReason I_SalesDocumentItemBasic ItemBillingBlockReason Billing Block
BillingBlockStatus I_SalesDocumentItemBasic BillingBlockStatus
ItemIsBillingRelevant I_SalesDocumentItemBasic ItemIsBillingRelevant
DeliveryConfirmationStatus
SDDocumentRejectionStatus I_SalesDocumentItemBasic SDDocumentRejectionStatus
SalesDocumentItemCategory I_SalesDocumentItemBasic SalesDocumentItemCategory Item Category
OverallOrdReltdBillgStatus
OrderRelatedBillingStatus I_SalesDocumentItemBasic OrderRelatedBillingStatus
ItemGeneralIncompletionStatus
ItemBillingIncompletionStatus
PricingIncompletionStatus

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_SlsOrdItmOrdReltdBillgDue2.
-- 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: PSODUEDATEREUS27

CREATE VIEW P_SlsOrdItmOrdReltdBillgDue2 AS
SELECT
  SOI.SalesDocument AS SalesDocument,
  SOI.SalesDocumentItem AS SalesDocumentItem,
  SOI.SalesOrganization AS SalesOrganization,
  SOI.DistributionChannel AS DistributionChannel,
  SOI.OrganizationDivision AS OrganizationDivision,
  SOI.SalesDocumentType AS SalesDocumentType,
  SOI.RequestedDeliveryDate AS RequestedDeliveryDate,
  SOI.SalesDocumentDate AS SalesDocumentDate,
  SOI.SalesGroup AS SalesGroup,
  SOI.SalesOffice AS SalesOffice,
  SOI.SoldToParty AS SoldToParty,
  SOI.TotalDeliveryStatus AS TotalDeliveryStatus,
  SOI.ItemBillingBlockReason AS ItemBillingBlockReason,
  SOI.BillingBlockStatus AS BillingBlockStatus,
  SOI.ItemIsBillingRelevant AS ItemIsBillingRelevant,
  SOI.SDDocumentRejectionStatus AS SDDocumentRejectionStatus,
  SOI.SalesDocumentItemCategory AS SalesDocumentItemCategory,
  SOI.OrderRelatedBillingStatus AS OrderRelatedBillingStatus
FROM I_SalesDocumentItemBasic AS SOI
;