P_UserContactCard

DDL: P_USERCONTACTCARD SQL: PPUSRCONCARD Type: view CONSUMPTION Package: ODATA_MM_PUR_MYPURGDOCITEMS

User details

P_UserContactCard is a Consumption CDS View that provides data about "User details" in SAP S/4HANA. It reads from 1 data source (I_MaterialDocumentRecord) and exposes 4 fields with key fields MaterialDocument, MaterialDocumentItem. It has 1 association to related views. Part of development package ODATA_MM_PUR_MYPURGDOCITEMS.

Data Sources (1)

SourceAliasJoin Type
I_MaterialDocumentRecord _MaterialDocumentRecord from

Associations (1)

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

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PPUSRCONCARD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #CONSUMPTION view
EndUserText.label User details view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY MaterialDocument I_MaterialDocumentRecord MaterialDocument Material Doc.
KEY MaterialDocumentItem I_MaterialDocumentRecord MaterialDocumentItem Material Document Item
CreatedByUser CreatedByUser User Name
_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 P_UserContactCard.
-- 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: PPUSRCONCARD

CREATE VIEW P_UserContactCard AS
SELECT
  _MaterialDocumentRecord.MaterialDocument AS MaterialDocument,
  _MaterialDocumentRecord.MaterialDocumentItem AS MaterialDocumentItem,
  CreatedByUser
FROM I_MaterialDocumentRecord AS _MaterialDocumentRecord
LEFT OUTER JOIN I_UserContactCard AS _UserContactCard ON CreatedByUser = _UserContactCard.ContactCardID  -- association [1..1]
;