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 |
@AbapCatalog.sqlViewName: 'FAAV_CMP_LDT'
@ClientHandling.algorithm: #AUTOMATED
@AccessControl.authorizationCheck: #NOT_ALLOWED
@ObjectModel.usageType.serviceQuality: #P
@EndUserText.label: 'Join of FAAT_CMP and FAAT_CMP_LDT'
define view FAA_CMP_LDT
as select
from faat_cmp as v1
left outer join FAA_TF_CMPACTIVELDTSEGMENT( P_SAPClient : $session.client ) as v2 on v2.sapclient = v1.mandt
and v2.Comp_Code = v1.comp_code
{
key v1.mandt as mandt,
key 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,
v2.doc_type as ldt_doc_type,
v2.wo_depr_calc as ldt_wo_depr_calc
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"FAAT_CMP"
],
"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