P_SalesContractProcessFlow20
Contract process flow level 2-0
P_SalesContractProcessFlow20 is a Composite CDS View that provides data about "Contract process flow level 2-0" in SAP S/4HANA. It reads from 2 data sources (I_SDDocumentProcessFlow, P_SalesContractProcessFlow10) and exposes 20 fields with key fields SalesContract, PrecedingDocument, PrecedingDocumentItem, PrecedingDocumentCategory, SubsequentDocument. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SDDocumentProcessFlow | _ProcessFlow | inner |
| P_SalesContractProcessFlow10 | P_SalesContractProcessFlow10 | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_SalesContract | vbeln_von |
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 (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | PSLSCONPROCFL20 | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Contract process flow level 2-0 | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesContract | Level10 | SalesContract | Sales Document |
| KEY | PrecedingDocument | I_SDDocumentProcessFlow | PrecedingDocument | SD Document |
| KEY | PrecedingDocumentItem | I_SDDocumentProcessFlow | PrecedingDocumentItem | Item |
| KEY | PrecedingDocumentCategory | I_SDDocumentProcessFlow | PrecedingDocumentCategory | |
| KEY | SubsequentDocument | I_SDDocumentProcessFlow | SubsequentDocument | |
| KEY | SubsequentDocumentItem | I_SDDocumentProcessFlow | SubsequentDocumentItem | |
| KEY | SubsequentDocumentCategory | I_SDDocumentProcessFlow | SubsequentDocumentCategory | |
| QuantityInBaseUnit | I_SDDocumentProcessFlow | QuantityInBaseUnit | Quantity | |
| BaseUnit | I_SDDocumentProcessFlow | BaseUnit | Unit of Measure | |
| NetAmount | I_SDDocumentProcessFlow | NetAmount | Stated Amount | |
| StatisticsCurrency | I_SDDocumentProcessFlow | StatisticsCurrency | ||
| SDProcessStatusDesc | ||||
| FiscalYear | ||||
| CompanyCode | ||||
| MaterialDocumentYear | ||||
| SDDocumentCategoryName | ||||
| CreationDate | I_SDDocumentProcessFlow | CreationDate | Time Stamp | |
| CreationTime | I_SDDocumentProcessFlow | CreationTime | Time of Change | |
| _BaseUnit | _BaseUnit | |||
| _StatisticsCurrency | _StatisticsCurrency |
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_SalesContractProcessFlow20.
-- 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: PSLSCONPROCFL20
-- Parameters: P_SalesContract : vbeln_von
CREATE VIEW P_SalesContractProcessFlow20 AS
SELECT
Level10.SalesContract AS SalesContract,
_ProcessFlow.PrecedingDocument AS PrecedingDocument,
_ProcessFlow.PrecedingDocumentItem AS PrecedingDocumentItem,
_ProcessFlow.PrecedingDocumentCategory AS PrecedingDocumentCategory,
_ProcessFlow.SubsequentDocument AS SubsequentDocument,
_ProcessFlow.SubsequentDocumentItem AS SubsequentDocumentItem,
_ProcessFlow.SubsequentDocumentCategory AS SubsequentDocumentCategory,
_ProcessFlow.QuantityInBaseUnit AS QuantityInBaseUnit,
_ProcessFlow.BaseUnit AS BaseUnit,
_ProcessFlow.NetAmount AS NetAmount,
_ProcessFlow.StatisticsCurrency AS StatisticsCurrency,
cast( '' as status_bez ) AS SDProcessStatusDesc,
cast( '0000' as gjahr ) AS FiscalYear,
cast( '' as bukrs ) AS CompanyCode,
cast( '0000' as mjahr ) AS MaterialDocumentYear,
_SDDocumentCategory._Text[1:Language=$session.system_language].SDDocumentCategoryName AS SDDocumentCategoryName,
_ProcessFlow.CreationDate AS CreationDate,
_ProcessFlow.CreationTime AS CreationTime
FROM P_SalesContractProcessFlow10
INNER JOIN I_SDDocumentProcessFlow AS _ProcessFlow ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_Currency AS _StatisticsCurrency ON StatisticsCurrency = _StatisticsCurrency.Currency -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA