P_FR_AuditFECContrAcctLineItem

DDL: P_FR_AUDITFECCONTRACCTLINEITEM SQL: PFRAUDITCALINITM Type: view CONSUMPTION Package: GLO_FIN_IS_AUDIT_FR

France Audit File (FEC) – FICA data

P_FR_AuditFECContrAcctLineItem is a Consumption CDS View that provides data about "France Audit File (FEC) – FICA data" in SAP S/4HANA. It reads from 1 data source (I_FR_CAAuditFECData) and exposes 39 fields with key fields CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem, Ledger. It has 6 associations to related views. Part of development package GLO_FIN_IS_AUDIT_FR.

Data Sources (1)

SourceAliasJoin Type
I_FR_CAAuditFECData FICAitems from

Parameters (2)

NameTypeDefault
P_AlternativeGLAccountIsUsed fis_disalteracct
P_MrgDocItmTextIsActive fr_fec_merge_doc_itemtxt

Associations (6)

CardinalityTargetAliasCondition
[0..*] I_AccountingDocumentTypeText _AccountingDocumentTypeText $projection.AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType
[0..*] I_GLAccountText _GLAcctInChartOfAccountsText $projection.ChartOfAccounts = _GLAcctInChartOfAccountsText.ChartOfAccounts and $projection.GLAccount = _GLAcctInChartOfAccountsText.GLAccount
[0..1] I_GLAccountInCompanyCode _GLAcctinCompany $projection.GLAccount = _GLAcctinCompany.GLAccount and $projection.CompanyCode = _GLAcctinCompany.CompanyCode
[0..*] I_GLAccountText _GLAltAcctCOAText $projection.CountryChartOfAccounts = _GLAltAcctCOAText.ChartOfAccounts and $projection.AlternativeGLAccount = _GLAltAcctCOAText.GLAccount
[0..1] I_HouseBankAccountText _HouseBankAccountText _HouseBankAccountText.Language = $session.system_language and _HouseBankAccountText.CompanyCode = $projection.CompanyCode and _HouseBankAccountText.HouseBank = $projection.HouseBank and _HouseBankAccountText.HouseBankAccount = $projection.HouseBankAccount
[0..1] I_GLAccountInChartOfAccounts _GLAcctTypeDetails $projection.ChartOfAccounts = _GLAcctTypeDetails.ChartOfAccounts and $projection.GLAccount = _GLAcctTypeDetails.GLAccount

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PFRAUDITCALINITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label France Audit File (FEC) – FICA data view

Fields (39)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_FR_CAAuditFECData CompanyCode Receiver Company Code
KEY FiscalYear
KEY AccountingDocument I_FR_CAAuditFECData AccountingDocument Journal Entry
KEY LedgerGLLineItem
KEY Ledger I_FR_CAAuditFECData Ledger Ledger
KEY CAReconciliationKey CAReconciliationKey Reconcil. Key
KEY CATotalsRecordSequenceNumber CATotalsRecordSequenceNumber Record counter
KEY CADocumentNumber CADocumentNumber Document Number
KEY CABPItemNumber CABPItemNumber Item
KEY CASubItemNumber CASubItemNumber Subitem
KEY CAClearedDocument CAClearedDocument Clearing Doc.
LedgerFiscalYear I_FR_CAAuditFECData LedgerFiscalYear
AccountingDocumentType I_FR_CAAuditFECData AccountingDocumentType Journal Entry Type
AccountingDocumentTypeName
FiscalPeriod I_FR_CAAuditFECData FiscalPeriod Tax period
ChartOfAccounts I_FR_CAAuditFECData ChartOfAccounts Node Class
CountryChartOfAccounts I_FR_CAAuditFECData CountryChartOfAccounts Chart of Accts
GLAccount I_FR_CAAuditFECData GLAccount General Ledger
FinancialAccountType
AlternativeGLAccount _GLAcctinCompany AlternativeGLAccount Group Account
HouseBank I_FR_CAAuditFECData HouseBank House Bank
HouseBankAccount I_FR_CAAuditFECData HouseBankAccount House Bank Account
PostingDate I_FR_CAAuditFECData PostingDate Posting Date for GR
BusinessPartner I_FR_CAAuditFECData BusinessPartner Issuing Authority
BusinessPartnerName
FR_FECSubledgerAccount
FR_FECSubledgerAccountName
FR_FECPieceReference
DocumentDate I_FR_CAAuditFECData DocumentDate Journal Entry Date
TransactionCurrency I_FR_CAAuditFECData TransactionCurrency Transaction Currency
AmountInTransactionCurrency I_FR_CAAuditFECData CAAmountInTransactionCurrency Amount
CompanyCodeCurrency I_FR_CAAuditFECData CompanyCodeCurrency Local Currency
CAClearingDocumentNumber I_FR_CAAuditFECData CAClearingDocumentNumber Clearing Doc.
ClearingDate I_FR_CAAuditFECData CAClearingDate Clearing
AccountingDocumentCreationDate I_FR_CAAuditFECData AccountingDocumentCreationDate Journal Entry Date
_GLAltAcctCOAText _GLAltAcctCOAText
_GLAcctInChartOfAccountsText _GLAcctInChartOfAccountsText
_GLAcctTypeDetails _GLAcctTypeDetails
_HouseBankAccountText _HouseBankAccountText

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 P_FR_AuditFECContrAcctLineItem.
-- 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: PFRAUDITCALINITM
-- Parameters: P_AlternativeGLAccountIsUsed : fis_disalteracct, P_MrgDocItmTextIsActive : fr_fec_merge_doc_itemtxt

CREATE VIEW P_FR_AuditFECContrAcctLineItem AS
SELECT
  FICAitems.CompanyCode AS CompanyCode,
  cast(FICAitems.FiscalYear as fis_gjahr preserving type) AS FiscalYear,
  FICAitems.AccountingDocument AS AccountingDocument,
  cast ( FICAitems.AccountingDocumentItem as fis_docln ) AS LedgerGLLineItem,
  FICAitems.Ledger AS Ledger,
  CAReconciliationKey,
  CATotalsRecordSequenceNumber,
  CADocumentNumber,
  CABPItemNumber,
  CASubItemNumber,
  CAClearedDocument,
  FICAitems.LedgerFiscalYear AS LedgerFiscalYear,
  FICAitems.AccountingDocumentType AS AccountingDocumentType,
  _AccountingDocumentTypeText[1:Language = 'F'].AccountingDocumentTypeName AS AccountingDocumentTypeName,
  FICAitems.FiscalPeriod AS FiscalPeriod,
  FICAitems.ChartOfAccounts AS ChartOfAccounts,
  FICAitems.CountryChartOfAccounts AS CountryChartOfAccounts,
  FICAitems.GLAccount AS GLAccount,
  cast( 'S' as farp_koart preserving type) AS FinancialAccountType,
  _GLAcctinCompany.AlternativeGLAccount AS AlternativeGLAccount,
  FICAitems.HouseBank AS HouseBank,
  FICAitems.HouseBankAccount AS HouseBankAccount,
  FICAitems.PostingDate AS PostingDate,
  FICAitems.BusinessPartner AS BusinessPartner,
  cast(FICAitems._BusinessPartner.BusinessPartnerName as businesspartnername) AS BusinessPartnerName,
  cast( FICAitems.BusinessPartner as fifr_subledgeraccount_fec preserving type ) AS FR_FECSubledgerAccount,
  cast (FICAitems._BusinessPartner.BusinessPartnerName as fifr_subledgeraccountname_fec ) AS FR_FECSubledgerAccountName,
  cast ( FICAitems.CAReferenceDocument as fis_xblnr ) AS FR_FECPieceReference,
  FICAitems.DocumentDate AS DocumentDate,
  FICAitems.TransactionCurrency AS TransactionCurrency,
  FICAitems.CAAmountInTransactionCurrency AS AmountInTransactionCurrency,
  FICAitems.CompanyCodeCurrency AS CompanyCodeCurrency,
  FICAitems.CAClearingDocumentNumber AS CAClearingDocumentNumber,
  FICAitems.CAClearingDate AS ClearingDate,
  FICAitems.AccountingDocumentCreationDate AS AccountingDocumentCreationDate
FROM I_FR_CAAuditFECData AS FICAitems
LEFT OUTER JOIN I_AccountingDocumentTypeText AS _AccountingDocumentTypeText ON AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType  -- association [0..*]
LEFT OUTER JOIN I_GLAccountText AS _GLAcctInChartOfAccountsText ON ChartOfAccounts = _GLAcctInChartOfAccountsText.ChartOfAccounts AND GLAccount = _GLAcctInChartOfAccountsText.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_GLAccountInCompanyCode AS _GLAcctinCompany ON GLAccount = _GLAcctinCompany.GLAccount AND CompanyCode = _GLAcctinCompany.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_GLAccountText AS _GLAltAcctCOAText ON CountryChartOfAccounts = _GLAltAcctCOAText.ChartOfAccounts AND AlternativeGLAccount = _GLAltAcctCOAText.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_HouseBankAccountText AS _HouseBankAccountText ON _HouseBankAccountText.Language = $session.system_language AND _HouseBankAccountText.CompanyCode = CompanyCode AND _HouseBankAccountText.HouseBank = HouseBank AND _HouseBankAccountText.HouseBankAccount = HouseBankAccount  -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAcctTypeDetails ON ChartOfAccounts = _GLAcctTypeDetails.ChartOfAccounts AND GLAccount = _GLAcctTypeDetails.GLAccount  -- association [0..1]
;