FMUSFGA_FROM_ACDOCA_CCFWD
Ledger 95 data from ACDOCA for correction/close postings
FMUSFGA_FROM_ACDOCA_CCFWD is a CDS View that provides data about "Ledger 95 data from ACDOCA for correction/close postings" in SAP S/4HANA. It reads from 3 data sources (acdoca, fmfg_uj_activ, FMUSFGA_COMPAT) and exposes 38 fields. It has 1 association to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| acdoca | acdoca | union_all |
| fmfg_uj_activ | activation | inner |
| FMUSFGA_COMPAT | FMUSFGA_COMPAT | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | finsc_period | _finsc_period_0 | _finsc_period_0.fiscal_year_variant = acdoca.periv and _finsc_period_0.fiscal_year = acdoca.ryear and _finsc_period_0.fiscal_period = '001' |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FMUSFGA_ACDOCCV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | false | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Ledger 95 data from ACDOCA for correction/close postings | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| rclnt | rclnt | |||
| gl_sirid | gl_sirid | |||
| rldnr | rldnr | |||
| rrcty | rrcty | |||
| rvers | rvers | |||
| ryear | ryear | |||
| rtcur | rtcur | |||
| drcrk | drcrk | |||
| poper | poper | |||
| docct | docct | |||
| docnr | docnr | |||
| docln | docln | |||
| rbukrs | rbukrs | |||
| racct | racct | |||
| rbusa | rbusa | |||
| rprctr | rprctr | |||
| rcntr | rcntr | |||
| rprojk | rprojk | |||
| rfarea | rfarea | |||
| gl_sirid | ||||
| rldnr | ||||
| rrcty | rrcty | |||
| rvers | ||||
| ryear | ryear | |||
| rtcur | rtcur | |||
| drcrk | drcrk | |||
| poper | poper | |||
| docct | ||||
| docnr | acdoca | belnr | ||
| docln | docln | |||
| rbukrs | rbukrs | |||
| racct | racct | |||
| rbusa | rbusa | |||
| rprctr | acdoca | prctr | ||
| rcntr | rcntr | |||
| rprojk | prps | pspnr | ||
| rfarea | rfarea | |||
| rfund | rfund |
@AbapCatalog.sqlViewName: 'FMUSFGA_ACDOCCV'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: false
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Ledger 95 data from ACDOCA for correction/close postings'
@AbapCatalog.viewEnhancementCategory: [#UNION, #PROJECTION_LIST]
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@AccessControl.personalData.blocking
@ClientHandling.algorithm: #SESSION_VARIABLE
define view FMUSFGA_FROM_ACDOCA_CCFWD
as select from FMUSFGA_COMPAT
{
rclnt,
gl_sirid,
rldnr,
rrcty,
rvers,
ryear,
rtcur,
drcrk,
poper,
docct,
docnr,
docln,
rbukrs,
racct,
rbusa,
rprctr,
rcntr,
rprojk,
rfarea,
rfund
}
union all select from acdoca
inner join fmfg_uj_activ as activation on acdoca.rclnt = activation.client
association to finsc_ledger on finsc_ledger.rldnr = acdoca.rldnr
and finsc_ledger.xleading = 'X' // Leading ledger only
association [0..1] to prps on acdoca.ps_pspid = prps.posid // To get correct format to replace FMUSFGA.PROJK
association [0..1] to finsc_period on finsc_period.fiscal_year_variant = acdoca.periv
and finsc_period.fiscal_year = acdoca.ryear
and finsc_period.fiscal_period = acdoca.poper
association [0..1] to finsc_period as _finsc_period_0 on _finsc_period_0.fiscal_year_variant = acdoca.periv
and _finsc_period_0.fiscal_year = acdoca.ryear
and _finsc_period_0.fiscal_period = '001'
{
rclnt,
cast('000000000000000000' as abap.char( 18 )) as gl_sirid,
cast('95' as abap.char(2)) as rldnr,
rrcty,
cast('001' as abap.char(3)) as rvers,
ryear,
rtcur,
drcrk,
poper,
'S' as docct,
acdoca.belnr as docnr,
docln,
rbukrs,
racct,
rbusa,
acdoca.prctr as rprctr,
rcntr,
prps.pspnr as rprojk,
rfarea,
rfund
}
where
activation.uj_activation_timestamp <= acdoca.timestamp // Entered on or after UL activation
and bstat = 'C' // Correction and c/fwd type items only
and acdoca.rldnr = finsc_ledger.rldnr
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"FMUSFGA_COMPAT",
"ACDOCA",
"FINSC_LEDGER",
"FMFG_UJ_ACTIV",
"PRPS"
],
"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