C_GeneralLedgerAccount
General Ledger Account
C_GeneralLedgerAccount is a Consumption CDS View that provides data about "General Ledger Account" in SAP S/4HANA. It reads from 1 data source (I_GLAccount) and exposes 12 fields with key fields GLAccount, CompanyCode. It has 1 association to related views. Part of development package FINS_FIS_GRC_APPS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccount | I_GLAccount | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_UserContactCard | _UserContactCard | $projection.CreatedByUser = _UserContactCard.ContactCardID |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CFIGENLDGRACCT | view | |
| EndUserText.label | General Ledger Account | view | |
| VDM.viewType | #CONSUMPTION | view | |
| OData.publish | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.representativeKey | GLAccount | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GLAccount | GLAccount | ||
| KEY | CompanyCode | CompanyCode | ||
| CompanyCodeName | _CompanyCode | CompanyCodeName | ||
| ChartOfAccounts | ChartOfAccounts | |||
| CreationDate | CreationDate | |||
| CreatedByUser | CreatedByUser | |||
| FullName | _UserContactCard | FullName | ||
| _Text | _Text | |||
| _CompanyCode | _CompanyCode | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _ChartOfAccountsText | _ChartOfAccountsText | |||
| _UserContactCard | _UserContactCard |
@AbapCatalog.sqlViewName: 'CFIGENLDGRACCT'
@EndUserText.label: 'General Ledger Account'
@VDM.viewType: #CONSUMPTION
@OData.publish: true
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AbapCatalog.buffering.status: #NOT_ALLOWED
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@AccessControl.privilegedAssociations: [ '_UserContactCard' ]
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata: { ignorePropagatedAnnotations: true,
allowExtensions: true }
@ObjectModel.representativeKey: 'GLAccount'
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MIXED
define view C_GeneralLedgerAccount as select from I_GLAccount
association [0..1] to I_UserContactCard as _UserContactCard on $projection.CreatedByUser = _UserContactCard.ContactCardID
{
@Consumption.valueHelpDefinition: [{ entity:{ name: 'I_GLAccountStdVH', element:'GLAccount' },
additionalBinding: [{ localElement: 'CompanyCode', element: 'CompanyCode' }]
}]
@Consumption.filter: { selectionType: #SINGLE, multipleSelections: true, mandatory: false }
@ObjectModel.text.association: '_Text'
key GLAccount,
@Consumption.valueHelpDefinition: [{ entity:{ name: 'I_CompanyCodeVH', element:'CompanyCode' } }]
@Consumption.filter: { selectionType: #SINGLE, multipleSelections: true, mandatory: false }
@ObjectModel.foreignKey.association: '_CompanyCode'
key CompanyCode,
_CompanyCode.CompanyCodeName,
@ObjectModel.text.association: '_ChartOfAccountsText'
@ObjectModel.foreignKey.association: '_ChartOfAccounts'
ChartOfAccounts,
@Consumption.filter: { selectionType: #INTERVAL, multipleSelections: true, mandatory: false }
@Semantics.systemDate.createdAt: true
CreationDate,
@ObjectModel.foreignKey.association: '_UserContactCard'
@Consumption.semanticObject: 'User'
CreatedByUser,
@Semantics.name.fullName: true
_UserContactCard.FullName,
_Text,
_CompanyCode,
_ChartOfAccounts,
_ChartOfAccountsText,
_UserContactCard
}
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