C_SupDmndOvwSupAssgmtQuery
Consumption view for Assignments
C_SupDmndOvwSupAssgmtQuery is a Consumption CDS View that provides data about "Consumption view for Assignments" in SAP S/4HANA. It reads from 7 data sources and exposes 51 fields with key fields Plant, Material, StorageLocation, Batch, RequirementType.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCode | CompanyCode | left_outer |
| I_DistributionChannelText | DistChl | left_outer |
| I_MaterialText | MaterialText | left_outer |
| I_MaterialGroupText | MatGrpText | left_outer |
| I_SupDmndOvwSupAssgmtCube | Ovw | from |
| I_Plant | Plant | left_outer |
| I_SalesOrganizationText | SalesOrgText | left_outer |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSDOOVWQUERY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Consumption view for Assignments | view | |
| AccessControl.authorizationCheck | #CHECK | view |
Fields (51)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Plant | I_SupDmndOvwSupAssgmtCube | Plant | |
| KEY | Material | I_SupDmndOvwSupAssgmtCube | Material | |
| KEY | StorageLocation | StorageLocation | ||
| KEY | Batch | Batch | Batch | |
| KEY | RequirementType | RequirementType | Requirement Type | |
| KEY | RequirementDocumentNumber | RequirementDocumentNumber | Requirement Document Number | |
| KEY | RequirementDocumentItem | RequirementDocumentItem | Requirement Document Item | |
| KEY | AssignedSupplyType | AssignedSupplyType | Supply Source | |
| KEY | SupplyNumber | SupplyNumber | Supply Document No. | |
| KEY | SupplyItem | SupplyItem | Supply Document Item | |
| KEY | SupplyScheduleLine | SupplyScheduleLine | Supply Document Schedule Line | |
| KEY | RequestedDate | RequestedDate | Requested Date | |
| KEY | ProductAvailabilityDate | ProductAvailabilityDate | Material Availability Date | |
| RequestedDeliveryDate | RequestedDeliveryDate | Requested Delivery Date | ||
| AssignedDemandTypeName | AssignedDemandTypeName | Requirement Type | ||
| AssignedSupplyTypeName | AssignedSupplyTypeName | Supply Source | ||
| TimeHorizonInDays | TimeHorizonInDays | Mat. Avail Date - Supply Delivery Date | ||
| AssignedQuantityInBaseUnit | AssignedQuantityInBaseUnit | Total Assigned Quantity | ||
| NormalAssignedQuantityInBsUnt | NormalAssignedQuantityInBsUnt | Normal Assigned Quantity | ||
| FixedQuantityInBaseUnit | FixedQuantityInBaseUnit | Ready for Delivery Quantity | ||
| OnHoldQuantityInBaseUnit | OnHoldQuantityInBaseUnit | On Hold Quantity | ||
| ReadyForReleaseQtyInBaseUnit | ReadyForReleaseQtyInBaseUnit | Open for Release Check Quantity | ||
| InboundAssignedQuantityInBsUnt | InboundAssignedQuantityInBsUnt | IFO Assigned Quantity | ||
| PreviewFixedAssignedQtyInBsUnt | PreviewFixedAssignedQtyInBsUnt | Ready for Delivery (Preview) | ||
| PreviewReservedAssgdQtyInBsUnt | PreviewReservedAssgdQtyInBsUnt | Reserved (Preview) | ||
| PreviewOnHoldAssgdQtyInBsUnt | PreviewOnHoldAssgdQtyInBsUnt | On Hold (Preview) | ||
| PreviewRdyForReleaseQtyInBsUnt | PreviewRdyForReleaseQtyInBsUnt | Open for Release Check (Preview) | ||
| PreviewAssignedQuantityInBsUnt | PreviewAssignedQuantityInBsUnt | Preview Assigned Quantity | ||
| SupplyDeliveryDate | SupplyDeliveryDate | |||
| RequirementSegment | RequirementSegment | |||
| StockSegment | StockSegment | |||
| OrderType | OrderType | |||
| SalesOrganization | I_SupDmndOvwSupAssgmtCube | SalesOrganization | ||
| DistributionChannel | I_SupDmndOvwSupAssgmtCube | DistributionChannel | ||
| MaterialGroup | I_SupDmndOvwSupAssgmtCube | MaterialGroup | ||
| ProductSeasonYear | ProductSeasonYear | |||
| ProductSeason | ProductSeason | |||
| ProductCollection | ProductCollection | |||
| ProductTheme | ProductTheme | |||
| ShippingGroupRule | ShippingGroupRule | |||
| ShippingGroupNumber | ShippingGroupNumber | |||
| CustomerGroup | CustomerGroup | |||
| SalesDistrict | SalesDistrict | |||
| CrossPlantConfigurableProduct | CrossPlantConfigurableProduct | |||
| CompanyCode | I_SupDmndOvwSupAssgmtCube | CompanyCode | Company Code | |
| SalesOrganizationName | I_SalesOrganizationText | SalesOrganizationName | ||
| MaterialName | I_MaterialText | MaterialName | ||
| MaterialGroupName | I_MaterialGroupText | MaterialGroupName | ||
| DistributionChannelName | I_DistributionChannelText | DistributionChannelName | ||
| PlantName | I_Plant | PlantName | ||
| CompanyCodeName | I_CompanyCode | CompanyCodeName |
@AbapCatalog: {
sqlViewName: 'CSDOOVWQUERY',
compiler.compareFilter: true
}
@ObjectModel:{
usageType.serviceQuality: #X,
usageType.sizeCategory: #XXL
}
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.type: #INHERITED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
//@Analytics.query: true
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Consumption view for Assignments'
//@OData.publish: true
@AccessControl.authorizationCheck: #CHECK
define view C_SupDmndOvwSupAssgmtQuery
as select from I_SupDmndOvwSupAssgmtCube as Ovw
left outer join I_SalesOrganizationText as SalesOrgText on Ovw.SalesOrganization = SalesOrgText.SalesOrganization
and SalesOrgText.Language = $session.system_language
left outer join I_MaterialText as MaterialText on Ovw.Material = MaterialText.Material
and MaterialText.Language = $session.system_language
left outer join I_MaterialGroupText as MatGrpText on Ovw.MaterialGroup = MatGrpText.MaterialGroup
and MatGrpText.Language = $session.system_language
and MaterialText.Language = $session.system_language
left outer join I_DistributionChannelText as DistChl on Ovw.DistributionChannel = DistChl.DistributionChannel
and DistChl.Language = $session.system_language
// left outer join I_DivisionText as Div on Ovw.Division = Div.Division
// and Div.Language = $session.system_language
// left outer join I_SalesDistrictText as SalesDist on Ovw.Division = SalesDist.SalesDistrict
// and SalesDist.Language = $session.system_language
left outer join I_Plant as Plant on Ovw.Plant = Plant.Plant
left outer join I_CompanyCode as CompanyCode on Ovw.CompanyCode = CompanyCode.CompanyCode
{
key Ovw.Plant,
key Ovw.Material,
key StorageLocation,
@EndUserText.label: 'Batch'
key Batch,
@EndUserText.label: 'Requirement Type'
key RequirementType,
@EndUserText.label: 'Requirement Document Number'
key RequirementDocumentNumber,
@EndUserText.label: 'Requirement Document Item'
key RequirementDocumentItem,
@EndUserText.label: 'Supply Source'
key AssignedSupplyType,
@EndUserText.label: 'Supply Document No.'
key SupplyNumber,
@EndUserText.label: 'Supply Document Item'
key SupplyItem,
@EndUserText.label: 'Supply Document Schedule Line'
key SupplyScheduleLine,
@EndUserText.label: 'Requested Date'
key RequestedDate,
@EndUserText.label: 'Material Availability Date'
key ProductAvailabilityDate,
@EndUserText.label: 'Requested Delivery Date'
RequestedDeliveryDate,
@EndUserText.label: 'Requirement Type'
AssignedDemandTypeName,
@EndUserText.label: 'Supply Source'
AssignedSupplyTypeName,
@EndUserText.label: 'Mat. Avail Date - Supply Delivery Date'
TimeHorizonInDays,
@EndUserText.label: 'Total Assigned Quantity'
@DefaultAggregation: #SUM
AssignedQuantityInBaseUnit,
@EndUserText.label: 'Normal Assigned Quantity'
@DefaultAggregation: #SUM
NormalAssignedQuantityInBsUnt,
@EndUserText.label: 'Ready for Delivery Quantity'
@DefaultAggregation: #SUM
FixedQuantityInBaseUnit,
// @EndUserText.label: 'Reserved Quantity'
// @DefaultAggregation: #SUM
// SupAssgmtReservedQtyInBaseUnit,
@EndUserText.label: 'On Hold Quantity'
@DefaultAggregation: #SUM
OnHoldQuantityInBaseUnit,
@EndUserText.label: 'Open for Release Check Quantity'
@DefaultAggregation: #SUM
ReadyForReleaseQtyInBaseUnit,
@EndUserText.label: 'IFO Assigned Quantity'
@DefaultAggregation: #SUM
InboundAssignedQuantityInBsUnt,
@EndUserText.label: 'Ready for Delivery (Preview)'
@DefaultAggregation: #SUM
PreviewFixedAssignedQtyInBsUnt,
@EndUserText.label: 'Reserved (Preview)'
@DefaultAggregation: #SUM
PreviewReservedAssgdQtyInBsUnt,
@EndUserText.label: 'On Hold (Preview)'
@DefaultAggregation: #SUM
PreviewOnHoldAssgdQtyInBsUnt,
@EndUserText.label: 'Open for Release Check (Preview)'
@DefaultAggregation: #SUM
PreviewRdyForReleaseQtyInBsUnt,
@EndUserText.label: 'Preview Assigned Quantity'
@DefaultAggregation: #SUM
PreviewAssignedQuantityInBsUnt,
// BaseUnitOfMeasure,
SupplyDeliveryDate,
@Feature:'SW:RFM_SEGMTN_UI'
RequirementSegment,
@Feature:'SW:RFM_SEGMTN_UI'
StockSegment,
OrderType,
Ovw.SalesOrganization,
Ovw.DistributionChannel,
Ovw.MaterialGroup,
@Feature:'SW:RFM_SEASON_UI'
ProductSeasonYear,
@Feature:'SW:RFM_SEASON_UI'
ProductSeason,
@Feature:'SW:RFM_SEASON_UI'
ProductCollection,
@Feature:'SW:RFM_SEASON_UI'
ProductTheme,
ShippingGroupRule,
ShippingGroupNumber,
CustomerGroup,
SalesDistrict,
CrossPlantConfigurableProduct,
@EndUserText.label: 'Company Code'
Ovw.CompanyCode,
SalesOrgText.SalesOrganizationName,
MaterialText.MaterialName,
MatGrpText.MaterialGroupName,
DistChl.DistributionChannelName,
// Div.DivisionName,
// SalesDist.SalesDistrictName,
Plant.PlantName,
CompanyCode.CompanyCodeName
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODE",
"I_DISTRIBUTIONCHANNELTEXT",
"I_MATERIALGROUPTEXT",
"I_MATERIALTEXT",
"I_PLANT",
"I_SALESORGANIZATIONTEXT",
"I_SUPDMNDOVWSUPASSGMTCUBE"
],
"ASSOCIATED":
[],
"BASE":
[],
"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