I_CustSlsPrtnFuncTP

DDL: I_CUSTSLSPRTNFUNCTP Type: view_entity TRANSACTIONAL

Sales Area Partner Function - TP

I_CustSlsPrtnFuncTP is a Transactional CDS View that provides data about "Sales Area Partner Function - TP" in SAP S/4HANA. It reads from 1 data source (I_CustomerPartnerFunction) and exposes 20 fields with key fields BusinessPartner, Customer, SalesOrganization, DistributionChannel, Division. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustomerPartnerFunction I_CustomerPartnerFunction from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_CustomerToBusinessPartner _CustomerToBusinessPartner $projection.Customer = _CustomerToBusinessPartner.Customer
[1..1] I_BusinessPartnerCustomerTP_2 _BusinessPartnerCustomer $projection.BusinessPartner = _BusinessPartnerCustomer.BusinessPartner and $projection.Customer = _BusinessPartnerCustomer.Customer
[1..1] I_BusinessPartnerTP_2 _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner

Annotations (8)

NameValueLevelField
VDM.viewType #TRANSACTIONAL view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Sales Area Partner Function - TP view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner
KEY Customer Customer Sold-to Party
KEY SalesOrganization SalesOrganization Sales Organization
KEY DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
KEY Division Division Internal Division ID
KEY PartnerCounter PartnerCounter Partner counter
KEY PartnerFunction PartnerFunction Partner Functn
PartnerFunctionType PartnerFunctionType Partner Type
PartnerFunctionForEdit PartnerFunction Partner Functn
PartnerCounterForEdit PartnerCounter Partner counter
Partner
BPCustomerNumber BPCustomerNumber Customer
CustomerPartnerDescription CustomerPartnerDescription Partner desc.
DefaultPartner DefaultPartner Default Partner
ContactPerson ContactPerson Contact Person Key
AddressID AddressID Ship-to address
BusinessPartnerGrouping BusinessPartnerGrouping Grouping
_CustomerToBusinessPartner _CustomerToBusinessPartner
_BusinessPartnerCustomer _BusinessPartnerCustomer
_BusinessPartner _BusinessPartner

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_CustSlsPrtnFuncTP.
-- 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_CustSlsPrtnFuncTP AS
SELECT
  _CustomerToBusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartner,
  Customer,
  SalesOrganization,
  DistributionChannel,
  Division,
  PartnerCounter,
  PartnerFunction,
  PartnerFunctionType,
  PartnerFunction AS PartnerFunctionForEdit,
  PartnerCounter AS PartnerCounterForEdit,
  _CustomerToBusinessPartner._BusinessPartner.BusinessPartner AS Partner,
  BPCustomerNumber,
  CustomerPartnerDescription,
  DefaultPartner,
  ContactPerson,
  AddressID,
  BusinessPartnerGrouping
FROM I_CustomerPartnerFunction
LEFT OUTER JOIN I_CustomerToBusinessPartner AS _CustomerToBusinessPartner ON Customer = _CustomerToBusinessPartner.Customer  -- association [1..1]
LEFT OUTER JOIN I_BusinessPartnerCustomerTP_2 AS _BusinessPartnerCustomer ON BusinessPartner = _BusinessPartnerCustomer.BusinessPartner AND Customer = _BusinessPartnerCustomer.Customer  -- association [1..1]
LEFT OUTER JOIN I_BusinessPartnerTP_2 AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
;