I_SamplingProcedureUserVH

DDL: I_SAMPLINGPROCEDUREUSERVH Type: view_entity COMPOSITE Package: VDM_QM_PLANNING

Sampling Procedure Processing User

I_SamplingProcedureUserVH is a Composite CDS View that provides data about "Sampling Procedure Processing User" in SAP S/4HANA. It has 2 associations to related views. It is exposed through 1 OData service (ASQL_F2255). Part of development package VDM_QM_PLANNING.

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_UserContactCard _CreatedByUserContactCard _CreatedByUserContactCard.ContactCardID = _SamplingProcedureCreated.CreatedByUser
[0..1] I_UserContactCard _ChangedByUserContactCard _ChangedByUserContactCard.ContactCardID = _SamplingProcedureChanged.LastChangedByUser

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Sampling Procedure Processing User view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.representativeKey UserID view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F2255 ASQL_F2255 C2 NOT_RELEASED

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY UserID
FullName _CreatedByUserContactCard FullName Name
FirstName _CreatedByUserContactCard FirstName First Name
LastName _CreatedByUserContactCard LastName Last Name
UserDescription
FullName _ChangedByUserContactCard FullName Name
FirstName _ChangedByUserContactCard FirstName First Name
LastName _ChangedByUserContactCard LastName Last Name
UserDescription
EmailAddress _ChangedByUserContactCard EmailAddress E-Mail Address

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_SamplingProcedureUserVH.
-- 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 I_SamplingProcedureUserVH AS
SELECT
  cast( _SamplingProcedureCreated.CreatedByUser as vdm_userid preserving type ) AS UserID,
  _CreatedByUserContactCard.FullName AS FullName,
  _CreatedByUserContactCard.FirstName AS FirstName,
  _CreatedByUserContactCard.LastName AS LastName,
  cast( _CreatedByUserContactCard.UserDescription as vdm_createdbyuserdescription preserving type ) AS UserDescription,
  _ChangedByUserContactCard.EmailAddress AS EmailAddress
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUserContactCard ON _CreatedByUserContactCard.ContactCardID = _SamplingProcedureCreated.CreatedByUser  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _ChangedByUserContactCard ON _ChangedByUserContactCard.ContactCardID = _SamplingProcedureChanged.LastChangedByUser  -- association [0..1]
;