R_MatlDocItmSerialNumberDraft

DDL: R_MATLDOCITMSERIALNUMBERDRAFT Type: view_entity BASIC Package: MM_IM_RAP_MATDOC

View for Matdoc Item Sernos table-draft

R_MatlDocItmSerialNumberDraft is a Basic CDS View that provides data about "View for Matdoc Item Sernos table-draft" in SAP S/4HANA. It reads from 1 data source (dmtdcitmsnrdraft) and exposes 14 fields with key fields SerialNumber, MaterialDocumentYear, MaterialDocument, MaterialDocumentItem, DraftUUID. Part of development package MM_IM_RAP_MATDOC.

Data Sources (1)

SourceAliasJoin Type
dmtdcitmsnrdraft dmtdcitmsnrdraft from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label View for Matdoc Item Sernos table-draft view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY SerialNumber serialnumber Serial Number
KEY MaterialDocumentYear materialdocumentyear Material Document Year
KEY MaterialDocument materialdocument Material Doc.
KEY MaterialDocumentItem materialdocumentitem Material Document Item
KEY DraftUUID draftuuid UUID
ParentDraftUUID parentdraftuuid NodeID
MaterialDocumentDraftUUID materialdocumentdraftuuid Draft Document ID
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code
HasActiveEntity hasactiveentity TRUE
DraftFieldChanges draftfieldchanges Field Changes
_MaterialDocumentItem _MaterialDocumentItem

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 R_MatlDocItmSerialNumberDraft.
-- 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 R_MatlDocItmSerialNumberDraft AS
SELECT
  SerialNumber,
  MaterialDocumentYear,
  MaterialDocument,
  MaterialDocumentItem,
  DraftUUID,
  ParentDraftUUID,
  MaterialDocumentDraftUUID,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM dmtdcitmsnrdraft
;