I_PurchasingToCompanyCode
Purchasing with related Company Code Data
I_PurchasingToCompanyCode is a Basic CDS View that provides data about "Purchasing with related Company Code Data" in SAP S/4HANA. It reads from 1 data source (I_PurchasingOrganization) and exposes 5 fields with key field PurchasingOrganization. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchasingOrganization | I_PurchasingOrganization | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Purchasing with related Company Code Data | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| VDM.viewType | #BASIC | view | |
| Search.searchable | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingOrganization | PurchasingOrganization | ||
| PurchasingOrganizationName | PurchasingOrganizationName | |||
| CompanyCode | CompanyCode | |||
| Country | _CompanyCode | Country | ||
| _CompanyCode | _CompanyCode |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Purchasing with related Company Code Data'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #CUSTOMIZING
}
@VDM.viewType: #BASIC
@Search.searchable: true
define view entity I_PurchasingToCompanyCode
as select from I_PurchasingOrganization
association [0..1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
{
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
key PurchasingOrganization,
PurchasingOrganizationName,
CompanyCode,
_CompanyCode.Country,
/* Associations */
_CompanyCode
}
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