I_BPCustSalesAreaAddrDepdntTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CustSlsAreaAddrDepdntInfo | CustSlsAreaAddrDepdntInfo | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA