I_CustSlsAreaAddrDepdntTaxInfo
Customer Sales Area Address dep Tax
I_CustSlsAreaAddrDepdntTaxInfo (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Database & Data Management
I_CustSlsAreaAddrDepdntTaxInfo is a Basic CDS View that provides data about "Customer Sales Area Address dep Tax" in SAP S/4HANA. It reads from 2 data sources (knvi_addr, I_CustSalesAreaTax) and exposes 16 fields with key field Customer. It has 8 associations to related views. Part of development package VDM_MD_BP.
SAP Help Documentation
| Category | CDS Views for Business Partner |
|---|---|
| Status | Released |
This CDS view returns customer sales area address-dependent tax information. This CDS view provides the data to answer the following business questions: What are the distribution channels? What is customer tax category and classification? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: BEGRU_KNA1 Authorization Group for Customers SALES_AREA Sales Area B_BUP_DCPD Business Partner Processing These restriction types are edited in the Maintain Business Roles app.
Structure
Important Fields Important fields in this view include the following: Field Name Data Element Label Customer KUNNR Customer SalesOrganization VKORG Sales Organization DistributionChannel VTWKU RefDistCh-Cust/Mat. Division SPART Division AddressID BU_ADDRNUM Address Number DepartureCountry ALAND Departure Ctry/Reg. CustomerTaxCategory TATYP Tax Condition Type CustomerTaxClassification TAKLD Tax Classification
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Database & Data Management |
| Application Component | LO-MD-BP-2CL |
| Capabilities | Data Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Database and Data Management for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view returns customer sales area address-dependent tax information.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li> <p>What are the distribution channels?</p> </li> <li> <p>What is customer tax category and classification?</p> </li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| knvi_addr | knvi_addr | from |
| I_CustSalesAreaTax | SalesAreaTax | inner |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CustSalesAreaTax | _CustomerSalesAreaTax | $projection.Customer = _CustomerSalesAreaTax.Customer and $projection.DepartureCountry = _CustomerSalesAreaTax.DepartureCountry and $projection.CustomerTaxCategory = _CustomerSalesAreaTax.CustomerTaxCategory and $projection.SalesOrganization = _CustomerSalesAreaTax.SalesOrganization and $projection.DistributionChannel = _CustomerSalesAreaTax.DistributionChannel and $projection.Division = _CustomerSalesAreaTax.Division |
| [1..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [1..1] | I_Address_2 | _AddressDefaultRepresentation | $projection.AddressID = _AddressDefaultRepresentation.AddressID and _AddressDefaultRepresentation.AddressRepresentationCode = ' ' |
| [1..1] | I_CustomerSalesArea | _CustomerSalesArea | $projection.Customer = _CustomerSalesArea.Customer and $projection.SalesOrganization = _CustomerSalesArea.SalesOrganization and $projection.DistributionChannel = _CustomerSalesArea.DistributionChannel and $projection.Division = _CustomerSalesArea.Division |
| [0..1] | I_SalesOrganization | _SalesOrganization | $projection.SalesOrganization = _SalesOrganization.SalesOrganization |
| [0..1] | I_DistributionChannel | _DistributionChannel | $projection.DistributionChannel = _DistributionChannel.DistributionChannel |
| [0..1] | I_Division | _Division | $projection.Division = _Division.Division |
| [0..1] | I_Country | _Country | $projection.DepartureCountry = _Country.Country |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICUSTSLSADDRTAX | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | AddressID | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Customer Sales Area Address dep Tax | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Customer | knvi_addr | kunnr | Customer Number |
| SalesOrganizationasSalesOrganization | ||||
| DistributionChannelasDistributionChannel | ||||
| DivisionasDivision | ||||
| adrnrasAddressID | ||||
| alandasDepartureCountry | ||||
| tatypasCustomerTaxCategory | ||||
| taxkdasCustomerTaxClassification | ||||
| TaxClassification_CustomerSalesArea | ||||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division | |||
| _Customer | _Customer | |||
| _CustomerSalesAreaTax | _CustomerSalesAreaTax | |||
| _Country | _Country | |||
| _AddressDefaultRepresentation | _AddressDefaultRepresentation |
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_CustSlsAreaAddrDepdntTaxInfo.
-- 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: ICUSTSLSADDRTAX
CREATE VIEW I_CustSlsAreaAddrDepdntTaxInfo AS
SELECT
knvi_addr.kunnr AS Customer
FROM knvi_addr
INNER JOIN I_CustSalesAreaTax AS SalesAreaTax ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CustSalesAreaTax AS _CustomerSalesAreaTax ON Customer = _CustomerSalesAreaTax.Customer AND DepartureCountry = _CustomerSalesAreaTax.DepartureCountry AND CustomerTaxCategory = _CustomerSalesAreaTax.CustomerTaxCategory AND SalesOrganization = _CustomerSalesAreaTax.SalesOrganization AND DistributionChannel = _CustomerSalesAreaTax.DistributionChannel AND Division = _CustomerSalesAreaTax.Division -- association [1..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer -- association [1..1]
LEFT OUTER JOIN I_Address_2 AS _AddressDefaultRepresentation ON AddressID = _AddressDefaultRepresentation.AddressID AND _AddressDefaultRepresentation.AddressRepresentationCode = ' ' -- association [1..1]
LEFT OUTER JOIN I_CustomerSalesArea AS _CustomerSalesArea ON Customer = _CustomerSalesArea.Customer AND SalesOrganization = _CustomerSalesArea.SalesOrganization AND DistributionChannel = _CustomerSalesArea.DistributionChannel AND Division = _CustomerSalesArea.Division -- association [1..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization -- association [0..1]
LEFT OUTER JOIN I_DistributionChannel AS _DistributionChannel ON DistributionChannel = _DistributionChannel.DistributionChannel -- association [0..1]
LEFT OUTER JOIN I_Division AS _Division ON Division = _Division.Division -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON DepartureCountry = _Country.Country -- 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