R_DocumentInfoRecObjLnkDraft

DDL: R_DOCUMENTINFORECOBJLNKDRAFT Type: view_entity BASIC

Document Info Record Object Link - Draft

R_DocumentInfoRecObjLnkDraft 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_draft_2) and exposes 30 fields with key fields DocumentInfoRecordDocType, DocumentInfoRecordDocNumber, DocumentInfoRecordDocVersion, DocumentInfoRecordDocPart, LinkedSAPObject.

Data Sources (1)

SourceAliasJoin Type
drad_draft_2 drad_draft_2 from

Annotations (7)

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

Fields (30)

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
ParentDraftUUID parentdraftuuid NodeID
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_DocumentInfoRecObjLnkDraft.
-- 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_DocumentInfoRecObjLnkDraft AS
SELECT
  DocumentInfoRecordDocType,
  DocumentInfoRecordDocNumber,
  DocumentInfoRecordDocVersion,
  DocumentInfoRecordDocPart,
  LinkedSAPObject,
  LinkedSAPObjectKey,
  DocObjectLinkCounter,
  DraftUUID,
  ParentDraftUUID,
  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_draft_2
;