C_SalesDocumentUserVH

DDL: C_SALESDOCUMENTUSERVH Type: view CONSUMPTION

Sales Document User

C_SalesDocumentUserVH is a Consumption CDS View that provides data about "Sales Document User" in SAP S/4HANA. It reads from 1 data source (I_User) and exposes 3 fields with key field UserID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_User I_User from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_SalesDocumentBasic _SalesDocument UserID = _SalesDocument.CreatedByUser or UserID = _SalesDocument.LastChangedByUser

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CSDUSERVH view
AbapCatalog.compiler.compareFilter true view
ClientDependent true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Sales Document User view
Search.searchable true view
Consumption.ranked true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
UI.headerInfo.typeName Sales Document User view
UI.headerInfo.typeNamePlural Sales Document Users view
ObjectModel.representativeKey UserID view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY UserID UserID User Name
UserDescription UserDescription Full Name
_SalesDocument _SalesDocument

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 C_SalesDocumentUserVH.
-- 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 C_SalesDocumentUserVH AS
SELECT
  UserID,
  UserDescription
FROM I_User
LEFT OUTER JOIN I_SalesDocumentBasic AS _SalesDocument ON UserID = _SalesDocument.CreatedByUser OR UserID = _SalesDocument.LastChangedByUser  -- association [0..*]
;