C_DrctActyAllocJournalEntry

DDL: C_DRCTACTYALLOCJOURNALENTRY SQL: CDRCTACTYJE Type: view CONSUMPTION

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)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;