I_AccountingNotification

DDL: I_ACCOUNTINGNOTIFICATION Type: view_entity BASIC Package: FABTI_ACCNTG_NOTIFICATION_EXT

Accounting Notification

I_AccountingNotification is a Basic CDS View that provides data about "Accounting Notification" in SAP S/4HANA. It reads from 1 data source (fan_hdr) and exposes 41 fields with key field AccountingNotificationUUID. It has 11 associations to related views. It is exposed through 2 OData services (ASQL_F7289, UI_FIN_MNGACCNOTIF). Part of development package FABTI_ACCNTG_NOTIFICATION_EXT.

Data Sources (1)

SourceAliasJoin Type
fan_hdr fan_hdr from

Associations (11)

CardinalityTargetAliasCondition
[0..*] I_AcctgNotifAddlCompanyCode _AddlCompanyCode $projection.AccountingNotificationUUID = _AddlCompanyCode.AccountingNotificationUUID
[0..1] I_CompanyCode _LeadingCompanyCode $projection.LeadingCompanyCode = _LeadingCompanyCode.CompanyCode
[0..1] I_CompanyCode _LeadingCompanyCodeText $projection.LeadingCompanyCode = _LeadingCompanyCodeText.CompanyCode
[0..1] I_AccountingNotificationType _AccountingNotificationType $projection.AccountingNotificationType = _AccountingNotificationType.AccountingNotificationType
[0..1] I_AcctgNotifRefDocumentType _ReferenceDocumentType $projection.ReferenceDocumentType = _ReferenceDocumentType.ReferenceDocumentType
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[0..1] I_AcctgNotifProcessingStatus _ProcessingStatus $projection.AcctgNotifProcessingStatus = _ProcessingStatus.AcctgNotifProcessingStatus
[0..1] P_ProcgPostingStatusMapping _StatusMapping $projection.AcctgNotifProcessingStatus = _StatusMapping.AcctgNotifProcessingStatus
[0..1] I_AcctgNotifPostingStatus _PostingStatus $projection.acctgnotifpostingstatus = _PostingStatus.AcctgNotifPostingStatus
[0..1] I_FinanceNotificationType _FinanceNotificationType $projection.FinanceNotificationType = _FinanceNotificationType.FinanceNotificationType

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Accounting Notification view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F7289 ASQL_F7289 C2 NOT_RELEASED
UI_FIN_MNGACCNOTIF UI_FIN_MNGACCNOTIF V4 C1 NOT_RELEASED

Fields (41)

KeyFieldSource TableSource FieldDescription
KEY AccountingNotificationUUID accounting_notification_uuid Accounting Notification UUID
FinanceNotificationUUID finance_notification_uuid
AccountingNotificationType accounting_notification_type Accounting Notification Object Type
FinanceNotificationType finance_notification_type
ReferenceDocumentType reference_document_type Reference Document Type
ReferenceDocument reference_document Ref. Document Number
ReferenceDocumentContext reference_document_context Reference Document Context
ReferenceDocumentItem Ref. Doc. Item
ReferenceDocumentLogicalSystem Ref. Doc. Lgcl Syst.
CreationDateTime Time Stamp
ReferenceDocumentOID reference_document_oid Reference Doc.OID
ReferenceDocumentDisplayID reference_document_display_id Reference Document Display ID
ReferenceDocumentEventOID reference_document_event_oid
RefDocumentEventDisplayID ref_document_event_display_id
RefDocLastChangeDateTime ref_doc_last_change_datetime Last Changed At
LeadingCompanyCode leading_company_code Leading Company Code
ProposedPostingDate proposed_posting_date Rvsl Propsd Post Dat
AcctgNotifProcessingStatus acctg_notif_processing_status Accounting Notification Status
AcctgNotifPostingStatus _StatusMapping AcctgNotifPostingStatus
LastChangeDateTime Last Changed At
CreatedByUser created_by_user User Name
LastChangedByUser last_changed_by_user User Name
ApplicationLogHandle Handle
LatestMessageClass latest_message_class Message Class
LatestMessageNumber latest_message_number Message Number
LatestMessageSeverity latest_message_severity Message Severity
LatestMessageVariable1Text latest_message_variable1_text Message Variable 1
LatestMessageVariable2Text latest_message_variable2_text Message Variable 2
LatestMessageVariable3Text latest_message_variable3_text Message Variable 3
LatestMessageVariable4Text latest_message_variable4_text Message Variable 4
IsReversal is_reversal Reversal
_AddlCompanyCode _AddlCompanyCode
_LeadingCompanyCode _LeadingCompanyCode
_LeadingCompanyCodeText _LeadingCompanyCodeText
_AccountingNotificationType _AccountingNotificationType
_ReferenceDocumentType _ReferenceDocumentType
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_ProcessingStatus _ProcessingStatus
_PostingStatus _PostingStatus
_FinanceNotificationType _FinanceNotificationType

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 I_AccountingNotification.
-- 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.

CREATE VIEW I_AccountingNotification AS
SELECT
  accounting_notification_uuid AS AccountingNotificationUUID,
  finance_notification_uuid AS FinanceNotificationUUID,
  accounting_notification_type AS AccountingNotificationType,
  finance_notification_type AS FinanceNotificationType,
  reference_document_type AS ReferenceDocumentType,
  reference_document AS ReferenceDocument,
  reference_document_context AS ReferenceDocumentContext,
  cast ( reference_document_item as fan_ref_doc_item ) AS ReferenceDocumentItem,
  cast( ref_doc_logical_system as fan_ref_doc_logical_system ) AS ReferenceDocumentLogicalSystem,
  cast( creation_datetime as fan_creation_datetime ) AS CreationDateTime,
  reference_document_oid AS ReferenceDocumentOID,
  reference_document_display_id AS ReferenceDocumentDisplayID,
  reference_document_event_oid AS ReferenceDocumentEventOID,
  ref_document_event_display_id AS RefDocumentEventDisplayID,
  ref_doc_last_change_datetime AS RefDocLastChangeDateTime,
  leading_company_code AS LeadingCompanyCode,
  proposed_posting_date AS ProposedPostingDate,
  acctg_notif_processing_status AS AcctgNotifProcessingStatus,
  _StatusMapping.AcctgNotifPostingStatus AS AcctgNotifPostingStatus,
  cast( last_change_datetime as fan_last_change_datetime ) AS LastChangeDateTime,
  created_by_user AS CreatedByUser,
  last_changed_by_user AS LastChangedByUser,
  cast( application_log_handle as abap.char( 22) ) AS ApplicationLogHandle,
  latest_message_class AS LatestMessageClass,
  latest_message_number AS LatestMessageNumber,
  latest_message_severity AS LatestMessageSeverity,
  latest_message_variable1_text AS LatestMessageVariable1Text,
  latest_message_variable2_text AS LatestMessageVariable2Text,
  latest_message_variable3_text AS LatestMessageVariable3Text,
  latest_message_variable4_text AS LatestMessageVariable4Text,
  is_reversal AS IsReversal
FROM fan_hdr
LEFT OUTER JOIN I_AcctgNotifAddlCompanyCode AS _AddlCompanyCode ON AccountingNotificationUUID = _AddlCompanyCode.AccountingNotificationUUID  -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _LeadingCompanyCode ON LeadingCompanyCode = _LeadingCompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _LeadingCompanyCodeText ON LeadingCompanyCode = _LeadingCompanyCodeText.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_AccountingNotificationType AS _AccountingNotificationType ON AccountingNotificationType = _AccountingNotificationType.AccountingNotificationType  -- association [0..1]
LEFT OUTER JOIN I_AcctgNotifRefDocumentType AS _ReferenceDocumentType ON ReferenceDocumentType = _ReferenceDocumentType.ReferenceDocumentType  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_AcctgNotifProcessingStatus AS _ProcessingStatus ON AcctgNotifProcessingStatus = _ProcessingStatus.AcctgNotifProcessingStatus  -- association [0..1]
LEFT OUTER JOIN P_ProcgPostingStatusMapping AS _StatusMapping ON AcctgNotifProcessingStatus = _StatusMapping.AcctgNotifProcessingStatus  -- association [0..1]
LEFT OUTER JOIN I_AcctgNotifPostingStatus AS _PostingStatus ON acctgnotifpostingstatus = _PostingStatus.AcctgNotifPostingStatus  -- association [0..1]
LEFT OUTER JOIN I_FinanceNotificationType AS _FinanceNotificationType ON FinanceNotificationType = _FinanceNotificationType.FinanceNotificationType  -- association [0..1]
;