R_ChgRecdRefDocDraft

DDL: R_CHGRECDREFDOCDRAFT Type: view_entity BASIC Package: VDM_PLMB_CR_RAP

Query View for Document Item Draft

R_ChgRecdRefDocDraft is a Basic CDS View that provides data about "Query View for Document Item Draft" in SAP S/4HANA. It reads from 1 data source (plmcrdoc_d) and exposes 37 fields with key field ChangeRecordReferenceUUID. Part of development package VDM_PLMB_CR_RAP.

Data Sources (1)

SourceAliasJoin Type
plmcrdoc_d plmcrdoc_d from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Query View for Document Item Draft view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (37)

KeyFieldSource TableSource FieldDescription
KEY ChangeRecordReferenceUUID changerecordreferenceuuid UUID
ChangeRecordUUID changerecorduuid NodeID
ChangeRecordReferenceType changerecordreferencetype Object Type
ChangeRecordReferenceSubtype changerecordreferencesubtype Subtype
ChangeRecordReference changerecordreference Ref. Object ID
ParentChangeRecordRefUUID parentchangerecordrefuuid Node ID
IsMainReference ismainreference Main Reference
CreatedByUser createdbyuser User Name
CreationDateTime creationdatetime Timestamp
LastChangedByUser lastchangedbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
ChangeRecordItemRelevance changerecorditemrelevance Relevance
ChangeRecordVirtualRefInd changerecordvirtualrefind Virtual Reference
ChangeRecordItemProcgStatus changerecorditemprocgstatus Processing Status
ChgRecdNextItemProcgStatus chgrecdnextitemprocgstatus Processing Status
ChgRecdNmbrChgSts chgrecdnmbrchgsts Status
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
DocumentType documenttype Order Type
DocumentInfoRecord documentinforecord Document
DocumentVersion documentversion Docu. Version
DocumentPart documentpart Document Part
InternalDocumentStatus internaldocumentstatus Status
ExternalDocumentStatus externaldocumentstatus Status
DocumentStatusName documentstatusname Status Text
ChgRecRefInternalKey1 chgrecrefinternalkey1 Key
ChgRecRefInternalKey2 chgrecrefinternalkey2 Key
ChgRecRefInternalKey3 chgrecrefinternalkey3 Key
ChgRecRefInternalKey4 chgrecrefinternalkey4 Key
Partner partner With Partner
ChangeRecordType changerecordtype Record Type
ChangeRecordLifecycleStatus changerecordlifecyclestatus Issue Lifecycle
ChangeRecordItemType changerecorditemtype

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_ChgRecdRefDocDraft.
-- 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_ChgRecdRefDocDraft AS
SELECT
  ChangeRecordReferenceUUID,
  ChangeRecordUUID,
  ChangeRecordReferenceType,
  ChangeRecordReferenceSubtype,
  ChangeRecordReference,
  ParentChangeRecordRefUUID,
  IsMainReference,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime,
  ChangeRecordItemRelevance,
  ChangeRecordVirtualRefInd,
  ChangeRecordItemProcgStatus,
  ChgRecdNextItemProcgStatus,
  ChgRecdNmbrChgSts,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges,
  DocumentType,
  DocumentInfoRecord,
  DocumentVersion,
  DocumentPart,
  InternalDocumentStatus,
  ExternalDocumentStatus,
  DocumentStatusName,
  ChgRecRefInternalKey1,
  ChgRecRefInternalKey2,
  ChgRecRefInternalKey3,
  ChgRecRefInternalKey4,
  Partner,
  ChangeRecordType,
  ChangeRecordLifecycleStatus,
  ChangeRecordItemType
FROM plmcrdoc_d
;