Mmim_MatDocFlowIssuingStatus
Status Issuing
Mmim_MatDocFlowIssuingStatus is a CDS View that provides data about "Status Issuing" in SAP S/4HANA. It reads from 1 data source (I_MaterialDocumentRecord) and exposes 5 fields with key fields MaterialDocument, MaterialDocumentYear, MaterialDocumentItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialDocumentRecord | I_MaterialDocumentRecord | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | MMIMMDOCFLWSTAIP | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Status Issuing | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| DataAging.noAgingRestriction | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialDocument | |||
| KEY | MaterialDocumentYear | MaterialDocumentYear | ||
| KEY | MaterialDocumentItem | MaterialDocumentItem | ||
| Status | ||||
| PlantNamePlant1endasPlant |
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.sqlViewName: 'MMIMMDOCFLWSTAIP'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@EndUserText.label: 'Status Issuing'
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass:#MIXED
@ClientHandling.algorithm: #SESSION_VARIABLE
@DataAging.noAgingRestriction:true
define view Mmim_MatDocFlowIssuingStatus
as select from I_MaterialDocumentRecord
{
// key concat(MaterialDocument,MaterialDocumentItem) as MaterialDocument,
key concat(MaterialDocument,cast(cast(MaterialDocumentItem as abap.int2) as char10 ) ) as MaterialDocument,
// key concat(concat(MaterialDocument, '/'),cast(cast(MaterialDocumentItem as abap.int2) as char10 ) ) as MaterialDocument,
// key concat_with_space(MaterialDocument,cast( ( cast(MaterialDocumentItem as abap.int2) ) as char9 ), 1) as MaterialDocument,
key MaterialDocumentYear,
key MaterialDocumentItem,
cast('01' as char4) as Status,
case when DebitCreditCode = 'S'
then
concat_with_space(_IssuingOrReceivingPlant.PlantName, IssuingOrReceivingPlant, 1)
else
concat_with_space(_Plant.PlantName, Plant, 1)
end as Plant,
case when DebitCreditCode = 'S'
then
concat_with_space(_IssuingOrReceivingStorageLoc.StorageLocationName, IssuingOrReceivingStorageLoc, 1)
// IssuingOrReceivingStorageLoc
else
concat_with_space(_StorageLocation.StorageLocationName, StorageLocation, 1)
// StorageLocation
end as StorageLocation,
case when DebitCreditCode = 'S'
then
IssuingOrReceivingStockType
else
InventoryStockType
end as StockType
}
where
IsAutomaticallyCreated = ''
and MaterialDocumentRecordType = 'MDOC'
and IssuingOrReceivingStockType <> ''
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