I_FinAPARClearingProposalItm

DDL: I_FINAPARCLEARINGPROPOSALITM Type: view_entity BASIC Package: FIN_APAR_AI_CLEARING_CORE

APAR Clearing Proposal Item

I_FinAPARClearingProposalItm is a Basic CDS View that provides data about "APAR Clearing Proposal Item" in SAP S/4HANA. It reads from 1 data source (frpac_prpsl_itm) and exposes 25 fields with key fields FinAPARClearingProposalSetUUID, FinAPARClearingProposalGrpUUID, CompanyCode, FiscalYear, AccountingDocument. It has 1 association to related views. Part of development package FIN_APAR_AI_CLEARING_CORE.

Data Sources (1)

SourceAliasJoin Type
frpac_prpsl_itm frpac_prpsl_itm from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_OperationalAcctgDocItem _OperationalAcctgDocItem $projection.CompanyCode = _OperationalAcctgDocItem.CompanyCode and $projection.AccountingDocument = _OperationalAcctgDocItem.AccountingDocument and $projection.FiscalYear = _OperationalAcctgDocItem.FiscalYear and $projection.AccountingDocumentItem = _OperationalAcctgDocItem.AccountingDocumentItem

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label APAR Clearing Proposal Item view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
AccessControl.personalData.blocking #REQUIRED view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY FinAPARClearingProposalSetUUID proposal_set_uuid
KEY FinAPARClearingProposalGrpUUID proposal_grp_uuid
KEY CompanyCode company_code Company Code
KEY FiscalYear fiscal_year Tax Item Fiscal Year
KEY AccountingDocument accounting_doc Document Number
KEY AccountingDocumentItem accounting_doc_item
AccountingDocumentType doc_type VAT Document Type
DocumentDate doc_date Document Date
PostingDate posting_date Posting Date
Customer customer Sold-to Party
Supplier supplier Supplier
FinancialAccountType account_type SI Account type
DocumentItemText item_text Text
AssignmentReference assignment_ref Assignment Reference
TransactionCurrency transaction_currency Transaction Currency
AmountInTransactionCurrency amount_tc Amount in Transaction Currency
InvoiceReference inv_ref Invoice Reference
InvoiceReferenceFiscalYear inv_ref_fiscal_year Invoice Reference Fiscal Year
InvoiceItemReference inv_item_ref Invoice Item Reference
FollowOnDocumentType follow_on_doc_type Follow-On Doc. Type
SpecialGLCode special_gl_ind Special G/L Ind
ClearingJournalEntry _OperationalAcctgDocItem ClearingJournalEntry Clrng doc.
ClearingJournalEntryFiscalYear _OperationalAcctgDocItem ClearingJournalEntryFiscalYear Fiscal Year of Clearing Journal Entry
DocumentReferenceID
_OperationalAcctgDocItem _OperationalAcctgDocItem

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_FinAPARClearingProposalItm.
-- 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_FinAPARClearingProposalItm AS
SELECT
  proposal_set_uuid AS FinAPARClearingProposalSetUUID,
  proposal_grp_uuid AS FinAPARClearingProposalGrpUUID,
  company_code AS CompanyCode,
  fiscal_year AS FiscalYear,
  accounting_doc AS AccountingDocument,
  accounting_doc_item AS AccountingDocumentItem,
  doc_type AS AccountingDocumentType,
  doc_date AS DocumentDate,
  posting_date AS PostingDate,
  Customer,
  Supplier,
  account_type AS FinancialAccountType,
  item_text AS DocumentItemText,
  assignment_ref AS AssignmentReference,
  transaction_currency AS TransactionCurrency,
  amount_tc AS AmountInTransactionCurrency,
  inv_ref AS InvoiceReference,
  inv_ref_fiscal_year AS InvoiceReferenceFiscalYear,
  inv_item_ref AS InvoiceItemReference,
  follow_on_doc_type AS FollowOnDocumentType,
  special_gl_ind AS SpecialGLCode,
  _OperationalAcctgDocItem.ClearingJournalEntry AS ClearingJournalEntry,
  _OperationalAcctgDocItem.ClearingJournalEntryFiscalYear AS ClearingJournalEntryFiscalYear,
  _OperationalAcctgDocItem._JournalEntry.DocumentReferenceID AS DocumentReferenceID
FROM frpac_prpsl_itm
LEFT OUTER JOIN I_OperationalAcctgDocItem AS _OperationalAcctgDocItem ON CompanyCode = _OperationalAcctgDocItem.CompanyCode AND AccountingDocument = _OperationalAcctgDocItem.AccountingDocument AND FiscalYear = _OperationalAcctgDocItem.FiscalYear AND AccountingDocumentItem = _OperationalAcctgDocItem.AccountingDocumentItem  -- association [1..1]
;