C_APARWorklist
Open items which are not cleared in session of Write off
C_APARWorklist is a Consumption 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_APARWorklist) and exposes 13 fields with key fields CompanyCode, APARAccount. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_APARWorklist | open_items | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_PostingDate | sydate |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CompanyCode | _companycode | open_items.CompanyCode = _companycode.CompanyCode |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CAPARWORKLIST | 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 | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_APARWorklist | CompanyCode | Receiver Company Code |
| KEY | APARAccount | I_APARWorklist | APARAccount | Account |
| FinancialAccountType | I_APARWorklist | FinancialAccountType | Fin. Account Type | |
| Customer | ||||
| CustomerBasicAuthorizationGrp | I_APARWorklist | CustomerBasicAuthorizationGrp | ||
| CustomerFinsAuthorizationGrp | I_APARWorklist | CustomerFinsAuthorizationGrp | ||
| Supplier | ||||
| SupplierBasicAuthorizationGrp | I_APARWorklist | SupplierBasicAuthorizationGrp | ||
| SupplierFinsAuthorizationGrp | I_APARWorklist | SupplierFinsAuthorizationGrp | ||
| TotalAmountInCoCodeCrcy | ||||
| CompanyCodeCurrency | I_APARWorklist | CompanyCodeCurrency | Local Currency | |
| CustomerName | I_APARWorklist | CustomerName | Name of Customer | |
| CompanyCodeName | _companycode | CompanyCodeName | Company Name |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_APARWorklist.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- Parameters: P_PostingDate : sydate
CREATE VIEW C_APARWorklist AS
SELECT
open_items.CompanyCode AS CompanyCode,
open_items.APARAccount AS APARAccount,
open_items.FinancialAccountType AS FinancialAccountType,
cast ( open_items.Customer as fis_kunnr ) AS Customer,
open_items.CustomerBasicAuthorizationGrp AS CustomerBasicAuthorizationGrp,
open_items.CustomerFinsAuthorizationGrp AS CustomerFinsAuthorizationGrp,
cast (open_items.Supplier as fis_lifnr ) AS Supplier,
open_items.SupplierBasicAuthorizationGrp AS SupplierBasicAuthorizationGrp,
open_items.SupplierFinsAuthorizationGrp AS SupplierFinsAuthorizationGrp,
cast( sum(open_items.TotalAmountInCoCodeCrcy) as dmshb_farp ) AS TotalAmountInCoCodeCrcy,
open_items.CompanyCodeCurrency AS CompanyCodeCurrency,
open_items.CustomerName AS CustomerName,
_companycode.CompanyCodeName AS CompanyCodeName
FROM I_APARWorklist AS open_items
LEFT OUTER JOIN I_CompanyCode AS _companycode ON open_items.CompanyCode = _companycode.CompanyCode -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA