P_GLAccountInCompany
private view
P_GLAccountInCompany is a Basic CDS View that provides data about "private view" in SAP S/4HANA. Part of development package FINS_GL_ACCOUNT_VDM.
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PartnerCompany | I_GLAccount | PartnerCompany | |
| KEY | GLAccount | I_GLAccount | GLAccount | |
| AuthorizationGroup | I_GLAccount | AuthorizationGroup |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private:true
@VDM.viewType: #BASIC
//@EndUserText.label: 'private view'
define view entity P_GLAccountInCompany as select distinct from I_GLAccount as I_GLAccount
//inner join I_CompanyCode as _CompanyCode on I_GLAccount.PartnerCompany = _CompanyCode.Company
{
key I_GLAccount.PartnerCompany,
key I_GLAccount.GLAccount,
I_GLAccount.AuthorizationGroup
/* Associations */
}
where I_GLAccount.PartnerCompany is not null and I_GLAccount.AuthorizationGroup <> ''
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