A_FinPlanItemStagingArea

DDL: A_FINPLANITEMSTAGINGAREA SQL: AFINPLNITMSTAREA Type: view BASIC Package: ODATA_FINS_ACDOCP_API

Financial Planning Item Staging Area

A_FinPlanItemStagingArea is a Basic CDS View that provides data about "Financial Planning Item Staging Area" in SAP S/4HANA. It reads from 1 data source (acdocp_data) and exposes 115 fields with key fields FinancialPlanningTransaction, FinancialPlanningDataPacket, FinancialPlanningEntryItem. It has 1 association to related views. Part of development package ODATA_FINS_ACDOCP_API.

Data Sources (1)

SourceAliasJoin Type
acdocp_data acdocp_data from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_FinPlanItemStagingArea _Extension $projection.FinancialPlanningTransaction = _Extension.FinancialPlanningTransaction and $projection.FinancialPlanningDataPacket = _Extension.FinancialPlanningDataPacket and $projection.FinancialPlanningEntryItem = _Extension.FinancialPlanningEntryItem

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName AFINPLNITMSTAREA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Financial Planning Item Staging Area view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (115)

KeyFieldSource TableSource FieldDescription
KEY FinancialPlanningTransaction transactionid UUID
KEY FinancialPlanningDataPacket datapakid Data packet number
KEY FinancialPlanningEntryItem record Object GUID
Ledger rldnr Ledger (Compat.)
PlanningCategory category Violation Category
LedgerFiscalYear ryear Ref. Year1
GLAccount racct GL Account From
CompanyCode rbukrs Company Code
FinancialTransactionType rmvct Transact. Type
BusinessTransactionCategory bttype Business Transaction Type
CostCenter rcntr Cost Center
ProfitCenter prctr Profit Centers
FunctionalArea rfarea R FuncArea
BusinessArea rbusa Business Area
ControllingArea kokrs Org. Value
Segment segment Segment number
PartnerCostCenter scntr Sender Cost Ctr
PartnerProfitCenter pprctr Partner PC
PartnerFunctionalArea sfarea Sender FnArea
PartnerBusinessArea sbusa Trdg Part.BA
PartnerCompany rassc Trading Partner
PartnerSegment psegment Partner Segment
FixedVariableType
TransactionCurrency rwcur Transaction Currency
AmountInTransactionCurrency wsl OrigTrnsCrcyAmt
FixedAmountInTransCrcy wfsl Fixed Amnt in TC
CompanyCodeCurrency rhcur Local Currency
AmountInCompanyCodeCurrency hsl Local Crcy Amt
FixedAmountInCoCodeCrcy hfsl Fixed Amnt in CC
GlobalCurrency rkcur Ledger curr.
AmountInGlobalCurrency ksl GrpCurr
FixedAmountInGlobalCrcy kfsl Fixed Amnt in GC
ControllingObjectCurrency rco_ocur Object Currency
AmountInObjectCurrency co_osl Value/Obj. Crcy
FunctionalCurrency rfccur Functional Currency
AmountInFunctionalCurrency fcsl Amount in FunctCrcy
CostSourceUnit rvunit Valuation UoM
ValuationQuantity vmsl Val. quantity
ValuationFixedQuantity vmfsl Fixed val. qty
ReferenceQuantityUnit rrunit Reference UoM
ReferenceQuantity rmsl Ref. quantity
FreeDefinedCurrency1 rocur Free Defined Crcy 1
AmountInFreeDefinedCurrency1 osl Other Crcy Amnt
FreeDefinedCurrency2 rvcur Free Defined Crcy 4
AmountInFreeDefinedCurrency2 vsl Amount in Currency 2
FreeDefinedCurrency3 rbcur Free Defined Crcy 3
AmountInFreeDefinedCurrency3 bsl Exchange Key
FreeDefinedCurrency4 rccur Third Currency
AmountInFreeDefinedCurrency4 csl Amount in Currency 4
FreeDefinedCurrency5 rdcur Free Defined Crcy 5
AmountInFreeDefinedCurrency5 dsl Amount in Currency 5
FreeDefinedCurrency6 recur Free Defined Crcy 6
AmountInFreeDefinedCurrency6 esl Amount in Currency 6
FreeDefinedCurrency7 rfcur Free Defined Crcy 7
AmountInFreeDefinedCurrency7 fsl Amount in Currency 7
FreeDefinedCurrency8 rgcur Free Defined Crcy 8
AmountInFreeDefinedCurrency8 gsl Amount in Currency 8
FiscalPeriod poper Posting periods
FiscalYearVariant periv FYear Variant
FiscalYearPeriod Period/Year
ChartOfAccounts ktopl G/L Chart of Accounts
Plant werks Receiving Plant
Customer kunnr Stock customer
ControllingDebitCreditCode co_belkz Dr/Cr ind. CO
Project ps_pspid Project def.
WBSElement ps_posid WBS Element
PartnerCompanyCode pbukrs Partner CoCode
CostCtrActivityType lstar Activity Type
OrderID aufnr SettlementOrder
PartnerOrder paufnr Partner order
PartnerCostCtrActivityType plstar ParActvy
PartnerProject pps_pspid Part. Proj. Def
PartnerWBSElement pps_posid Partner WBS Element
ActivityType lstar Activity Type
ServiceDocumentType service_doc_type Transaction Type
ServiceDocument service_doc_id Transaction ID
ServiceDocumentItem service_doc_item_id Service Doc. Item
SalesOrganization vkorg SD Sales Org.
DistributionChannel vtweg RefDistCh-Cust/Mat.
Division spart Source supplier
SoldMaterial matnr_copa Product Sold
MaterialGroup matkl Product Sold Group
CustomerGroup kdgrp Customer group
CustomerSupplierCountry land1 Trip Ctry/Reg
CustomerSupplierIndustry brsch Industry
SalesDistrict bzirk Sales District
FinancialManagementArea fikrs FM Area
Fund rfund Fund
GrantID rgrant_nbr Grant
BudgetPeriod rbudget_pd Rec BudPer
BudgetProcess budget_process Budget Process Type
BudgetingType budget_subcategory Budget Type
SponsoredProgram rsponsored_prog Sponsored Program
SponsoredClass rsponsored_class Sponsored Class
GteeMBudgetValidityNumber rbdgt_vldty_nbr Bdgt Validty No.
CostCtrActivityTypeQtyUnit activity_unit Activity Unit
CostRateFixedAmountInTransCrcy wfprice Fixed Price in TC
CostRateVarblAmountInTransCrcy wvprice Variable Price in TC
CostRateAmountInTransCrcy wvprice Variable Price in TC
CO2eqEmissionUnit co2e_quantity_unit
VariableQuantityInBaseUnit co2e_variable_quantity
FixedQuantityInBaseUnit co2e_fixed_quantity
GHGCategory ghg_category
StatisticalKeyFigure stagr Statistical Key Figure
StatisticalKeyFigQtyUnit runit Unit/Area
StatisticalKeyFigureQuantity msl Stat. KeyFig. Qty
Version version XML Vers.
REBusinessEntity Business Entity
RealEstateBuilding Building
RealEstateProperty Land
RERentalObject Rental Unit
RealEstateContract recnnr Contract No.
REServiceChargeKey snksl Srv. Charge Key
RESettlementUnitID sempsl Settlement Unit
SettlementReferenceDate dabrz Reference date

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 A_FinPlanItemStagingArea.
-- 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: AFINPLNITMSTAREA

CREATE VIEW A_FinPlanItemStagingArea AS
SELECT
  transactionid AS FinancialPlanningTransaction,
  datapakid AS FinancialPlanningDataPacket,
  record AS FinancialPlanningEntryItem,
  rldnr AS Ledger,
  category AS PlanningCategory,
  ryear AS LedgerFiscalYear,
  racct AS GLAccount,
  rbukrs AS CompanyCode,
  rmvct AS FinancialTransactionType,
  bttype AS BusinessTransactionCategory,
  rcntr AS CostCenter,
  prctr AS ProfitCenter,
  rfarea AS FunctionalArea,
  rbusa AS BusinessArea,
  kokrs AS ControllingArea,
  Segment,
  scntr AS PartnerCostCenter,
  pprctr AS PartnerProfitCenter,
  sfarea AS PartnerFunctionalArea,
  sbusa AS PartnerBusinessArea,
  rassc AS PartnerCompany,
  psegment AS PartnerSegment,
  cast( '' as fcom_fixed_variable_type) AS FixedVariableType,
  rwcur AS TransactionCurrency,
  wsl AS AmountInTransactionCurrency,
  wfsl AS FixedAmountInTransCrcy,
  rhcur AS CompanyCodeCurrency,
  hsl AS AmountInCompanyCodeCurrency,
  hfsl AS FixedAmountInCoCodeCrcy,
  rkcur AS GlobalCurrency,
  ksl AS AmountInGlobalCurrency,
  kfsl AS FixedAmountInGlobalCrcy,
  rco_ocur AS ControllingObjectCurrency,
  co_osl AS AmountInObjectCurrency,
  rfccur AS FunctionalCurrency,
  fcsl AS AmountInFunctionalCurrency,
  rvunit AS CostSourceUnit,
  vmsl AS ValuationQuantity,
  vmfsl AS ValuationFixedQuantity,
  rrunit AS ReferenceQuantityUnit,
  rmsl AS ReferenceQuantity,
  rocur AS FreeDefinedCurrency1,
  osl AS AmountInFreeDefinedCurrency1,
  rvcur AS FreeDefinedCurrency2,
  vsl AS AmountInFreeDefinedCurrency2,
  rbcur AS FreeDefinedCurrency3,
  bsl AS AmountInFreeDefinedCurrency3,
  rccur AS FreeDefinedCurrency4,
  csl AS AmountInFreeDefinedCurrency4,
  rdcur AS FreeDefinedCurrency5,
  dsl AS AmountInFreeDefinedCurrency5,
  recur AS FreeDefinedCurrency6,
  esl AS AmountInFreeDefinedCurrency6,
  rfcur AS FreeDefinedCurrency7,
  fsl AS AmountInFreeDefinedCurrency7,
  rgcur AS FreeDefinedCurrency8,
  gsl AS AmountInFreeDefinedCurrency8,
  poper AS FiscalPeriod,
  periv AS FiscalYearVariant,
  cast(fiscyearper as abap.char(8)) AS FiscalYearPeriod,
  ktopl AS ChartOfAccounts,
  werks AS Plant,
  kunnr AS Customer,
  co_belkz AS ControllingDebitCreditCode,
  ps_pspid AS Project,
  ps_posid AS WBSElement,
  pbukrs AS PartnerCompanyCode,
  lstar AS CostCtrActivityType,
  aufnr AS OrderID,
  paufnr AS PartnerOrder,
  plstar AS PartnerCostCtrActivityType,
  pps_pspid AS PartnerProject,
  pps_posid AS PartnerWBSElement,
  lstar AS ActivityType,
  service_doc_type AS ServiceDocumentType,
  service_doc_id AS ServiceDocument,
  service_doc_item_id AS ServiceDocumentItem,
  vkorg AS SalesOrganization,
  vtweg AS DistributionChannel,
  spart AS Division,
  matnr_copa AS SoldMaterial,
  matkl AS MaterialGroup,
  kdgrp AS CustomerGroup,
  land1 AS CustomerSupplierCountry,
  brsch AS CustomerSupplierIndustry,
  bzirk AS SalesDistrict,
  fikrs AS FinancialManagementArea,
  rfund AS Fund,
  rgrant_nbr AS GrantID,
  rbudget_pd AS BudgetPeriod,
  budget_process AS BudgetProcess,
  budget_subcategory AS BudgetingType,
  rsponsored_prog AS SponsoredProgram,
  rsponsored_class AS SponsoredClass,
  rbdgt_vldty_nbr AS GteeMBudgetValidityNumber,
  activity_unit AS CostCtrActivityTypeQtyUnit,
  wfprice AS CostRateFixedAmountInTransCrcy,
  wvprice AS CostRateVarblAmountInTransCrcy,
  wvprice AS CostRateAmountInTransCrcy,
  co2e_quantity_unit AS CO2eqEmissionUnit,
  co2e_variable_quantity AS VariableQuantityInBaseUnit,
  co2e_fixed_quantity AS FixedQuantityInBaseUnit,
  ghg_category AS GHGCategory,
  stagr AS StatisticalKeyFigure,
  runit AS StatisticalKeyFigQtyUnit,
  msl AS StatisticalKeyFigureQuantity,
  Version,
  cast(swenr as rebdvdmbeno preserving type ) AS REBusinessEntity,
  cast(sgenr as rebdvdmbuno preserving type ) AS RealEstateBuilding,
  cast(sgrnr as rebdvdmprno preserving type ) AS RealEstateProperty,
  cast(smenr as rebdvdmrono preserving type ) AS RERentalObject,
  recnnr AS RealEstateContract,
  snksl AS REServiceChargeKey,
  sempsl AS RESettlementUnitID,
  dabrz AS SettlementReferenceDate
FROM acdocp_data
LEFT OUTER JOIN E_FinPlanItemStagingArea AS _Extension ON FinancialPlanningTransaction = _Extension.FinancialPlanningTransaction AND FinancialPlanningDataPacket = _Extension.FinancialPlanningDataPacket AND FinancialPlanningEntryItem = _Extension.FinancialPlanningEntryItem  -- association [1..1]
;