I_BPCustSalesAreaAddrDepdntTP

DDL: I_BPCUSTSALESAREAADDRDEPDNTTP SQL: ICUSSLSADRDEPTP Type: view TRANSACTIONAL

Tp view for addrdependent sales area

I_BPCustSalesAreaAddrDepdntTP is a Transactional CDS View that provides data about "Tp view for addrdependent sales area" in SAP S/4HANA. It reads from 1 data source (I_CustSlsAreaAddrDepdntInfo) and exposes 33 fields with key fields SalesOrganization, DistributionChannel, Division, AddressID, BusinessPartner. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustSlsAreaAddrDepdntInfo CustSlsAreaAddrDepdntInfo from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartnerTP _BusinessPartner $projection.businesspartner = _BusinessPartner.BusinessPartner
[1..1] I_BusinessPartnerSalesAreaTP _BusinessPartnerSalesArea $projection.businesspartner = _BusinessPartnerSalesArea.BusinessPartner and $projection.SalesOrganization = _BusinessPartnerSalesArea.SalesOrganization and $projection.DistributionChannel = _BusinessPartnerSalesArea.DistributionChannel and $projection.Division = _BusinessPartnerSalesArea.Division
[0..1] E_CustSlsAreaAddrDepdntInfo _ActiveExtension $projection.Customer = _ActiveExtension.Customer and $projection.SalesOrganization = _ActiveExtension.SalesOrganization and $projection.DistributionChannel = _ActiveExtension.DistributionChannel and $projection.Division = _ActiveExtension.Division and $projection.AddressID = _ActiveExtension.AddressID
[0..1] E_CustSlsAreaAddrDepdntInfo _DraftExtension $projection.Customer = _DraftExtension.Customer and $projection.SalesOrganization = _DraftExtension.SalesOrganization and $projection.DistributionChannel = _DraftExtension.DistributionChannel and $projection.Division = _DraftExtension.Division and $projection.AddressID = _DraftExtension.AddressID

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName ICUSSLSADRDEPTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
VDM.viewType #TRANSACTIONAL view
ObjectModel.writeEnabled true view
ObjectModel.writeDraftPersistence ICUSSLSDEP_D view
ObjectModel.draftEnabled true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
EndUserText.label Tp view for addrdependent sales area view

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY SalesOrganization SalesOrganization Sales Organization
KEY DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
KEY Division Division Internal Division ID
KEY AddressID AddressID Ship-to address
KEY BusinessPartner
Customer Customer Sold-to Party
CustomerForEdit Customer Sold-to Party
AddressIDForEdit AddressID Ship-to address
BusinessPartnerForEdit
BusinessPartnerUUID
IncotermsClassification IncotermsClassification Incoterms
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
ShippingCondition ShippingCondition Shipping Conditions
SupplyingPlant SupplyingPlant Supplying Plant
DeliveryIsBlocked DeliveryIsBlocked Delivery block
IncotermsVersion IncotermsVersion Inco. Version
FormattedAddress
IncotermsSupChnLoc1AddlUUID IncotermsSupChnLoc1AddlUUID Location UUID
IncotermsSupChnLoc2AddlUUID IncotermsSupChnLoc2AddlUUID Location UUID
IncotermsSupChnDvtgLocAddlUUID IncotermsSupChnDvtgLocAddlUUID Location UUID
IncotermsLocation1Identifier
IncotermsLocation2Identifier
IncotermsDvtgLocIdentifier
_Customer _Customer
_CustomerSalesArea _CustomerSalesArea
_DistributionChannel _DistributionChannel
_Division _Division
_SalesOrganization _SalesOrganization
_BusinessPartner _BusinessPartner
_BusinessPartnerSalesArea _BusinessPartnerSalesArea

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_BPCustSalesAreaAddrDepdntTP.
-- 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: ICUSSLSADRDEPTP

CREATE VIEW I_BPCustSalesAreaAddrDepdntTP AS
SELECT
  SalesOrganization,
  DistributionChannel,
  Division,
  AddressID,
  CustSlsAreaAddrDepdntInfo._Customer._CustomerToBusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartner,
  Customer,
  Customer AS CustomerForEdit,
  AddressID AS AddressIDForEdit,
  _Customer._CustomerToBusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartnerForEdit,
  _Customer._CustomerToBusinessPartner.BusinessPartnerUUID AS BusinessPartnerUUID,
  IncotermsClassification,
  IncotermsLocation1,
  IncotermsLocation2,
  SalesOffice,
  SalesGroup,
  ShippingCondition,
  SupplyingPlant,
  DeliveryIsBlocked,
  IncotermsVersion,
  cast( ' ' as abap.sstring( 260 ) ) AS FormattedAddress,
  IncotermsSupChnLoc1AddlUUID,
  IncotermsSupChnLoc2AddlUUID,
  IncotermsSupChnDvtgLocAddlUUID,
  CustSlsAreaAddrDepdntInfo._IncotermsSupChnLoc1.Location AS IncotermsLocation1Identifier,
  CustSlsAreaAddrDepdntInfo._IncotermsSupChnLoc2.Location AS IncotermsLocation2Identifier,
  CustSlsAreaAddrDepdntInfo._IncotermsSupChnDvtgLoc.Location AS IncotermsDvtgLocIdentifier
FROM I_CustSlsAreaAddrDepdntInfo AS CustSlsAreaAddrDepdntInfo
LEFT OUTER JOIN I_BusinessPartnerTP AS _BusinessPartner ON businesspartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_BusinessPartnerSalesAreaTP AS _BusinessPartnerSalesArea ON businesspartner = _BusinessPartnerSalesArea.BusinessPartner AND SalesOrganization = _BusinessPartnerSalesArea.SalesOrganization AND DistributionChannel = _BusinessPartnerSalesArea.DistributionChannel AND Division = _BusinessPartnerSalesArea.Division  -- association [1..1]
LEFT OUTER JOIN E_CustSlsAreaAddrDepdntInfo AS _ActiveExtension ON Customer = _ActiveExtension.Customer AND SalesOrganization = _ActiveExtension.SalesOrganization AND DistributionChannel = _ActiveExtension.DistributionChannel AND Division = _ActiveExtension.Division AND AddressID = _ActiveExtension.AddressID  -- association [0..1]
LEFT OUTER JOIN E_CustSlsAreaAddrDepdntInfo AS _DraftExtension ON Customer = _DraftExtension.Customer AND SalesOrganization = _DraftExtension.SalesOrganization AND DistributionChannel = _DraftExtension.DistributionChannel AND Division = _DraftExtension.Division AND AddressID = _DraftExtension.AddressID  -- association [0..1]
;