ACE_ACDOCA_MIG_ACRTYPE_RULE
Get original source from ACDOCA
ACE_ACDOCA_MIG_ACRTYPE_RULE is a CDS View that provides data about "Get original source from ACDOCA" in SAP S/4HANA. It reads from 4 data sources (ACE_ACDOCA_MIG_ACCR, acesobj, tace_combination, ACE_ITEMTYPEL_DISTINCT) and exposes 25 fields with key fields acrobjtype, gjahr, rbukrs, objid, subid. Part of development package ACE_MIG.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| ACE_ACDOCA_MIG_ACCR | acdoca | from |
| acesobj | acesobj | left_outer |
| tace_combination | tace_combination | left_outer |
| ACE_ITEMTYPEL_DISTINCT | tace_itemtypel | left_outer |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ACEV_TYPE_RULE | 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 (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | acrobjtype | ACE_ACDOCA_MIG_ACCR | acrobjtype | |
| KEY | gjahr | ACE_ACDOCA_MIG_ACCR | gjahr | |
| KEY | rbukrs | ACE_ACDOCA_MIG_ACCR | rbukrs | |
| KEY | objid | acesobj | objid | |
| KEY | subid | acesobj | subid | |
| KEY | acrtype | ACE_ITEMTYPEL_DISTINCT | acrtype | |
| KEY | accrule | tace_combination | accrule | |
| rldnr | ACE_ACDOCA_MIG_ACCR | rldnr | ||
| acritmtype | ACE_ACDOCA_MIG_ACCR | acritmtype | ||
| acrobj_id | ACE_ACDOCA_MIG_ACCR | acrobj_id | ||
| acrsobj_id | ACE_ACDOCA_MIG_ACCR | acrsobj_id | ||
| pre_gjahr | ACE_ACDOCA_MIG_ACCR | pre_gjahr | ||
| slalittype | ACE_ACDOCA_MIG_ACCR | slalittype | ||
| valtbp | ACE_ACDOCA_MIG_ACCR | valtbp | ||
| currency | ACE_ACDOCA_MIG_ACCR | currency | ||
| transtype | ACE_ACDOCA_MIG_ACCR | transtype | ||
| effdate | ACE_ACDOCA_MIG_ACCR | effdate | ||
| podate | ACE_ACDOCA_MIG_ACCR | podate | ||
| poper | ACE_ACDOCA_MIG_ACCR | poper | ||
| poyear | ACE_ACDOCA_MIG_ACCR | poyear | ||
| awtyp | ACE_ACDOCA_MIG_ACCR | awtyp | ||
| awkey | ACE_ACDOCA_MIG_ACCR | awkey | ||
| awsys | ACE_ACDOCA_MIG_ACCR | awsys | ||
| timestamp | ACE_ACDOCA_MIG_ACCR | timestamp | ||
| mig_source | ACE_ACDOCA_MIG_ACCR | mig_source |
@AbapCatalog.sqlViewName: 'ACEV_TYPE_RULE'
@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_ACRTYPE_RULE
as select from ACE_ACDOCA_MIG_ACCR as acdoca
left outer join acesobj on acdoca.acrobjtype = acesobj.comp
and acdoca.acrlogsys = acesobj.logsys //should always be empty in migration
and acdoca.rbukrs = acesobj.bukrs
and acdoca.acrobj_id = acesobj.ref_key
and acdoca.acrsobj_id = acesobj.ref_subkey
left outer join ACE_ITEMTYPEL_DISTINCT as tace_itemtypel
on acdoca.acrobjtype = tace_itemtypel.comp
and acdoca.rbukrs = tace_itemtypel.bukrs
and acdoca.acritmtype = tace_itemtypel.itemtype
left outer join tace_combination as tace_combination
on acdoca.acrobjtype = tace_combination.comp
and acdoca.rbukrs = tace_combination.bukrs
{
key acdoca.acrobjtype,
key acdoca.gjahr,
key acdoca.rbukrs,
key acesobj.objid,
key acesobj.subid,
key tace_itemtypel.acrtype,
key tace_combination.accrule,
acdoca.rldnr,
acdoca.acritmtype,
concat(tace_itemtypel.acrtype,concat('_', tace_combination.accrule) ) as concat_itemtype,
acdoca.acrobj_id,
acdoca.acrsobj_id,
tace_itemtypel.is_itemtype_concat,
acdoca.pre_gjahr,
acdoca.slalittype,
acdoca.valtbp,
acdoca.currency,
acdoca.transtype,
acdoca.effdate,
acdoca.podate,
acdoca.poper,
acdoca.poyear,
acdoca.awtyp,
acdoca.awkey,
acdoca.awsys,
acdoca.timestamp,
acdoca.mig_source
}
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