C_PurOrdCreatedByValHelp

DDL: C_PURORDCREATEDBYVALHELP SQL: CPURORDCRTDBY_VH Type: view CONSUMPTION Package: ODATA_MM_PUR_PO_MAINTAIN_V2

Value Help for Created By User

C_PurOrdCreatedByValHelp is a Consumption CDS View that provides data about "Value Help for Created By User" in SAP S/4HANA. It reads from 1 data source (I_User) and exposes 6 fields with key field UserID. It has 2 associations to related views. Part of development package ODATA_MM_PUR_PO_MAINTAIN_V2.

Data Sources (1)

SourceAliasJoin Type
I_User User from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_PurchaseOrder _PurchaseOrder $projection.UserID = _PurchaseOrder.CreatedByUser
[0..1] I_UserContactCard _UserContactCard _UserContactCard.ContactCardID = $projection.UserID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CPURORDCRTDBY_VH view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Value Help for Created By User view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
Search.searchable true view
ObjectModel.representativeKey UserID view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY UserID UserID Created By
UserDescription UserDescription Full Name
PersonFullName _UserContactCard FullName Name
FirstName _UserContactCard FirstName First Name
LastName _UserContactCard LastName Last Name
_PurchaseOrder _PurchaseOrder

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_PurOrdCreatedByValHelp.
-- 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: CPURORDCRTDBY_VH

CREATE VIEW C_PurOrdCreatedByValHelp AS
SELECT
  UserID,
  UserDescription,
  _UserContactCard.FullName AS PersonFullName,
  _UserContactCard.FirstName AS FirstName,
  _UserContactCard.LastName AS LastName
FROM I_User AS User
LEFT OUTER JOIN I_PurchaseOrder AS _PurchaseOrder ON UserID = _PurchaseOrder.CreatedByUser  -- association [0..*]
LEFT OUTER JOIN I_UserContactCard AS _UserContactCard ON _UserContactCard.ContactCardID = UserID  -- association [0..1]
;