I_RFM_SlsContrDocFlowWthSign
Sale Contract signed Qty
I_RFM_SlsContrDocFlowWthSign is a Composite CDS View that provides data about "Sale Contract signed Qty" in SAP S/4HANA. It reads from 1 data source (I_SDDocumentMultiLevelProcFlow) and exposes 10 fields with key fields DocRelationshipUUID, SalesDocument, SalesDocumentItem. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SDDocumentMultiLevelProcFlow | docflow | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SalesDocument | _SalesDocument | $projection.SalesDocument = _SalesDocument.SalesDocument |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISCDFWS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Sale Contract signed Qty | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DocRelationshipUUID | I_SDDocumentMultiLevelProcFlow | DocRelationshipUUID | |
| KEY | SalesDocument | I_SDDocumentMultiLevelProcFlow | PrecedingDocument | |
| KEY | SalesDocumentItem | I_SDDocumentMultiLevelProcFlow | PrecedingDocumentItem | |
| SDDocumentCategory | I_SDDocumentMultiLevelProcFlow | PrecedingDocumentCategory | ||
| SDFulfillmentCalculationRule | I_SDDocumentMultiLevelProcFlow | SDFulfillmentCalculationRule | ||
| QuantityInBaseUnit | I_SDDocumentMultiLevelProcFlow | QuantityInBaseUnit | ||
| quan153asQuantityInBaseUnitWithSign | ||||
| BaseUnit | I_SDDocumentMultiLevelProcFlow | BaseUnit | ||
| _SalesDocument | _SalesDocument | |||
| _BaseUnit | _BaseUnit |
@AbapCatalog.sqlViewName: 'ISCDFWS'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Sale Contract signed Qty'
@VDM.viewType: #COMPOSITE
@ObjectModel: {
usageType: {
dataClass: #MIXED,
serviceQuality: #D,
sizeCategory: #XL
}
}
@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_RFM_SlsContrDocFlowWthSign
as select from I_SDDocumentMultiLevelProcFlow as docflow
association [1..1] to I_SalesDocument as _SalesDocument on $projection.SalesDocument = _SalesDocument.SalesDocument
{
key docflow.DocRelationshipUUID as DocRelationshipUUID,
key docflow.PrecedingDocument as SalesDocument,
key docflow.PrecedingDocumentItem as SalesDocumentItem,
docflow.PrecedingDocumentCategory as SDDocumentCategory,
docflow.SDFulfillmentCalculationRule,
docflow.QuantityInBaseUnit,
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
cast ((
case docflow.SDFulfillmentCalculationRule
when '-' then ( QuantityInBaseUnit * -1 )
else ( QuantityInBaseUnit )
end
) as abap.quan(15,3) ) as QuantityInBaseUnitWithSign,
docflow.BaseUnit as BaseUnit,
_SalesDocument,
_BaseUnit
}
where
docflow.PrecedingDocumentItem is not initial
and docflow.PrecedingDocumentCategory = 'G'
and(
docflow.SDFulfillmentCalculationRule = '-'
or docflow.SDFulfillmentCalculationRule = '+'
)
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SDDOCUMENTMULTILEVELPROCFLOW"
],
"ASSOCIATED":
[
"I_SALESDOCUMENT",
"I_UNITOFMEASURE"
],
"BASE":
[
"I_SDDOCUMENTMULTILEVELPROCFLOW"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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