FAC_AUDIT_Z3_Plant
Plant
FAC_AUDIT_Z3_Plant is a CDS View that provides data about "Plant" in SAP S/4HANA. It reads from 4 data sources (I_CompanyCode, I_Plant, t001k, t001w) and exposes 22 fields with key fields CompanyCode, Plant. Part of development package FINS_FI_DART_Z3.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCode | company | inner |
| I_Plant | plant | from |
| t001k | t001k | inner |
| t001w | t001w | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FAC_DZWERKS | view | |
| EndUserText.label | Plant | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_CompanyCode | CompanyCode | |
| KEY | Plant | I_Plant | Plant | |
| SystemClient | System Client | |||
| name1 | I_Plant | PlantName | ||
| name2 | ||||
| StreetName | ||||
| HouseNumber | ||||
| HouseNumberSupplementText | ||||
| POBox | ||||
| CityName | ||||
| District | ||||
| Region | ||||
| PostalCode | ||||
| Country | ||||
| AddressID | I_Plant | AddressID | ||
| TaxJurisdiction | ||||
| DefaultPurchasingOrganization | I_Plant | DefaultPurchasingOrganization | ||
| SalesOrganization | I_Plant | SalesOrganization | ||
| PlantCategory | I_Plant | PlantCategory | ||
| TaxIndicator | t001w | taxiw | ||
| BusinessPlace | t001w | j_1bbranch | ||
| ShippingPoint | t001w | vstel |
@AbapCatalog.sqlViewName: 'FAC_DZWERKS'
@EndUserText.label: 'Plant'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.buffering.status: #NOT_ALLOWED
@AbapCatalog.preserveKey: true
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
define view FAC_AUDIT_Z3_Plant
// with parameters
// P_Company : bukrs
as select from I_Plant as plant
inner join t001k on plant.ValuationArea = t001k.bwkey
inner join I_CompanyCode as company on t001k.bukrs = company.CompanyCode
inner join t001w on plant.Plant = t001w.werks
{
key company.CompanyCode,
key plant.Plant,
@EndUserText.label: 'System Client'
$session.client as SystemClient,
plant.PlantName as name1,
plant._Address.BusinessPartnerName2 as name2,
plant._Address.StreetName,
plant._Address.HouseNumber,
plant._Address.HouseNumberSupplementText,
plant._Address.POBox,
plant._Address.CityName,
plant._Address.District,
plant._Address.Region,
plant._Address.PostalCode,
plant._Address.Country,
plant.AddressID,
plant._Address.TaxJurisdiction,
plant.DefaultPurchasingOrganization,
plant.SalesOrganization,
plant.PlantCategory,
//t001w.taxiw as BusinessPlace,
t001w.taxiw as TaxIndicator,
t001w.j_1bbranch as BusinessPlace,
t001w.vstel as ShippingPoint
}
// where company.CompanyCode = $parameters.P_Company;
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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