C_ATPRlvtProdAssgdSoldToPtyVH

DDL: C_ATPRLVTPRODASSGDSOLDTOPTYVH Type: view_entity CONSUMPTION Package: ODATA_ATP_DISP_PROD_AVAILY

ATP Rlvt Product Assigned Sold to Party

C_ATPRlvtProdAssgdSoldToPtyVH is a Consumption CDS View that provides data about "ATP Rlvt Product Assigned Sold to Party" in SAP S/4HANA. It reads from 1 data source (I_Customer) and exposes 22 fields with key fields Product, SoldToParty. It has 1 association to related views. It is exposed through 2 OData services (ASQL_F7884, UI_DISPLAY_PRODUCT_AVAILY). Part of development package ODATA_ATP_DISP_PROD_AVAILY.

Data Sources (1)

SourceAliasJoin Type
I_Customer _Customer inner

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_CountryText _Text _Text.Country = $projection.Country and _Text.Language = $session.system_language

Annotations (11)

NameValueLevelField
EndUserText.label ATP Rlvt Product Assigned Sold to Party view
ObjectModel.dataCategory #VALUE_HELP view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #MANDATORY view
Search.searchable true view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey SoldToParty view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F7884 ASQL_F7884 C2 NOT_RELEASED
UI_DISPLAY_PRODUCT_AVAILY UI_DISPLAY_PRODUCT_AVAILY V4 C1 NOT_RELEASED

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY Product _SoldToParty Product Product
KEY SoldToParty _SoldToParty SoldToParty Customer
Country I_Customer Country Country/Region Key
Name I_Customer CustomerName Name
PostalCode I_Customer PostalCode Postal Code
CityName I_Customer CityName City
StreetName I_Customer StreetName Street
CountryName _Text CountryName Country
CustomerAccountGroup I_Customer CustomerAccountGroup Account group
AuthorizationGroup I_Customer AuthorizationGroup AuthorizGroup
IsBusinessPurposeCompleted I_Customer IsBusinessPurposeCompleted Purpose Completed
DataControllerSet I_Customer DataControllerSet Data Ctrlr. Set
DataController1 I_Customer DataController1 Data Controller
DataController2 I_Customer DataController2 Data Controller
DataController3 I_Customer DataController3 Data Controller
DataController4 I_Customer DataController4 Data Controller
DataController5 I_Customer DataController5 Data Controller
DataController6 I_Customer DataController6 Data Controller
DataController7 I_Customer DataController7 Data Controller
DataController8 I_Customer DataController8 Data Controller
DataController9 I_Customer DataController9 Data Controller
DataController10 I_Customer DataController10 Data Controller

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_ATPRlvtProdAssgdSoldToPtyVH.
-- 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 C_ATPRlvtProdAssgdSoldToPtyVH AS
SELECT
  _SoldToParty.Product AS Product,
  _SoldToParty.SoldToParty AS SoldToParty,
  _Customer.Country AS Country,
  _Customer.CustomerName AS Name,
  _Customer.PostalCode AS PostalCode,
  _Customer.CityName AS CityName,
  _Customer.StreetName AS StreetName,
  _Text.CountryName AS CountryName,
  _Customer.CustomerAccountGroup AS CustomerAccountGroup,
  _Customer.AuthorizationGroup AS AuthorizationGroup,
  _Customer.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  _Customer.DataControllerSet AS DataControllerSet,
  _Customer.DataController1 AS DataController1,
  _Customer.DataController2 AS DataController2,
  _Customer.DataController3 AS DataController3,
  _Customer.DataController4 AS DataController4,
  _Customer.DataController5 AS DataController5,
  _Customer.DataController6 AS DataController6,
  _Customer.DataController7 AS DataController7,
  _Customer.DataController8 AS DataController8,
  _Customer.DataController9 AS DataController9,
  _Customer.DataController10 AS DataController10
INNER JOIN I_Customer AS _Customer ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CountryText AS _Text ON _Text.Country = Country AND _Text.Language = $session.system_language  -- association [0..1]
;