C_DrctActyAllocJournalEntry
Journal Entry for Direct Activity Allocation
C_DrctActyAllocJournalEntry is a Consumption CDS View that provides data about "Journal Entry for Direct Activity Allocation" in SAP S/4HANA. It has 3 associations to related views.
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCodeText | $projection.CompanyCode = _CompanyCodeText.CompanyCode |
| [0..1] | I_AccountingDocumentTypeText | _AccountingDocumentTypeText | $projection.AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType and _AccountingDocumentTypeText.Language = $session.system_language |
| [0..1] | I_BusTransactionTypeText | _BusinessTransactionTypeText | $projection.BusinessTransactionType = _BusinessTransactionTypeText.BusinessTransactionType and _BusinessTransactionTypeText.Language = $session.system_language |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDRCTACTYJE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Journal Entry for Direct Activity Allocation | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| UI.headerInfo.typeName | Item | view | |
| UI.headerInfo.typeNamePlural | Items | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | SourceLedger | SourceLedger | Source Ledger | |
| IsLeadingLedger | IsLeadingLedger | |||
| CompanyCodeName | _CompanyCodeText | CompanyCodeName | Company Name | |
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| AccountingDocumentTypeName | _AccountingDocumentTypeText | AccountingDocumentTypeName | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| LedgerGroup | LedgerGroup | Ledger Group | ||
| ReferenceDocument | ReferenceDocument | Reference Document | ||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| ReferenceDocumentContext | ReferenceDocumentContext | Reference Document Context | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| BusinessTransactionType | BusinessTransactionType | Bus.transaction | ||
| BusinessTransactionTypeName | _BusinessTransactionTypeText | BusinessTransactionTypeName |
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 C_DrctActyAllocJournalEntry.
-- 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: CDRCTACTYJE
CREATE VIEW C_DrctActyAllocJournalEntry AS
SELECT
CompanyCode,
FiscalYear,
AccountingDocument,
SourceLedger,
IsLeadingLedger,
_CompanyCodeText.CompanyCodeName AS CompanyCodeName,
AccountingDocumentType,
_AccountingDocumentTypeText.AccountingDocumentTypeName AS AccountingDocumentTypeName,
ControllingArea,
LedgerGroup,
ReferenceDocument,
ReferenceDocumentType,
ReferenceDocumentContext,
FiscalPeriod,
BusinessTransactionType,
_BusinessTransactionTypeText.BusinessTransactionTypeName AS BusinessTransactionTypeName
LEFT OUTER JOIN I_CompanyCode AS _CompanyCodeText ON CompanyCode = _CompanyCodeText.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentTypeText AS _AccountingDocumentTypeText ON AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType AND _AccountingDocumentTypeText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_BusTransactionTypeText AS _BusinessTransactionTypeText ON BusinessTransactionType = _BusinessTransactionTypeText.BusinessTransactionType AND _BusinessTransactionTypeText.Language = $session.system_language -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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