FARMLVD_APAR_ACCDOC_AUTH
Rec Item Auth Check Helper View
FARMLVD_APAR_ACCDOC_AUTH is a CDS View that provides data about "Rec Item Auth Check Helper View" in SAP S/4HANA. It reads from 3 data sources (I_OperationalAcctgDocItem, FARMLVD_COMPANY, I_Customer) and exposes 13 fields with key fields CompanyCode, FiscalYear, AccountingDocument, AccountingDocumentItem. Part of development package FINS_AR_MACHINE_LEARNING.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_OperationalAcctgDocItem | AcctDocItm | from |
| FARMLVD_COMPANY | CompanyCtryKey | left_outer |
| I_Customer | cust | left_outer |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Rec Item Auth Check Helper View | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_OperationalAcctgDocItem | CompanyCode | |
| KEY | FiscalYear | I_OperationalAcctgDocItem | FiscalYear | |
| KEY | AccountingDocument | I_OperationalAcctgDocItem | AccountingDocument | |
| KEY | AccountingDocumentItem | I_OperationalAcctgDocItem | AccountingDocumentItem | |
| FinancialAccountType | I_OperationalAcctgDocItem | FinancialAccountType | ||
| PostingDate | I_OperationalAcctgDocItem | PostingDate | ||
| SpecialGLCode | I_OperationalAcctgDocItem | SpecialGLCode | ||
| BusinessArea | I_OperationalAcctgDocItem | BusinessArea | ||
| FunctionalArea | I_OperationalAcctgDocItem | FunctionalArea | ||
| CountryKey | FARMLVD_COMPANY | CountryKey | ||
| CustomerAccountGroup | I_Customer | CustomerAccountGroup | ||
| CustomerendasAccount | ||||
| ClearingAccountingDocument | I_OperationalAcctgDocItem | ClearingAccountingDocument |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #D
@Metadata.ignorePropagatedAnnotations: true
//@AbapCatalog.preserveKey:true
@EndUserText.label: 'Rec Item Auth Check Helper View'
define view entity FARMLVD_APAR_ACCDOC_AUTH
as select from I_OperationalAcctgDocItem as AcctDocItm
left outer join I_Customer as cust
on AcctDocItm.Customer = cust.Customer
left outer join FARMLVD_COMPANY as CompanyCtryKey
on AcctDocItm.CompanyCode = CompanyCtryKey.CompanyCode {
key AcctDocItm.CompanyCode,
key AcctDocItm.FiscalYear,
key AcctDocItm.AccountingDocument,
key AcctDocItm.AccountingDocumentItem,
AcctDocItm.FinancialAccountType,
AcctDocItm.PostingDate,
AcctDocItm.SpecialGLCode,
AcctDocItm.BusinessArea,
AcctDocItm.FunctionalArea,
CompanyCtryKey.CountryKey,
cust.CustomerAccountGroup,
case when AcctDocItm.FinancialAccountType='K'
then AcctDocItm.Supplier
else AcctDocItm.Customer end as Account,
AcctDocItm.ClearingAccountingDocument
}
where AcctDocItm.ClearingAccountingDocument is not null
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