R_SiteProductGroupTP

DDL: R_SITEPRODUCTGROUPTP SQL: RSITEPG Type: view_entity TRANSACTIONAL

Site Product Group

R_SiteProductGroupTP is a Transactional CDS View that provides data about "Site Product Group" in SAP S/4HANA. It reads from 1 data source (I_SiteProductGroup) and exposes 18 fields with key fields Site, SiteCustomer, ProductGroup, ProductGroupDraftUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SiteProductGroup prdgrp from

Associations (1)

CardinalityTargetAliasCondition
[0..*] R_SiteProdGrpSupplyingSiteTP _ProdGrpSupplyingSite

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Site Product Group view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.representativeKey ProductGroup view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY Site _Site Site Plant
KEY SiteCustomer SiteCustomer CustomerNoPlant
KEY ProductGroup ProductGroup Product Sold Group
KEY ProductGroupDraftUUID
ProductGroupForEdit ProductGroup Product Sold Group
ContactPersonStdDepartment ContactPersonStdDepartment Department
AssortmentGrade AssortmentGrade Assortm. Grade
ProdGroupIsExcldFrmPOSOutbound ProdGroupIsExcldFrmPOSOutbound POS exclusion
ProdReplnmtRqmtGroup ProdReplnmtRqmtGroup Req.group
StoreProcurementProfile StoreProcurementProfile StorProcProfile
PriceListType PriceListType Price List Tp.
RevaluationProfile RevaluationProfile Rev.profile
PriceIsIncludingSalesTax PriceIsIncludingSalesTax Pr. incl. tax
_ProductGroup _ProductGroup
_ContactPersonStdDepartment _ContactPersonStdDepartment
_SiteMaster _SiteMaster
_Customer _Customer
_ProdGrpSupplyingSite _ProdGrpSupplyingSite

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 R_SiteProductGroupTP.
-- 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: RSITEPG

CREATE VIEW R_SiteProductGroupTP AS
SELECT
  _Site.Site AS Site,
  SiteCustomer,
  ProductGroup,
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x16 preserving type ) AS ProductGroupDraftUUID,
  ProductGroup AS ProductGroupForEdit,
  ContactPersonStdDepartment,
  AssortmentGrade,
  ProdGroupIsExcldFrmPOSOutbound,
  ProdReplnmtRqmtGroup,
  StoreProcurementProfile,
  PriceListType,
  RevaluationProfile,
  PriceIsIncludingSalesTax
FROM I_SiteProductGroup AS prdgrp
LEFT OUTER JOIN R_SiteProdGrpSupplyingSiteTP AS _ProdGrpSupplyingSite ON /* condition not available in parsed metadata */  -- association [0..*]
;