I_APARWorklist
Open items which are not cleared in session of Write off
I_APARWorklist is a Composite CDS View that provides data about "Open items which are not cleared in session of Write off" in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 21 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_OperationalAcctgDocItem | open_items | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IAPARWORKLIST | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Open items which are not cleared in session of Write off | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_OperationalAcctgDocItem | CompanyCode | |
| KEY | AccountingDocument | I_OperationalAcctgDocItem | AccountingDocument | |
| KEY | FiscalYear | I_OperationalAcctgDocItem | FiscalYear | |
| KEY | AccountingDocumentItem | I_OperationalAcctgDocItem | AccountingDocumentItem | |
| DebitCreditCode | I_OperationalAcctgDocItem | DebitCreditCode | ||
| APARAccount | I_OperationalAcctgDocItem | Customer | ||
| FinancialAccountType | I_OperationalAcctgDocItem | FinancialAccountType | ||
| Customer | I_OperationalAcctgDocItem | Customer | ||
| CustomerBasicAuthorizationGrp | ||||
| CustomerFinsAuthorizationGrp | ||||
| Supplier | I_OperationalAcctgDocItem | Supplier | ||
| SupplierBasicAuthorizationGrp | ||||
| SupplierFinsAuthorizationGrp | ||||
| TotalAmountInCoCodeCrcy | I_OperationalAcctgDocItem | AmountInCompanyCodeCurrency | ||
| CompanyCodeCurrency | I_OperationalAcctgDocItem | CompanyCodeCurrency | ||
| CustomerName | ||||
| PostingDate | I_OperationalAcctgDocItem | PostingDate | ||
| FollowOnDocumentType | I_OperationalAcctgDocItem | FollowOnDocumentType | ||
| SpecialGLTransactionType | I_OperationalAcctgDocItem | SpecialGLTransactionType | ||
| IsUsedInPaymentTransaction | I_OperationalAcctgDocItem | IsUsedInPaymentTransaction | ||
| SpecialGLCode | I_OperationalAcctgDocItem | SpecialGLCode |
@AbapCatalog: {sqlViewName: 'IAPARWORKLIST', preserveKey: true}
@EndUserText.label: 'Open items which are not cleared in session of Write off'
@ObjectModel: {
usageType.serviceQuality: #C,
usageType.sizeCategory: #XXL,
usageType.dataClass: #TRANSACTIONAL
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AbapCatalog.compiler.compareFilter:true
@VDM.viewType: #COMPOSITE
//This view only support to get not cleared open items for customer!
define view I_APARWorklist
as select from I_OperationalAcctgDocItem as open_items
{
key open_items.CompanyCode,
key open_items.AccountingDocument,
key open_items.FiscalYear,
key open_items.AccountingDocumentItem,
open_items.DebitCreditCode,
open_items.Customer as APARAccount,
open_items.FinancialAccountType,
open_items.Customer,
open_items._Customer.AuthorizationGroup as CustomerBasicAuthorizationGrp,
open_items._CustomerCompany.AuthorizationGroup as CustomerFinsAuthorizationGrp,
open_items.Supplier,
// Since the authorization group will be deprecated from lower CDS view.
// open_items.SupplierBasicAuthorizationGrp,
// open_items._SupplierCompany.AuthorizationGroup as SupplierFinsAuthorizationGrp,
cast( '' as brgru) as SupplierBasicAuthorizationGrp,
cast( '' as brgru) as SupplierFinsAuthorizationGrp,
@Semantics.amount.currencyCode: 'CompanyCodeCurrency'
open_items.AmountInCompanyCodeCurrency as TotalAmountInCoCodeCrcy,
open_items.CompanyCodeCurrency,
open_items._CustomerText.CustomerName as CustomerName,
open_items.PostingDate,
open_items.FollowOnDocumentType, //rebzt
open_items.SpecialGLTransactionType, //umsks
open_items.IsUsedInPaymentTransaction, //xzahl
open_items.SpecialGLCode //umskz
} where open_items.ClearingJournalEntry = ''
and open_items.ClearingDate = '00000000'
and open_items.FinancialAccountType = 'D'
and open_items.AccountingDocumentCategory != 'D'
and open_items.AccountingDocumentCategory != 'M'
and open_items.AccountingDocumentCategory != 'S'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CUSTOMER",
"I_CUSTOMERCOMPANY",
"I_OPERATIONALACCTGDOCITEM"
],
"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