R_DocumentInfoRecordRltnDraft

DDL: R_DOCUMENTINFORECORDRLTNDRAFT SQL: RDIRELD Type: view_entity BASIC Package: RAP_DMS

Document Info Record Object Link - Draft

R_DocumentInfoRecordRltnDraft is a Basic CDS View that provides data about "Document Info Record Object Link - Draft" in SAP S/4HANA. It reads from 1 data source (drad_d) and exposes 34 fields with key fields DocumentInfoRecordDocType, DocumentInfoRecordDocNumber, DocumentInfoRecordDocVersion, DocumentInfoRecordDocPart, LinkedSAPObject. Part of development package RAP_DMS.

Data Sources (1)

SourceAliasJoin Type
drad_d drad_d from

Annotations (7)

NameValueLevelField
EndUserText.label Document Info Record Object Link - Draft view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
AccessControl.authorizationCheck #MANDATORY view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY DocumentInfoRecordDocType documentinforecorddoctype Document Type
KEY DocumentInfoRecordDocNumber documentinforecorddocnumber Document
KEY DocumentInfoRecordDocVersion documentinforecorddocversion Doc. Version
KEY DocumentInfoRecordDocPart documentinforecorddocpart Document Part
KEY LinkedSAPObject linkedsapobject Object
KEY LinkedSAPObjectKey linkedsapobjectkey SAP Object Key
KEY DocObjectLinkCounter docobjectlinkcounter Obj.Ctr
KEY DraftUUID draftuuid UUID
DocInfoRecordDraftUUID docinforecorddraftuuid Draft Document ID
DocInfoRecdDocNumberForEdit docinforecddocnumberforedit Document
DocInfoRecdDocTypeForEdit docinforecddoctypeforedit Document Type
DocInfoRecdDocVersionForEdit docinforecddocversionforedit Doc. Version
DocInfoRecdDocPartForEdit docinforecddocpartforedit Document Part
DocInfoRecdLinkStatus docinforecdlinkstatus Link status
DocInfoRecdObjectLinkStatus docinforecdobjectlinkstatus Object link status
ObjectTypeDatabaseTable objecttypedatabasetable Table
DocInfoRecdAdditionalObjectKey docinforecdadditionalobjectkey Object Key
DocLinkDirectionIsActive doclinkdirectionisactive Active
IsDefaultDocument isdefaultdocument View indocator
DocInfoRecdIsMarkedForDeletion docinforecdismarkedfordeletion Deletion ind.
DocInfoRecdLongTextUUID UUID
IsDocInfoRecdCreatedFromCAD isdocinforecdcreatedfromcad CAD Indicator
DocInfoRecdConfignMgmtFixed docinforecdconfignmgmtfixed Fixed
IsArchived isarchived Archiving
CreationDateTime creationdatetime Timestamp
CreatedByUser createdbyuser User Name
ChangedDateTime changeddatetime Time Stamp
LastChangedByUser lastchangedbyuser User Name
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftFieldChanges draftfieldchanges Field Changes
HasActiveEntity hasactiveentity TRUE
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code

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_DocumentInfoRecordRltnDraft.
-- 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: RDIRELD

CREATE VIEW R_DocumentInfoRecordRltnDraft AS
SELECT
  DocumentInfoRecordDocType,
  DocumentInfoRecordDocNumber,
  DocumentInfoRecordDocVersion,
  DocumentInfoRecordDocPart,
  LinkedSAPObject,
  LinkedSAPObjectKey,
  DocObjectLinkCounter,
  DraftUUID,
  DocInfoRecordDraftUUID,
  DocInfoRecdDocNumberForEdit,
  DocInfoRecdDocTypeForEdit,
  DocInfoRecdDocVersionForEdit,
  DocInfoRecdDocPartForEdit,
  DocInfoRecdLinkStatus,
  DocInfoRecdObjectLinkStatus,
  ObjectTypeDatabaseTable,
  DocInfoRecdAdditionalObjectKey,
  DocLinkDirectionIsActive,
  IsDefaultDocument,
  DocInfoRecdIsMarkedForDeletion,
  cast ( docinforecdlongtextuuid as sysuuid_c preserving type ) AS DocInfoRecdLongTextUUID,
  IsDocInfoRecdCreatedFromCAD,
  DocInfoRecdConfignMgmtFixed,
  IsArchived,
  CreationDateTime,
  CreatedByUser,
  ChangedDateTime,
  LastChangedByUser,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftFieldChanges,
  HasActiveEntity,
  DraftEntityOperationCode
FROM drad_d
;