Mmim_MatDocFlowIssuingStatus

DDL: MMIM_MATDOCFLOWISSUINGSTATUS SQL: MMIMMDOCFLWSTAIP Type: view

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)

SourceAliasJoin Type
I_MaterialDocumentRecord I_MaterialDocumentRecord from

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
KEY MaterialDocument Material Document Item
KEY MaterialDocumentYear MaterialDocumentYear Material Document Year
KEY MaterialDocumentItem MaterialDocumentItem Material Document Item
Status
PlantNamePlant1endasPlant

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 Mmim_MatDocFlowIssuingStatus.
-- 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: MMIMMDOCFLWSTAIP

CREATE VIEW Mmim_MatDocFlowIssuingStatus AS
SELECT
  concat(MaterialDocument,cast(cast(MaterialDocumentItem as abap.int2) as char10 ) ) AS MaterialDocument,
  MaterialDocumentYear,
  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 AS PlantNamePlant1endasPlant
FROM I_MaterialDocumentRecord
;