I_SDDocumentProcessFlow
SD Document Process Flow
I_SDDocumentProcessFlow is a Basic CDS View (Dimension) that provides data about "SD Document Process Flow" in SAP S/4HANA. It reads from 1 data source (I_SDDocumentMultiLevelProcFlow) and exposes 29 fields with key field DocRelationshipUUID. It has 2 associations to related views. Part of development package VDM_SD_SLS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SDDocumentMultiLevelProcFlow | I_SDDocumentMultiLevelProcFlow | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_UnitOfMeasure | _BaseUnit | $projection.BaseUnit = _BaseUnit.UnitOfMeasure |
| [0..1] | I_Currency | _StatisticsCurrency | $projection.StatisticsCurrency = _StatisticsCurrency.Currency |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | DocRelationshipUUID | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | SD Document Process Flow | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AbapCatalog.sqlViewName | ISDDOCPROCFLOW | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| Metadata.allowExtensions | true | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DocRelationshipUUID | DocRelationshipUUID | ||
| PrecedingDocument | PrecedingDocument | |||
| PrecedingDocumentItem | PrecedingDocumentItem | |||
| PrecedingDocumentCategory | PrecedingDocumentCategory | |||
| SubsequentDocument | SubsequentDocument | |||
| SubsequentDocumentItem | SubsequentDocumentItem | |||
| SubsequentDocumentCategory | SubsequentDocumentCategory | |||
| ProcessFlowLevel | ProcessFlowLevel | |||
| CreationDate | CreationDate | |||
| CreationTime | CreationTime | |||
| LastChangeDate | LastChangeDate | |||
| QuantityInBaseUnit | QuantityInBaseUnit | |||
| RefQuantityInOrdQtyUnitAsFloat | RefQuantityInOrdQtyUnitAsFloat | |||
| RefQuantityInBaseUnitAsFloat | RefQuantityInBaseUnitAsFloat | |||
| BaseUnit | BaseUnit | |||
| OrderQuantityUnit | OrderQuantityUnit | |||
| SDFulfillmentCalculationRule | SDFulfillmentCalculationRule | |||
| NetAmount | NetAmount | |||
| StatisticsCurrency | StatisticsCurrency | |||
| TransferOrderInWrhsMgmtIsConfd | TransferOrderInWrhsMgmtIsConfd | |||
| WarehouseNumber | WarehouseNumber | |||
| MaterialDocumentYear | MaterialDocumentYear | |||
| GoodsMovementType | GoodsMovementType | |||
| BillingPlan | BillingPlan | |||
| BillingPlanItem | BillingPlanItem | |||
| _BaseUnit | _BaseUnit | |||
| _OrderQuantityUnit | _OrderQuantityUnit | |||
| _StatisticsCurrency | _StatisticsCurrency | |||
| _GoodsMovementType | _GoodsMovementType |
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
representativeKey: 'DocRelationshipUUID',
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #XL
},
supportedCapabilities: [ #ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE ],
modelingPattern: [ #ANALYTICAL_DIMENSION ]
}
@Metadata.ignorePropagatedAnnotations:true
@EndUserText.label: 'SD Document Process Flow'
@Analytics:{dataCategory:#DIMENSION}
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@AbapCatalog.sqlViewName: 'ISDDOCPROCFLOW'
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@Metadata.allowExtensions:true
// This view reads only documents which are directly related in terms of predecessor/successor
define view I_SDDocumentProcessFlow
as select from I_SDDocumentMultiLevelProcFlow
association [0..1] to I_UnitOfMeasure as _BaseUnit on $projection.BaseUnit = _BaseUnit.UnitOfMeasure
association [0..1] to I_Currency as _StatisticsCurrency on $projection.StatisticsCurrency = _StatisticsCurrency.Currency
{
//Key
key DocRelationshipUUID,
//Preceding
PrecedingDocument,
PrecedingDocumentItem,
PrecedingDocumentCategory,
//Subsequent
SubsequentDocument,
SubsequentDocumentItem,
SubsequentDocumentCategory,
//Process Flow Level
ProcessFlowLevel,
//Admin
@Semantics.systemDate.createdAt: true
CreationDate,
CreationTime,
@Semantics.systemDate.lastChangedAt: true
LastChangeDate,
//Quantity of subsequent document
@DefaultAggregation: #SUM
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
QuantityInBaseUnit,
@DefaultAggregation: #SUM
@Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
RefQuantityInOrdQtyUnitAsFloat,
@DefaultAggregation: #SUM
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
RefQuantityInBaseUnitAsFloat,
@Semantics.unitOfMeasure: true
@ObjectModel.foreignKey.association: '_BaseUnit'
BaseUnit,
@Semantics.unitOfMeasure: true
@ObjectModel.foreignKey.association: '_OrderQuantityUnit'
OrderQuantityUnit,
SDFulfillmentCalculationRule,
//Pricing of subsequent document
@DefaultAggregation: #SUM
@Semantics.amount.currencyCode: 'StatisticsCurrency'
NetAmount,
@Semantics.currencyCode: true
@ObjectModel.foreignKey.association: '_StatisticsCurrency'
StatisticsCurrency,
//Pick Pack Load
TransferOrderInWrhsMgmtIsConfd,
// Delivery related fields
WarehouseNumber,
MaterialDocumentYear,
@ObjectModel.foreignKey.association: '_GoodsMovementType'
GoodsMovementType,
// Billing Plan related fields
BillingPlan,
BillingPlanItem,
_BaseUnit,
_OrderQuantityUnit,
_StatisticsCurrency,
_GoodsMovementType
}
where
ProcessFlowLevel = '00'
or ProcessFlowLevel is null;
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA