FAA_CMP_LDT
Join of FAAT_CMP and FAAT_CMP_LDT
FAA_CMP_LDT is a CDS View that provides data about "Join of FAAT_CMP and FAAT_CMP_LDT" in SAP S/4HANA. It reads from 2 data sources (FAA_TF_CMPACTIVELDTSEGMENT, faat_cmp) and exposes 7 fields with key fields mandt, comp_code.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| FAA_TF_CMPACTIVELDTSEGMENT | FAA_TF_CMPACTIVELDTSEGMENT | left_outer |
| faat_cmp | v1 | from |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FAAV_CMP_LDT | view | |
| ClientHandling.algorithm | #AUTOMATED | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| EndUserText.label | Join of FAAT_CMP and FAAT_CMP_LDT | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | mandt | faat_cmp | mandt | Editing Client |
| KEY | comp_code | faat_cmp | comp_code | Procuring Comp. Cde |
| cmp_status | faat_cmp | status | Workflow Status | |
| locked | faat_cmp | locked | TRUE | |
| ldt_status | v2 | Status | Workflow Status | |
| Dateendasldt_date | ||||
| ldt_doc_type | v2 | doc_type | VAT Document Type |
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_CMP_LDT.
-- 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: FAAV_CMP_LDT
CREATE VIEW FAA_CMP_LDT AS
SELECT
v1.mandt AS mandt,
v1.comp_code AS comp_code,
v1.status AS cmp_status,
v1.locked AS locked,
v2.Status AS ldt_status,
case when v2.Date is null then '00000000' else v2.Date end as ldt_date AS Dateendasldt_date,
v2.doc_type AS ldt_doc_type
FROM faat_cmp AS v1
LEFT OUTER JOIN FAA_TF_CMPACTIVELDTSEGMENT ON /* join condition not captured in parsed metadata */
;
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