P_TaxConfigurationPlant
Plant related field values
P_TaxConfigurationPlant is a Composite CDS View that provides data about "Plant related field values" in SAP S/4HANA. It reads from 2 data sources (I_Plant, I_SalesOrganization) and exposes 23 fields with key fields SalesOrganization, Plant, AddressID. Part of development package GLO_TAXCONFIGAGENT.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_Plant | Plant | inner |
| I_SalesOrganization | SalesOrg | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #ORGANIZATIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrganization | I_SalesOrganization | SalesOrganization | Sales Organization |
| KEY | Plant | I_Plant | Plant | Valuation Area |
| KEY | AddressID | I_Plant | AddressID | Ship-to address |
| PlantName | I_Plant | PlantName | Plant Name | |
| DepartureCountry | ||||
| DepartureCountryName | ||||
| PlantRegion | ||||
| PlantRegionName | ||||
| CountyCode | ||||
| ValuationArea | I_Plant | ValuationArea | Valuation Area | |
| PlantCustomer | I_Plant | PlantCustomer | Stock customer | |
| PlantSupplier | I_Plant | PlantSupplier | Vendor no. | |
| PlantCategory | I_Plant | PlantCategory | Plant cat. | |
| PlantCategoryName | ||||
| DistributionChannel | I_Plant | DistributionChannel | RefDistCh-Cust/Mat. | |
| Division | I_Plant | Division | Internal Division ID | |
| Language | I_Plant | Language | Report Text Language | |
| BusinessPlace | I_Plant | BusinessPlace | Business place | |
| CompanyCode | I_SalesOrganization | CompanyCode | Receiver Company Code | |
| CompanyCodeName | ||||
| _Customer | I_Plant | _Customer | ||
| _Supplier | I_Plant | _Supplier | ||
| _ValuationArea | I_Plant | _ValuationArea |
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 P_TaxConfigurationPlant.
-- 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 P_TaxConfigurationPlant AS
SELECT
SalesOrg.SalesOrganization AS SalesOrganization,
Plant.Plant AS Plant,
Plant.AddressID AS AddressID,
Plant.PlantName AS PlantName,
Plant._Address.Country AS DepartureCountry,
Plant._Address._Country._Text[ 1: Language = $session.system_language ].CountryName AS DepartureCountryName,
Plant._Address.Region AS PlantRegion,
Plant._Address._Region._RegionText[ 1: Language = $session.system_language ].RegionName AS PlantRegionName,
Plant._Address.CountyCode AS CountyCode,
Plant.ValuationArea AS ValuationArea,
Plant.PlantCustomer AS PlantCustomer,
Plant.PlantSupplier AS PlantSupplier,
Plant.PlantCategory AS PlantCategory,
Plant._PlantCategoryText[ 1: Language = $session.system_language ].PlantCategoryName AS PlantCategoryName,
Plant.DistributionChannel AS DistributionChannel,
Plant.Division AS Division,
Plant.Language AS Language,
Plant.BusinessPlace AS BusinessPlace,
SalesOrg.CompanyCode AS CompanyCode,
SalesOrg._CompanyCode.CompanyCodeName AS CompanyCodeName,
Plant._Customer AS _Customer,
Plant._Supplier AS _Supplier,
Plant._ValuationArea AS _ValuationArea
FROM I_SalesOrganization AS SalesOrg
INNER JOIN I_Plant AS Plant ON /* join condition not captured in parsed metadata */
;
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