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 | Accrual Object Type |
| KEY | gjahr | ACE_ACDOCA_MIG_ACCR | gjahr | Settlement Year |
| KEY | rbukrs | ACE_ACDOCA_MIG_ACCR | rbukrs | Company Code |
| KEY | objid | acesobj | objid | Work Center |
| KEY | subid | acesobj | subid | Topic ID |
| KEY | acrtype | ACE_ITEMTYPEL_DISTINCT | acrtype | Accrual Type |
| KEY | accrule | tace_combination | accrule | Accounting Principle |
| rldnr | ACE_ACDOCA_MIG_ACCR | rldnr | Ledger (Compat.) | |
| acritmtype | ACE_ACDOCA_MIG_ACCR | acritmtype | Accrual Item Type | |
| acrobj_id | ACE_ACDOCA_MIG_ACCR | acrobj_id | Accrual Object | |
| acrsobj_id | ACE_ACDOCA_MIG_ACCR | acrsobj_id | Accrual Subobject | |
| pre_gjahr | ACE_ACDOCA_MIG_ACCR | pre_gjahr | ||
| slalittype | ACE_ACDOCA_MIG_ACCR | slalittype | SLALineItemType | |
| valtbp | ACE_ACDOCA_MIG_ACCR | valtbp | Posted | |
| currency | ACE_ACDOCA_MIG_ACCR | currency | Valuation Crcy | |
| transtype | ACE_ACDOCA_MIG_ACCR | transtype | ACE Transaction | |
| effdate | ACE_ACDOCA_MIG_ACCR | effdate | Key Date for Accrls | |
| podate | ACE_ACDOCA_MIG_ACCR | podate | Posting Date | |
| poper | ACE_ACDOCA_MIG_ACCR | poper | Posting periods | |
| poyear | ACE_ACDOCA_MIG_ACCR | poyear | FI Fiscal Year | |
| awtyp | ACE_ACDOCA_MIG_ACCR | awtyp | Reference Document Type | |
| awkey | ACE_ACDOCA_MIG_ACCR | awkey | RefKey GJE | |
| awsys | ACE_ACDOCA_MIG_ACCR | awsys | Logical System | |
| timestamp | ACE_ACDOCA_MIG_ACCR | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | |
| mig_source | ACE_ACDOCA_MIG_ACCR | mig_source | Migr. Source |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view ACE_ACDOCA_MIG_ACRTYPE_RULE.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ACEV_TYPE_RULE
CREATE VIEW ACE_ACDOCA_MIG_ACRTYPE_RULE AS
SELECT
acdoca.acrobjtype AS acrobjtype,
acdoca.gjahr AS gjahr,
acdoca.rbukrs AS rbukrs,
acesobj.objid AS objid,
acesobj.subid AS subid,
tace_itemtypel.acrtype AS acrtype,
tace_combination.accrule AS accrule,
acdoca.rldnr AS rldnr,
acdoca.acritmtype AS acritmtype,
acdoca.acrobj_id AS acrobj_id,
acdoca.acrsobj_id AS acrsobj_id,
acdoca.pre_gjahr AS pre_gjahr,
acdoca.slalittype AS slalittype,
acdoca.valtbp AS valtbp,
acdoca.currency AS currency,
acdoca.transtype AS transtype,
acdoca.effdate AS effdate,
acdoca.podate AS podate,
acdoca.poper AS poper,
acdoca.poyear AS poyear,
acdoca.awtyp AS awtyp,
acdoca.awkey AS awkey,
acdoca.awsys AS awsys,
acdoca.timestamp AS timestamp,
acdoca.mig_source AS mig_source
FROM ACE_ACDOCA_MIG_ACCR AS acdoca
LEFT OUTER JOIN acesobj ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ACE_ITEMTYPEL_DISTINCT AS tace_itemtypel ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tace_combination ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA