I_SftyDataShtCntctProduct

DDL: I_SFTYDATASHTCNTCTPRODUCT Type: view_entity BASIC Package: EHSDS_BO_CONFIGURATION

SDS Contact Product Assignment

I_SftyDataShtCntctProduct is a Basic CDS View that provides data about "SDS Contact Product Assignment" in SAP S/4HANA. It reads from 1 data source (ehsdsd_cntct_prd) and exposes 11 fields with key field SftyDataShtCntctProductUUID. It has 4 associations to related views. Part of development package EHSDS_BO_CONFIGURATION.

Data Sources (1)

SourceAliasJoin Type
ehsdsd_cntct_prd ehsdsd_cntct_prd from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_SftyDataShtCntct _Contact $projection.SftyDataShtCntctUUID = _Contact.SftyDataShtCntctUUID -- Admin data - Created by
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID -- Admin data - Last changed by
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID -- Product
[0..1] I_Product _Product $projection.Product = _Product.Product

Annotations (6)

NameValueLevelField
EndUserText.label SDS Contact Product Assignment view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #B view
VDM.viewType #BASIC view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY SftyDataShtCntctProductUUID uuid Waste Partner UUID
CreatedByUser createdbyuser User Name
CreationDateTime creationdatetime Timestamp
LastChangedByUser lastchangedbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
SftyDataShtCntctUUID contact_uuid SDS Contact
Product product Product Sold
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_Contact _Contact
_Product _Product

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_SftyDataShtCntctProduct.
-- 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_SftyDataShtCntctProduct AS
SELECT
  uuid AS SftyDataShtCntctProductUUID,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime,
  contact_uuid AS SftyDataShtCntctUUID,
  Product
FROM ehsdsd_cntct_prd
LEFT OUTER JOIN I_SftyDataShtCntct AS _Contact ON SftyDataShtCntctUUID = _Contact.SftyDataShtCntctUUID  -- association [1..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [0..1]
;