P_TaxConfigurationPlant

DDL: P_TAXCONFIGURATIONPLANT Type: view_entity COMPOSITE Package: GLO_TAXCONFIGAGENT

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)

SourceAliasJoin Type
I_Plant Plant inner
I_SalesOrganization SalesOrg from

Annotations (7)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;