C_CustomerCreatedByValueHelp

DDL: C_CUSTOMERCREATEDBYVALUEHELP SQL: CCUSTCRTDBYVH Type: view CONSUMPTION

CreatedBy ValueHelp for Customer

C_CustomerCreatedByValueHelp is a Consumption CDS View that provides data about "CreatedBy ValueHelp for Customer" in SAP S/4HANA. It has 2 associations to related views.

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_UserContactCard _UserContactCard $projection.CreatedByUser = _UserContactCard.ContactCardID
[1..*] I_Customer _Customer $projection.CreatedByUser = _Customer.CreatedByUser

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CCUSTCRTDBYVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label CreatedBy ValueHelp for Customer view
AccessControl.personalData.blocking #REQUIRED view
Search.searchable true view
Consumption.ranked true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #VALUE_HELP view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY CreatedByUser CreatedByUser User Name
FirstName _UserContactCard FirstName First Name
LastName _UserContactCard LastName Last Name
Department _UserContactCard Department Department
EmailAddress
PhoneNumber _UserContactCard PhoneNumber Telephone no.
MobilePhoneNumber _UserContactCard MobilePhoneNumber Telephone
_Customer _Customer
_UserContactCard _UserContactCard

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_CustomerCreatedByValueHelp.
-- 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: CCUSTCRTDBYVH

CREATE VIEW C_CustomerCreatedByValueHelp AS
SELECT
  CreatedByUser,
  _UserContactCard.FirstName AS FirstName,
  _UserContactCard.LastName AS LastName,
  _UserContactCard.Department AS Department,
  cast ( _UserContactCard.EmailAddress as apoc_email_address preserving type ) AS EmailAddress,
  _UserContactCard.PhoneNumber AS PhoneNumber,
  _UserContactCard.MobilePhoneNumber AS MobilePhoneNumber
LEFT OUTER JOIN I_UserContactCard AS _UserContactCard ON CreatedByUser = _UserContactCard.ContactCardID  -- association [1..1]
LEFT OUTER JOIN I_Customer AS _Customer ON CreatedByUser = _Customer.CreatedByUser  -- association [1..*]
;