I_DocumentInfoRecordUserVH

DDL: I_DOCUMENTINFORECORDUSERVH SQL: ICVDOCUSRVH Type: view COMPOSITE

Document Info Record User

I_DocumentInfoRecordUserVH (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

R&D Engineering

I_DocumentInfoRecordUserVH is a Composite CDS View (Dimension) that provides data about "Document Info Record User" in SAP S/4HANA. It reads from 4 data sources (I_User, P_DocumentInfoRecord, I_User, adrp) and exposes 16 fields with key fields DocumentInfoRecordDocType, DocumentInfoRecordDocNumber, DocumentInfoRecordDocVersion, DocumentInfoRecordDocPart, ResponsiblePersonName. It has 5 associations to related views.

SAP Help Documentation

CategoryInterface Views
Data CategoryDimension
StatusReleased
Purpose
This CDS view retrieves the details of the responsible users for the document info records. This CDS view provides the data to answer the following business questions: What are the document info records that exist in the system? Who are the responsible users for the document info records? What are the user names of the responsible users for the document info records? What are the full names of the responsible users for the document info records? Who is the last changed user for the document info record? What is the full name of the last changed user for the document info record?

Prerequisites
Authorizations One of the following business catalogs needs to be assigned to a user to be able to use this CDS view: SAP_PLM_BC_DIR_EXTD_PC SAP_PLM_BC_DIR_EXTD_MC Users who want to use this CDS view must have a role that includes authorization based on at least one of the business catalogs listed above. In this role, the following restriction types must be set to read access: DOKAR These restriction types are edited in the Maintain Business Roles app. Users who want to use this CDS view must have the following authorization objects assigned: C_DRAW_TCD (Authorization for document activities.)

Structure
Important fields Important fields in this view include the following: Field Name Description DocumentInfoRecordDocType Refers to the document type. It categorizes documents according to their distinguishing features and the organizational procedures that result from them. DocumentInfoRecordDocNumber Unique document number to identify the document. DocumentInfoRecordDocVersion Indicates the version of the document. DocumentInfoRecordDocPart Indicates the document part number. ResponsiblePersonName Name of the responsible person. FirstName First name of the responsible person. LastName Last name of the responsible person. ResponsiblePersonFullName Full name of the responsible person. LastChangedByUser Name of the user who last modified the document info record. LastChangedByUserFullName Full name of the user who last modified the document info record. PersonNumber Key to identify the responsible person.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessR&D Engineering
Application ComponentCA-DMS
CapabilitiesData Provider for Value Help, Analytical Dimension, Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageR&D Engineering for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (4)

SourceAliasJoin Type
I_User ChangedUser left_outer
P_DocumentInfoRecord document from
I_User RespUser left_outer
adrp UserDetail inner

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_DocumentInfoRecordDocTypeT _DocTypeText $projection.DocumentInfoRecordDocType = _DocTypeText.DocumentInfoRecordDocType
[1..1] I_DocumentInfoRecordDocType _DocType $projection.DocumentInfoRecordDocType = _DocType.DocumentInfoRecordDocType --Get Document Number
[0..1] I_DocumentInfoRecordDocNumber _DocNumber $projection.DocumentInfoRecordDocType = _DocNumber.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocNumber = _DocNumber.DocumentInfoRecordDocNumber --Get Document Version
[1..1] I_DocumentInfoRecordDocVersion _DocVersion $projection.DocumentInfoRecordDocType = _DocVersion.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocNumber = _DocVersion.DocumentInfoRecordDocNumber and $projection.DocumentInfoRecordDocVersion = _DocVersion.DocumentInfoRecordDocVersion --Get Document Part
[1..1] I_DocumentInfoRecordDocPrt _DocPart $projection.DocumentInfoRecordDocType = _DocPart.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocPart = _DocPart.DocumentInfoRecordDocPart and $projection.DocumentInfoRecordDocNumber = _DocPart.DocumentInfoRecordDocNumber and $projection.DocumentInfoRecordDocVersion = _DocPart.DocumentInfoRecordDocVersion

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName ICVDOCUSRVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Document Info Record User view
VDM.viewType #COMPOSITE view
Search.searchable true view
Consumption.ranked true view
ObjectModel.dataCategory #VALUE_HELP view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey ResponsiblePersonName view
Analytics.dataCategory #DIMENSION view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY DocumentInfoRecordDocType P_DocumentInfoRecord DocumentInfoRecordDocType Document Type
KEY DocumentInfoRecordDocNumber P_DocumentInfoRecord DocumentInfoRecordDocNumber Document Number
KEY DocumentInfoRecordDocVersion P_DocumentInfoRecord DocumentInfoRecordDocVersion Document Version
KEY DocumentInfoRecordDocPart P_DocumentInfoRecord DocumentInfoRecordDocPart Document Part
KEY ResponsiblePersonName P_DocumentInfoRecord ResponsiblePersonName Name of Person Responsible
FirstName adrp name_first First Name
LastName adrp name_last Last Name
ResponsiblePersonFullName I_User UserDescription Created By User Name
LastChangedByUser P_DocumentInfoRecord LastChangedByUser Last Changed By
LastChangedByUserFullName I_User UserDescription Last Changed By User Name
PersonNumber I_User AddressPersonID Person Number
_DocType _DocType
_DocNumber _DocNumber
_DocVersion _DocVersion
_DocPart _DocPart
_DocTypeText _DocTypeText

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 I_DocumentInfoRecordUserVH.
-- 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: ICVDOCUSRVH

CREATE VIEW I_DocumentInfoRecordUserVH AS
SELECT
  document.DocumentInfoRecordDocType AS DocumentInfoRecordDocType,
  document.DocumentInfoRecordDocNumber AS DocumentInfoRecordDocNumber,
  document.DocumentInfoRecordDocVersion AS DocumentInfoRecordDocVersion,
  document.DocumentInfoRecordDocPart AS DocumentInfoRecordDocPart,
  document.ResponsiblePersonName AS ResponsiblePersonName,
  UserDetail.name_first AS FirstName,
  UserDetail.name_last AS LastName,
  RespUser.UserDescription AS ResponsiblePersonFullName,
  document.LastChangedByUser AS LastChangedByUser,
  ChangedUser.UserDescription AS LastChangedByUserFullName,
  RespUser.AddressPersonID AS PersonNumber
FROM P_DocumentInfoRecord AS document
LEFT OUTER JOIN I_User AS RespUser ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_User AS ChangedUser ON /* join condition not captured in parsed metadata */
INNER JOIN adrp AS UserDetail ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DocumentInfoRecordDocTypeT AS _DocTypeText ON DocumentInfoRecordDocType = _DocTypeText.DocumentInfoRecordDocType  -- association [0..*]
LEFT OUTER JOIN I_DocumentInfoRecordDocType AS _DocType ON DocumentInfoRecordDocType = _DocType.DocumentInfoRecordDocType  -- association [1..1]
LEFT OUTER JOIN I_DocumentInfoRecordDocNumber AS _DocNumber ON DocumentInfoRecordDocType = _DocNumber.DocumentInfoRecordDocType AND DocumentInfoRecordDocNumber = _DocNumber.DocumentInfoRecordDocNumber  -- association [0..1]
LEFT OUTER JOIN I_DocumentInfoRecordDocVersion AS _DocVersion ON DocumentInfoRecordDocType = _DocVersion.DocumentInfoRecordDocType AND DocumentInfoRecordDocNumber = _DocVersion.DocumentInfoRecordDocNumber AND DocumentInfoRecordDocVersion = _DocVersion.DocumentInfoRecordDocVersion  -- association [1..1]
LEFT OUTER JOIN I_DocumentInfoRecordDocPrt AS _DocPart ON DocumentInfoRecordDocType = _DocPart.DocumentInfoRecordDocType AND DocumentInfoRecordDocPart = _DocPart.DocumentInfoRecordDocPart AND DocumentInfoRecordDocNumber = _DocPart.DocumentInfoRecordDocNumber AND DocumentInfoRecordDocVersion = _DocPart.DocumentInfoRecordDocVersion  -- association [1..1]
;