ACE_ACDOCA_MIG_ACCR
Get original source from ACDOCA
ACE_ACDOCA_MIG_ACCR is a CDS View that provides data about "Get original source from ACDOCA" in SAP S/4HANA. It reads from 1 data source (acdoca) and exposes 22 fields with key fields rldnr, rbukrs, gjahr, belnr, docln.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| acdoca | acdoca | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ACEV_MIG_ACCR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Get original source from ACDOCA | view | |
| AbapCatalog.preserveKey | true | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | rldnr | rldnr | ||
| KEY | rbukrs | rbukrs | ||
| KEY | gjahr | gjahr | ||
| KEY | belnr | belnr | ||
| KEY | docln | docln | ||
| acrobjtype | acrobjtype | |||
| acrlogsys | acrlogsys | |||
| acritmtype | ||||
| acrobj_id | acrobj_id | |||
| acrsobj_id | acrsobj_id | |||
| pre_gjahr | ||||
| slalittype | slalittype | |||
| currency | rwcur | |||
| effdate | bldat | |||
| podate | budat | |||
| poper | poper | |||
| poyear | ryear | |||
| awtyp | awtyp | |||
| awkey | ||||
| awsys | awsys | |||
| timestamp | timestamp | |||
| mig_source | mig_source |
@AbapCatalog.sqlViewName: 'ACEV_MIG_ACCR'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #X
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Get original source from ACDOCA'
@AbapCatalog.preserveKey:true
define view ACE_ACDOCA_MIG_ACCR
as select from acdoca
{
key rldnr,
key rbukrs,
key gjahr,
key belnr,
key docln,
acrobjtype,
acrlogsys,
cast ( acritmtype as ace_itemtype ) as acritmtype,
acrobj_id,
acrsobj_id,
cast( ( cast( acdoca.gjahr as abap.int4 ) - 1 ) as abap.char( 40 ) ) as pre_gjahr,
slalittype,
case slalittype
when '09001' then wsl
when '09002' then wsl
when '09003' then (-1)*wsl
when '09004' then (-1)*wsl
when '09005' then wsl
end as valtbp,
rwcur as currency,
cast( case slalittype
when '09001' then 'I'
when '09002' then 'U'
when '09003' then 'P'
when '09004' then 'C'
when '09005' then 'F'
end as ace_transtype ) as transtype,
bldat as effdate,
budat as podate,
poper,
ryear as poyear,
awtyp,
concat( awref, aworg ) as awkey,
awsys,
timestamp,
mig_source
}
where
acrobj_id <> ''
and acrsobj_id <> ''
and acrobjtype <> ''
and acritmtype <> ''
and(
slalittype = '09001'
or slalittype = '09002'
or slalittype = '09003'
or slalittype = '09004'
or slalittype = '09005'
)
and mig_source = 'D'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ACDOCA"
],
"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