A_SalesOrderPrecdgProcFlow

DDL: A_SALESORDERPRECDGPROCFLOW Type: view_entity COMPOSITE Package: ODATA_SD_SALESORDER

Header Preceding Process Flow

A_SalesOrderPrecdgProcFlow is a Composite CDS View that provides data about "Header Preceding Process Flow" in SAP S/4HANA. It reads from 1 data source (I_SalesOrderPrecdgProcFlow) and exposes 14 fields with key fields SalesOrder, DocRelationshipUUID. It has 1 association to related views. Part of development package ODATA_SD_SALESORDER.

Data Sources (1)

SourceAliasJoin Type
I_SalesOrderPrecdgProcFlow PrecedingProcFlow from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_SalesOrder _SalesOrder _SalesOrder.SalesOrder = $projection.SalesOrder

Annotations (8)

NameValueLevelField
EndUserText.label Header Preceding Process Flow view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY SalesOrder I_SalesOrderPrecdgProcFlow SalesOrder SD Document
KEY DocRelationshipUUID I_SalesOrderPrecdgProcFlow DocRelationshipUUID
PrecedingDocument I_SalesOrderPrecdgProcFlow PrecedingDocument SD Document
PrecedingDocumentCategory I_SalesOrderPrecdgProcFlow PrecedingDocumentCategory
ProcessFlowLevel I_SalesOrderPrecdgProcFlow ProcessFlowLevel
OverallSDProcessStatus
CreationDate I_SalesOrderPrecdgProcFlow CreationDate Time Stamp
CreationTime I_SalesOrderPrecdgProcFlow CreationTime Time of Change
LastChangeDate I_SalesOrderPrecdgProcFlow LastChangeDate Time Stamp
SalesOrderType _SalesOrder SalesOrderType Sales Order Type
SalesOrganization _SalesOrder SalesOrganization Sales Organization
DistributionChannel _SalesOrder DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision _SalesOrder OrganizationDivision Org. Division
_SalesOrder _SalesOrder

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 A_SalesOrderPrecdgProcFlow.
-- 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 A_SalesOrderPrecdgProcFlow AS
SELECT
  PrecedingProcFlow.SalesOrder AS SalesOrder,
  PrecedingProcFlow.DocRelationshipUUID AS DocRelationshipUUID,
  PrecedingProcFlow.PrecedingDocument AS PrecedingDocument,
  PrecedingProcFlow.PrecedingDocumentCategory AS PrecedingDocumentCategory,
  PrecedingProcFlow.ProcessFlowLevel AS ProcessFlowLevel,
  cast('' as gbstk ) AS OverallSDProcessStatus,
  PrecedingProcFlow.CreationDate AS CreationDate,
  PrecedingProcFlow.CreationTime AS CreationTime,
  PrecedingProcFlow.LastChangeDate AS LastChangeDate,
  _SalesOrder.SalesOrderType AS SalesOrderType,
  _SalesOrder.SalesOrganization AS SalesOrganization,
  _SalesOrder.DistributionChannel AS DistributionChannel,
  _SalesOrder.OrganizationDivision AS OrganizationDivision
FROM I_SalesOrderPrecdgProcFlow AS PrecedingProcFlow
LEFT OUTER JOIN A_SalesOrder AS _SalesOrder ON _SalesOrder.SalesOrder = SalesOrder  -- association [1..1]
;