FAA_SDM_DOCIT_CP02
Compare splitting number of line items
FAA_SDM_DOCIT_CP02 is a CDS View that provides data about "Compare splitting number of line items" in SAP S/4HANA. It reads from 8 data sources and exposes 29 fields with key fields bukrs, anln1, anln2, gjahr, awtyp.
Data Sources (8)
| Source | Alias | Join Type |
|---|---|---|
| acdoca | acdoca | inner |
| acdoca | acdoca | inner |
| FAA_CFG_DEPR_AREA | cfg_depr_area | inner |
| FAA_CFG_DEPR_AREA | cfg_depr_area | inner |
| faat_doc_it | doc_it | from |
| fins_tech_ledger | ledger | inner |
| fins_tech_ledger | ledger | inner |
| faagtt_plan_val | plan_values | union_all |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FAAVDOCITCP02 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Compare splitting number of line items | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | bukrs | faat_doc_it | bukrs | Value |
| KEY | anln1 | faat_doc_it | anln1 | Asset |
| KEY | anln2 | faat_doc_it | anln2 | Sub-number |
| KEY | gjahr | faat_doc_it | gjahr | Settlement Year |
| KEY | awtyp | faat_doc_it | awtyp | Reference Document Type |
| KEY | awref | faat_doc_it | awref | Reference Doc. |
| KEY | aworg | faat_doc_it | aworg | Refer. Org.Unit |
| KEY | awsys | faat_doc_it | awsys | Logical System |
| KEY | subta | faat_doc_it | subta | Sub Transaction |
| KEY | afabe | faat_doc_it | afabe | Deprec. Area |
| KEY | slalittype | faat_doc_it | slalittype | SLALineItemType |
| KEY | drcrk | faat_doc_it | drcrk | Debit/Credit |
| KEY | poper | Posting periods | ||
| KEY | source_table | Source table | ||
| bukrs | Value | |||
| KEY | anln1 | faagtt_plan_val | anln1 | Asset |
| KEY | anln2 | faagtt_plan_val | anln2 | Sub-number |
| KEY | gjahr | faagtt_plan_val | gjahr | Settlement Year |
| KEY | awtyp | Reference Document Type | ||
| KEY | awref | Reference Doc. | ||
| KEY | aworg | Refer. Org.Unit | ||
| KEY | awsys | Logical System | ||
| KEY | subta | Sub Transaction | ||
| KEY | afabe | faagtt_plan_val | afabe | Deprec. Area |
| KEY | slalittype | faagtt_plan_val | slalittype | SLALineItemType |
| KEY | drcrk | Debit/Credit | ||
| KEY | poper | faagtt_plan_val | poper | Posting periods |
| KEY | source_table | Source table | ||
| counter |
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 FAA_SDM_DOCIT_CP02.
-- 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.
-- SQL view name: FAAVDOCITCP02
CREATE VIEW FAA_SDM_DOCIT_CP02 AS
SELECT
doc_it.bukrs AS bukrs,
doc_it.anln1 AS anln1,
doc_it.anln2 AS anln2,
doc_it.gjahr AS gjahr,
doc_it.awtyp AS awtyp,
doc_it.awref AS awref,
doc_it.aworg AS aworg,
doc_it.awsys AS awsys,
doc_it.subta AS subta,
doc_it.afabe AS afabe,
doc_it.slalittype AS slalittype,
doc_it.drcrk AS drcrk,
cast( '000' as poper preserving type ) AS poper,
cast( 'DOC_IT ' as char20 preserving type ) AS source_table,
cast( count( * ) as int4 preserving type ) AS counter
FROM faat_doc_it AS doc_it
INNER JOIN FAA_CFG_DEPR_AREA AS cfg_depr_area ON /* join condition not captured in parsed metadata */
INNER JOIN fins_tech_ledger AS ledger ON /* join condition not captured in parsed metadata */
INNER JOIN acdoca ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): faagtt_plan_val
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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