C_BackendCoCodeForPurg
Consumption view for Backend Companycode
C_BackendCoCodeForPurg is a Consumption CDS View that provides data about "Consumption view for Backend Companycode" in SAP S/4HANA. It reads from 1 data source (I_BackendCoCodeForPurg) and exposes 4 fields with key fields ProcurementHubSourceSystem, CompanyCode.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BackendCoCodeForPurg | _BckPlant | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #ORGANIZATIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AbapCatalog.sqlViewName | CBACKENDCOCODE | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Consumption view for Backend Companycode | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProcurementHubSourceSystem | ProcurementHubSourceSystem | ||
| KEY | CompanyCode | CompanyCode | Company Code | |
| CompanyCodeName | CompanyCodeName | |||
| LogicalSystem | LogicalSystem | Source System |
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #ORGANIZATIONAL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@AbapCatalog.sqlViewName: 'CBACKENDCOCODE'
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Consumption view for Backend Companycode'
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
define view C_BackendCoCodeForPurg as select from I_BackendCoCodeForPurg as _BckPlant
association to I_UserDefaultSettingItem as _UserDefItem on _UserDefItem.SourceSystem = $projection.ProcurementHubSourceSystem
{
key ProcurementHubSourceSystem ,
@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
@EndUserText.label: 'Company Code'
key CompanyCode,
CompanyCodeName,
//@EndUserText.label: 'Plant'
// key Plant,
@Consumption: {hidden: true }
@EndUserText.label: 'Source System'
LogicalSystem
}
where _UserDefItem.Employee = $session.user
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BACKENDCOCODEFORPURG",
"I_USERDEFAULTSETTINGITEM"
],
"ASSOCIATED":
[
"I_USERDEFAULTSETTINGITEM"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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