I_LedgerCompanyCodeVH
Company Codes for Ledger
I_LedgerCompanyCodeVH is a Composite CDS View that provides data about "Company Codes for Ledger" in SAP S/4HANA. It reads from 2 data sources (I_CompanyCodeVH, I_LedgerCompanyCodeCrcyRoles) and exposes 8 fields with key fields Ledger, CompanyCode.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCodeVH | I_CompanyCodeVH | inner |
| I_LedgerCompanyCodeCrcyRoles | I_LedgerCompanyCodeCrcyRoles | from |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFILEDGERCCODE | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Company Codes for Ledger | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.modelingPattern | #VALUE_HELP_PROVIDER | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | I_LedgerCompanyCodeCrcyRoles | Ledger | |
| KEY | CompanyCode | I_LedgerCompanyCodeCrcyRoles | CompanyCode | |
| CompanyCodeName | I_CompanyCodeVH | CompanyCodeName | ||
| ControllingArea | I_CompanyCodeVH | ControllingArea | ||
| ChartOfAccounts | I_CompanyCodeVH | ChartOfAccounts | ||
| CityName | I_CompanyCodeVH | CityName | ||
| Currency | I_CompanyCodeVH | Currency | ||
| FiscalYearVariant | I_LedgerCompanyCodeCrcyRoles | FiscalYearVariant |
@AbapCatalog: { sqlViewName: 'IFILEDGERCCODE',
preserveKey: true,
compiler.compareFilter: true }
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Company Codes for Ledger'
@ObjectModel: { dataCategory: #VALUE_HELP,
usageType: { sizeCategory: #S,
dataClass: #MIXED,
serviceQuality: #C },
supportedCapabilities: [#VALUE_HELP_PROVIDER, #SEARCHABLE_ENTITY],
modelingPattern: #VALUE_HELP_PROVIDER }
@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true
@Consumption.ranked: true
@VDM: { lifecycle.contract.type: #PUBLIC_LOCAL_API,
viewType: #COMPOSITE }
define view I_LedgerCompanyCodeVH as select from I_LedgerCompanyCodeCrcyRoles
inner join I_CompanyCodeVH on I_LedgerCompanyCodeCrcyRoles.CompanyCode = I_CompanyCodeVH.CompanyCode
{
key I_LedgerCompanyCodeCrcyRoles.Ledger,
@ObjectModel.text.element: ['CompanyCodeName']
@Search.defaultSearchElement:true
@Search.fuzzinessThreshold:0.8
@Search.ranking:#HIGH
key I_LedgerCompanyCodeCrcyRoles.CompanyCode,
@Semantics.text
@Search.defaultSearchElement:true
@Search.fuzzinessThreshold:0.8
@Search.ranking:#LOW
I_CompanyCodeVH.CompanyCodeName,
I_CompanyCodeVH.ControllingArea,
I_CompanyCodeVH.ChartOfAccounts,
I_CompanyCodeVH.CityName,
I_CompanyCodeVH.Currency,
I_LedgerCompanyCodeCrcyRoles.FiscalYearVariant
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODEVH",
"I_LEDGERCOMPANYCODECRCYROLES"
],
"ASSOCIATED":
[],
"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