C_SubsqntSalesOrder

DDL: C_SUBSQNTSALESORDER SQL: CSUBSSLSORD Type: view CONSUMPTION

C_SubsqntSalesOrder is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_SDDocumentMultiLevelProcFlow, I_SalesOrder) and exposes 16 fields with key field DocRelationshipUUID.

Data Sources (2)

SourceAliasJoin Type
I_SDDocumentMultiLevelProcFlow _ProcessFlow inner
I_SalesOrder SalesOrder from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CSUBSSLSORD view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
Search.searchable true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY DocRelationshipUUID I_SDDocumentMultiLevelProcFlow DocRelationshipUUID SM Doc Rel UUID
SalesOrder I_SalesOrder SalesOrder SD Document
PrecedingDocument I_SDDocumentMultiLevelProcFlow PrecedingDocument SD Document
SalesOrderType I_SalesOrder SalesOrderType Sales Order Type
SalesOrderDate I_SalesOrder SalesOrderDate Document Date
OverallSDProcessStatus I_SalesOrder OverallSDProcessStatus
TotalNetAmount I_SalesOrder TotalNetAmount Total Net Amount
TransactionCurrency I_SalesOrder TransactionCurrency Transaction Currency
OrganizationDivision I_SalesOrder OrganizationDivision Org. Division
SalesOrganization I_SalesOrder SalesOrganization Sales Organization
DistributionChannel I_SalesOrder DistributionChannel RefDistCh-Cust/Mat.
_OverallSDProcessStatus _OverallSDProcessStatus
_SalesOrderType _SalesOrderType
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_OrganizationDivision _OrganizationDivision

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 C_SubsqntSalesOrder.
-- 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: CSUBSSLSORD

CREATE VIEW C_SubsqntSalesOrder AS
SELECT
  _ProcessFlow.DocRelationshipUUID AS DocRelationshipUUID,
  SalesOrder.SalesOrder AS SalesOrder,
  _ProcessFlow.PrecedingDocument AS PrecedingDocument,
  SalesOrder.SalesOrderType AS SalesOrderType,
  SalesOrder.SalesOrderDate AS SalesOrderDate,
  SalesOrder.OverallSDProcessStatus AS OverallSDProcessStatus,
  SalesOrder.TotalNetAmount AS TotalNetAmount,
  SalesOrder.TransactionCurrency AS TransactionCurrency,
  SalesOrder.OrganizationDivision AS OrganizationDivision,
  SalesOrder.SalesOrganization AS SalesOrganization,
  SalesOrder.DistributionChannel AS DistributionChannel
FROM I_SalesOrder AS SalesOrder
INNER JOIN I_SDDocumentMultiLevelProcFlow AS _ProcessFlow ON /* join condition not captured in parsed metadata */
;