fmlv_ckmlct
Replacement object for CKMLCT
fmlv_ckmlct is a CDS View that provides data about "Replacement object for CKMLCT" in SAP S/4HANA. It reads from 5 data sources (ckmlv, finsc_curtype, fmlt_curtp_ml, finsc_ledger, t001k) and exposes 7 fields with key fields bwkey, curtp.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| ckmlv | ckmlv | from |
| finsc_curtype | curtp_def | inner |
| fmlt_curtp_ml | curtp_ml | inner |
| finsc_ledger | ledger | inner |
| t001k | t001k | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FMLVCKMLCT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #FULL | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| EndUserText.label | Replacement object for CKMLCT | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | bwkey | ckmlv | bwkey | |
| KEY | curtp | |||
| waers | fmlt_curtp_ml | waers | ||
| adjust_flag | ||||
| adjust_vers | ||||
| adjust_date | ||||
| adjust_user |
@AbapCatalog.sqlViewName: 'FMLVCKMLCT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AbapCatalog.buffering:{
status: #ACTIVE,
type: #FULL
}
@AccessControl.authorizationCheck: #NOT_ALLOWED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
usageType: {
serviceQuality: #A,
sizeCategory: #S,
dataClass: #CUSTOMIZING
}
}
@EndUserText.label: 'Replacement object for CKMLCT'
// --------------------------------------------------------------------
// Use Case 1: Classic ML currency scenario
// -> ML supports an external currency type only once.
// -> Return external currency types, independent of assigned ledger.
// --------------------------------------------------------------------
// Use Case 2: Flexible or full parallel accounting scenario
// -> ML supports same external currency type in multiple ledgers.
// -> Return unique currency types.
// --------------------------------------------------------------------
define view fmlv_ckmlct
as
select from ckmlv as ckmlv
left outer to one join fmlc_toggle as switch on switch.toggle_id = 'FINS_PARALLEL_ACCOUNTING_RS'
inner join t001k as t001k on t001k.bwkey = ckmlv.bwkey
inner join fmlt_curtp_ml as curtp_ml on curtp_ml.rbukrs = t001k.bukrs
inner join finsc_ledger as ledger on ledger.rldnr = curtp_ml.rldnr
inner join finsc_curtype as curtp_def on( ( curtp_def.curtype = curtp_ml.curtp
and curtp_def.rldnr = ''
and ledger.xleading = 'X' )
or( curtp_def.ext_curtype = curtp_ml.curtp
and curtp_def.rldnr = curtp_ml.rldnr
and ledger.xleading = '' ) )
{
key ckmlv.bwkey as bwkey,
key case when switch.is_active = 'X' then curtp_def.curtype else curtp_ml.curtp end as curtp,
curtp_ml.waers as waers,
' ' as adjust_flag,
' ' as adjust_vers,
cast( '00000000' as abap.dats ) as adjust_date,
' ' as adjust_user
}
where
ckmlv.mlbwi = 'X'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"CKMLV",
"FINSC_CURTYPE",
"FINSC_LEDGER",
"FMLC_TOGGLE",
"FMLT_CURTP_ML",
"T001K"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"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