I_DocumentInfoRecordUserVH
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
| Category | Interface Views |
|---|---|
| Data Category | Dimension |
| Status | Released |
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.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | R&D Engineering |
| Application Component | CA-DMS |
| Capabilities | Data Provider for Value Help, Analytical Dimension, Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities |
| Package | R&D Engineering for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_User | ChangedUser | left_outer |
| P_DocumentInfoRecord | document | from |
| I_User | RespUser | left_outer |
| adrp | UserDetail | inner |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA