Mmim_MatDocFlowIssuingStatus

DDL: MMIM_MATDOCFLOWISSUINGSTATUS Type: view_entity Package: MBND_CLOUD_MATDOC

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 8 fields with key fields MaterialDocument, MaterialDocumentYear, MaterialDocumentItem. Part of development package MBND_CLOUD_MATDOC.

Data Sources (1)

SourceAliasJoin Type
I_MaterialDocumentRecord I_MaterialDocumentRecord from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK 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
DataAging.noAgingRestriction true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY MaterialDocument Material Document Item
KEY MaterialDocumentYear MaterialDocumentYear Material Document Year
KEY MaterialDocumentItem MaterialDocumentItem Material Document Item
Status
PlantNamePlant1endasPlantName
Plant Plant Valuation Area
IssuingOrReceivingPlant IssuingOrReceivingPlant Transfer Plant
GoodsMovementType GoodsMovementType Movement Type

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.

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(I_MaterialDocumentRecord._IssuingOrReceivingPlant.PlantName, IssuingOrReceivingPlant, 1) else concat_with_space(I_MaterialDocumentRecord._Plant.PlantName, Plant, 1) end as PlantName AS PlantNamePlant1endasPlantName,
  Plant,
  IssuingOrReceivingPlant,
  GoodsMovementType
FROM I_MaterialDocumentRecord
;