P_SalesDocumentBusinessData

DDL: P_SALESDOCUMENTBUSINESSDATA SQL: PSDSLSDOCBIZDAT Type: view BASIC

P_SalesDocumentBusinessData is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (vbkd) and exposes 5 fields with key fields SlsDocBusinessData, SlsDocBusinessDataItem.

Data Sources (1)

SourceAliasJoin Type
vbkd vbkd from

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PSDSLSDOCBIZDAT view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.private true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY SlsDocBusinessData vbkd vbeln SD Sched. Agmt
KEY SlsDocBusinessDataItem vbkd posnr WBS Element
PurchaseOrderByCustomer vbkd bstkd PO Number
BillingDocumentDate vbkd fkdat Sett. Date
BillingPlan vbkd fplnr Invoicing plan

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_SalesDocumentBusinessData.
-- 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: PSDSLSDOCBIZDAT

CREATE VIEW P_SalesDocumentBusinessData AS
SELECT
  vbkd.vbeln AS SlsDocBusinessData,
  vbkd.posnr AS SlsDocBusinessDataItem,
  vbkd.bstkd AS PurchaseOrderByCustomer,
  vbkd.fkdat AS BillingDocumentDate,
  vbkd.fplnr AS BillingPlan
FROM vbkd
;