Deprecated
This CDS view is deprecated in S/4HANA. Use I_ParkedOplAcctgDocument instead. View all deprecated CDS views →

I_ParkedAccountingDocument

DDL: I_PARKEDACCOUNTINGDOCUMENT SQL: IFIPARKEDACCDOC Type: view BASIC

Parked Accounting Document

I_ParkedAccountingDocument is a Basic CDS View (Dimension) that provides data about "Parked Accounting Document" in SAP S/4HANA. It reads from 1 data source (vbkpf) and exposes 47 fields with key fields CompanyCode, AccountingDocument, FiscalYear. It has 12 associations to related views.

Data Sources (1)

SourceAliasJoin Type
vbkpf vbkpf from

Associations (12)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_FiscalYearForCompanyCode _FiscalYear $projection.FiscalYear = _FiscalYear.FiscalYear and $projection.CompanyCode = _FiscalYear.CompanyCode
[0..1] I_AccountingDocumentType _AccountingDocumentType $projection.AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType
[0..1] I_User _User $projection.AccountingDocCreatedByUser = _User.UserID
[0..1] I_Currency _Currency $projection.Currency = _Currency.Currency
[0..1] I_AccountingDocumentCategory _AccountingDocumentCategory $projection.AccountingDocumentCategory = _AccountingDocumentCategory.AccountingDocumentCategory
[0..1] I_ReferenceDocumentType _ReferenceDocumentType $projection.ReferenceDocumentType = _ReferenceDocumentType.ReferenceDocumentType
[0..1] I_Currency _CompanyCodeCurrency $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
[0..1] I_Currency _AdditionalCurrency1 $projection.AdditionalCurrency1 = _AdditionalCurrency1.Currency
[0..1] I_Currency _AdditionalCurrency2 $projection.AdditionalCurrency2 = _AdditionalCurrency2.Currency
[0..1] I_LogicalSystem _LogicalSystem $projection.ReferenceDocumentLogicalSystem = _LogicalSystem.LogicalSystem
[0..1] I_LedgerGroup _LedgerGroup $projection.LedgerGroup = _LedgerGroup.LedgerGroup

Annotations (17)

NameValueLevelField
EndUserText.label Parked Accounting Document view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IFIPARKEDACCDOC view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey AccountingDocument view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_ParkedOplAcctgDocument view

Fields (47)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs Value
KEY AccountingDocument SD Document
KEY FiscalYear gjahr Settlement Year
AccountingDocumentType Rep. rec. doc. type
DocumentDate bldat Journal Entry Date
PostingDate budat Posting Date
FiscalPeriod
AccountingDocumentCreationDate Imported On
CreationTime cputm Time
LastChangeDate aedat Obsolete
ExchangeRateDate wwert Translatn Date
AccountingDocCreatedByUser usnam User Name
TransactionCode tcode Undefined range (can be used for patch levels)
IntercompanyTransaction bvorg Intercompany Transac
DocumentReferenceID xblnr Reference
AccountingDocumentHeaderText bktxt Header Text
Currency waers Transaction Currency
ExchangeRate Exchange Rate
AccountingDocumentCategory Document Status
ReferenceDocumentType awtyp Reference Document Type
OriginalReferenceDocument awkey RefKey GJE
FinancialManagementArea fikrs FM Area
CompanyCodeCurrency Local Currency
AdditionalCurrency1 Local curr. 2
AdditionalCurrency2 Local curr. 3
AdditionalCurrency1Role LC2 Crcy Type
AdditionalCurrency2Role LC3 Crcy Type
ReferenceDocumentLogicalSystem awsys Logical System
Branch brnch Business Place
InvoiceReceiptDate reindat Inv. Recpt Date
LedgerGroup ldgrp Target Ledger Group
PartnerCompany vbund Trading Partner
TaxReportingDate vatdate Valid From
TaxIsCalculatedAutomatically xmwst Calculate Tax
TaxExchangeRate txkrs Tx Crcy Transl.
_CompanyCode _CompanyCode
_FiscalYear _FiscalYear
_AccountingDocumentType _AccountingDocumentType
_User _User
_Currency _Currency
_AccountingDocumentCategory _AccountingDocumentCategory
_ReferenceDocumentType _ReferenceDocumentType
_CompanyCodeCurrency _CompanyCodeCurrency
_AdditionalCurrency1 _AdditionalCurrency1
_AdditionalCurrency2 _AdditionalCurrency2
_LogicalSystem _LogicalSystem
_LedgerGroup _LedgerGroup

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_ParkedAccountingDocument.
-- 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: IFIPARKEDACCDOC

CREATE VIEW I_ParkedAccountingDocument AS
SELECT
  bukrs AS CompanyCode,
  cast(belnr as farp_belnr_d preserving type ) AS AccountingDocument,
  gjahr AS FiscalYear,
  cast(blart as farp_blart preserving type ) AS AccountingDocumentType,
  bldat AS DocumentDate,
  budat AS PostingDate,
  cast( cast( concat( '0', monat ) as abap.numc( 3 ) ) as fins_fiscalperiod ) AS FiscalPeriod,
  cast(cpudt as farp_cpudt preserving type ) AS AccountingDocumentCreationDate,
  cputm AS CreationTime,
  aedat AS LastChangeDate,
  wwert AS ExchangeRateDate,
  usnam AS AccountingDocCreatedByUser,
  tcode AS TransactionCode,
  bvorg AS IntercompanyTransaction,
  xblnr AS DocumentReferenceID,
  bktxt AS AccountingDocumentHeaderText,
  waers AS Currency,
  cast(kursf as ukurs_curr preserving type ) AS ExchangeRate,
  cast(bstat as farp_bstat_d preserving type ) AS AccountingDocumentCategory,
  awtyp AS ReferenceDocumentType,
  awkey AS OriginalReferenceDocument,
  fikrs AS FinancialManagementArea,
  cast(hwaer as farp_hwaer preserving type ) AS CompanyCodeCurrency,
  cast(hwae2 as farp_hwae2 preserving type ) AS AdditionalCurrency1,
  cast(hwae3 as farp_hwae3 preserving type ) AS AdditionalCurrency2,
  cast(curt2 as fis_adl1_currole preserving type ) AS AdditionalCurrency1Role,
  cast(curt3 as fis_adl2_currole preserving type ) AS AdditionalCurrency2Role,
  awsys AS ReferenceDocumentLogicalSystem,
  brnch AS Branch,
  reindat AS InvoiceReceiptDate,
  ldgrp AS LedgerGroup,
  vbund AS PartnerCompany,
  vatdate AS TaxReportingDate,
  xmwst AS TaxIsCalculatedAutomatically,
  txkrs AS TaxExchangeRate
FROM vbkpf
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYear ON FiscalYear = _FiscalYear.FiscalYear AND CompanyCode = _FiscalYear.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentType AS _AccountingDocumentType ON AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType  -- association [0..1]
LEFT OUTER JOIN I_User AS _User ON AccountingDocCreatedByUser = _User.UserID  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentCategory AS _AccountingDocumentCategory ON AccountingDocumentCategory = _AccountingDocumentCategory.AccountingDocumentCategory  -- association [0..1]
LEFT OUTER JOIN I_ReferenceDocumentType AS _ReferenceDocumentType ON ReferenceDocumentType = _ReferenceDocumentType.ReferenceDocumentType  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _AdditionalCurrency1 ON AdditionalCurrency1 = _AdditionalCurrency1.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _AdditionalCurrency2 ON AdditionalCurrency2 = _AdditionalCurrency2.Currency  -- association [0..1]
LEFT OUTER JOIN I_LogicalSystem AS _LogicalSystem ON ReferenceDocumentLogicalSystem = _LogicalSystem.LogicalSystem  -- association [0..1]
LEFT OUTER JOIN I_LedgerGroup AS _LedgerGroup ON LedgerGroup = _LedgerGroup.LedgerGroup  -- association [0..1]
;