P_CnsldtnJrnlEntryDraftItem
Consolidation Journal Entry Draft - Item
P_CnsldtnJrnlEntryDraftItem is a Basic CDS View that provides data about "Consolidation Journal Entry Draft - Item" in SAP S/4HANA. It reads from 1 data source (fincsjrnlentri_d) and exposes 116 fields with key field DraftKey. Part of development package ODATA_CS_JRNLENTR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fincsjrnlentri_d | fincsjrnlentri_d | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (116)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DraftKey | draftuuid | UUID | |
| ParentJrnlEntrDraftUUID | parentdraftuuid | NodeID | ||
| FiscalYear | Fiscal Year | |||
| ConsolidationDocumentNumber | Document Number | |||
| ConsolidationLedger | Ledger | |||
| ConsolidationPostingItem | consolidationpostingitem | G/L Line Item | ||
| ConsolidationDimension | consolidationdimension | Dimension | ||
| GLRecordType | Record Type | |||
| ConsolidationVersion | consolidationversion | Version | ||
| TransactionCurrency | transactioncurrency | Transaction Currency | ||
| LocalCurrency | localcurrency | Local Currency | ||
| GroupCurrency | groupcurrency | Ledger curr. | ||
| BaseUnit | Unit of Measure | |||
| FiscalPeriod | Tax period | |||
| Company | Owner | |||
| ConsolidationUnit | consolidationunit | Consolidation Unit | ||
| PartnerConsolidationUnit | partnerconsolidationunit | Partner Unit | ||
| ConsolidationChartOfAccounts | Cons. COA | |||
| ChartOfAccounts | Node Class | |||
| FinancialStatementItem | FS Item | |||
| ConsolidationGroup | Cons. Group | |||
| ConsolidationUnit3 | consolidationunit3 | Cons. Unit | ||
| ConsolidationUnit1IsUsed | consolidationunit1isused | Cons unit 1 | ||
| PartnerConsolidationUnit3 | partnerconsolidationunit3 | Partner Unit | ||
| CompanyCode | companycode | Receiver Company Code | ||
| SubItemCategory | Subitem Category | |||
| SubItem | Subitem Number | |||
| PostingLevel | Posting Level | |||
| ConsolidationApportionment | Apportionment | |||
| CurrencyConversionsDiffType | CT Indicator | |||
| ConsolidationDocumentType | Document Type | |||
| ConsolidationAcquisitionYear | Acquis. Year | |||
| ConsolidationAcquisitionPeriod | Period of Acq. | |||
| InvesteeConsolidationUnit | investeeconsolidationunit | Investee Unit | ||
| InvestorConsolidationUnit | investorconsolidationunit | |||
| DocumentItemText | Text | |||
| ConsolidationPostgItemAutoFlag | Auto. ID | |||
| BusinessTransactionType | Bus.transaction | |||
| PostingDate | postingdate | Posting Date for GR | ||
| CurrencyTranslationDate | Value Date | |||
| RefAccountingDocument | refaccountingdocument | Document Number | ||
| RefConsolidationDocumentnumber | refconsolidationdocumentnumber | Document Number | ||
| ReferenceFiscalYear | referencefiscalyear | Original FY | ||
| RefConsolidationPostingItem | refconsolidationpostingitem | Item | ||
| RefAccountingDocumentItem | refaccountingdocumentitem | Item | ||
| RefConsolidationDocumentType | refconsolidationdocumenttype | Document Categ. | ||
| RefBusinessTransactionType | refbusinesstransactiontype | Bus.transaction | ||
| CreationDate | creationdate | Time Stamp | ||
| CreationTime | creationtime | Time of Change | ||
| UserID | userid | User Name | ||
| ReversedDocument | reverseddocument | Reversed doc. | ||
| ReverseDocument | reversedocument | Reversed With | ||
| InvestmentActivityType | C/I Activity | |||
| InvestmentActivity | Activity Number | |||
| ConsolidationDocReversalYear | Year of reversal doc | |||
| ReferenceDocumentType | Reference Document Type | |||
| ReferenceDocumentContext | Reference Document Context | |||
| LogicalSystem | logicalsystem | Logical System | ||
| GLAccount | General Ledger | |||
| AssignmentReference | assignmentreference | Assignment Reference | ||
| CostCenter | Cost Center | |||
| ProfitCenter | Profit Center | |||
| FunctionalArea | Sendr Fctl Area | |||
| BusinessArea | Business Area | |||
| ControllingArea | Controlling Area | |||
| Segment | Segment number | |||
| PartnerCostCenter | Sender Cost Ctr | |||
| PartnerProfitCenter | Profit Center | |||
| PartnerFunctionalArea | Rec. Fntcl Area | |||
| PartnerBusinessArea | Trdg Part.BA | |||
| PartnerCompany | Trading Partner | |||
| PartnerSegment | Partner Segment | |||
| OrderID | Order ID | |||
| Customer | Sold-to Party | |||
| Supplier | Supplier | |||
| Material | Vehicle Model | |||
| Plant | Valuation Area | |||
| WBSElementInternalID | WBS Internal ID | |||
| WBSElementExternalID | WBS Element External ID | |||
| Project | WBS Element | |||
| BillingDocumentType | Billing Type | |||
| SalesOrganization | Sales Organization | |||
| DistributionChannel | RefDistCh-Cust/Mat. | |||
| OrganizationDivision | Org. Division | |||
| SoldMaterial | Product Sold | |||
| MaterialGroup | Product Group | |||
| ProductGroup | Product Sold Group | |||
| CustomerGroup | Customer Group | |||
| CustomerSupplierCountry | Customer or Supplier Country/Region | |||
| CustomerSupplierIndustry | Industry | |||
| SalesDistrict | Sales District | |||
| BillToParty | Inv. Recipient | |||
| ShipToParty | Ship-To Party (obsolete) | |||
| CustomerSupplierCorporateGroup | Group | |||
| FinancialServicesProductGroup | financialservicesproductgroup | Product Group (FS) | ||
| FinancialServicesBranch | financialservicesbranch | Branch (FS) | ||
| FinancialDataSource | financialdatasource | Data Source | ||
| FinancialManagementArea | financialmanagementarea | FM Area | ||
| Fund | fund | Sender Fund | ||
| PartnerFund | partnerfund | Receiver Fund | ||
| GrantID | grantid | Sender Grant | ||
| CnsldtnCashLedgerChartOfAccts | cnsldtncashledgerchartofaccts | |||
| CashLedgerAccount | cashledgeraccount | Cash Origin Account | ||
| GHGScope | ghgscope | |||
| GHGCategory | ghgcategory | |||
| GHGScope2CalculationMethod | ghgscope2calculationmethod | |||
| GHGScope2ContractualInstrument | ghgscope2contractualinstrument | |||
| SustainabilityModeOfTransport | sustainabilitymodeoftransport | |||
| GHGDataQualityCharacteristic | ghgdataqualitycharacteristic | |||
| GHGEnergyClassification | ghgenergyclassification | |||
| GHGEnergyMix | ghgenergymix | |||
| GHGEnergySourcingType | ghgenergysourcingtype | |||
| AmountInTransactionCurrency | Pt Crcy Amt | |||
| AmountInLocalCurrency | Local Crcy Amt | |||
| AmountInGroupCurrency | Amnt in GrpCrcy | |||
| QuantityInBaseUnit | quantityinbaseunit | Quantity |
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_CnsldtnJrnlEntryDraftItem.
-- 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 P_CnsldtnJrnlEntryDraftItem AS
SELECT
draftuuid AS DraftKey,
parentdraftuuid AS ParentJrnlEntrDraftUUID,
cast( fiscalyearforedit as fincs_fiscalyear preserving type ) AS FiscalYear,
cast( consolidationdocumentnumber as fincs_group_jrnl_entry preserving type ) AS ConsolidationDocumentNumber,
cast( consolidationledgerforedit as fincs_consolidationledger preserving type ) AS ConsolidationLedger,
ConsolidationPostingItem,
ConsolidationDimension,
cast( glrecordtype as fincs_rrcty preserving type ) AS GLRecordType,
ConsolidationVersion,
TransactionCurrency,
LocalCurrency,
GroupCurrency,
cast( baseunit as fincs_base_unit_doc preserving type ) AS BaseUnit,
cast( fiscalperiod as fincs_poper preserving type ) AS FiscalPeriod,
cast( company as fincs_company preserving type ) AS Company,
ConsolidationUnit,
PartnerConsolidationUnit,
cast( consolidationchartofaccounts as fincs_itclg preserving type ) AS ConsolidationChartOfAccounts,
cast( chartofaccounts as fincs_chartofaccounts preserving type ) AS ChartOfAccounts,
cast( financialstatementitem as fincs_fsi_item preserving type ) AS FinancialStatementItem,
cast( consolidationgroup as fincs_consolidationgroup preserving type ) AS ConsolidationGroup,
ConsolidationUnit3,
ConsolidationUnit1IsUsed,
PartnerConsolidationUnit3,
CompanyCode,
cast( subitemcategory as fincs_subitemcategory preserving type ) AS SubItemCategory,
cast( subitem as fincs_subitem preserving type ) AS SubItem,
cast( postinglevel as fincs_plevl preserving type ) AS PostingLevel,
cast( consolidationapportionment as fincs_rpflg preserving type ) AS ConsolidationApportionment,
cast( currencyconversionsdifftype as fincs_rtflg preserving type ) AS CurrencyConversionsDiffType,
cast( consolidationdocumenttype as fincs_docty preserving type ) AS ConsolidationDocumentType,
cast( consolidationacquisitionyear as fincs_ryacq preserving type ) AS ConsolidationAcquisitionYear,
cast( consolidationacquisitionperiod as fincs_rpacq preserving type ) AS ConsolidationAcquisitionPeriod,
InvesteeConsolidationUnit,
InvestorConsolidationUnit,
cast( documentitemtext as fincs_sgtxt preserving type ) AS DocumentItemText,
cast( consolidationpostgitemautoflag as fincs_autom preserving type ) AS ConsolidationPostgItemAutoFlag,
cast( businesstransactiontype as fincs_glvor preserving type ) AS BusinessTransactionType,
PostingDate,
cast( currencytranslationdate as fincs_wsdat preserving type ) AS CurrencyTranslationDate,
RefAccountingDocument,
RefConsolidationDocumentnumber,
ReferenceFiscalYear,
RefConsolidationPostingItem,
RefAccountingDocumentItem,
RefConsolidationDocumentType,
RefBusinessTransactionType,
CreationDate,
CreationTime,
UserID,
ReversedDocument,
ReverseDocument,
cast( investmentactivitytype as fincs_coiac preserving type ) AS InvestmentActivityType,
cast( investmentactivity as fincs_coinr preserving type ) AS InvestmentActivity,
cast( consolidationdocreversalyear as fincs_revyear preserving type ) AS ConsolidationDocReversalYear,
cast( referencedocumenttype as fincs_awtyp preserving type ) AS ReferenceDocumentType,
cast( referencedocumentcontext as fincs_aworg preserving type ) AS ReferenceDocumentContext,
LogicalSystem,
cast( glaccount as fincs_glaccount preserving type ) AS GLAccount,
AssignmentReference,
cast( costcenter as fincs_costcenter preserving type ) AS CostCenter,
cast( profitcenter as fincs_profit_center preserving type ) AS ProfitCenter,
cast( functionalarea as fincs_functionalarea preserving type ) AS FunctionalArea,
cast( businessarea as fincs_businessarea preserving type ) AS BusinessArea,
cast( controllingarea as fincs_controllingarea preserving type ) AS ControllingArea,
cast( segment as fincs_segment preserving type ) AS Segment,
cast( partnercostcenter as fincs_scntr preserving type ) AS PartnerCostCenter,
cast( partnerprofitcenter as fincs_partnerprofitcenter preserving type ) AS PartnerProfitCenter,
cast( partnerfunctionalarea as fincs_sfkber preserving type ) AS PartnerFunctionalArea,
cast( partnerbusinessarea as fincs_pargb preserving type ) AS PartnerBusinessArea,
cast( partnercompany as fincs_rassc preserving type ) AS PartnerCompany,
cast( partnersegment as fincs_partnersegment preserving type ) AS PartnerSegment,
cast( orderid as fincs_aufnr preserving type ) AS OrderID,
cast( customer as fincs_customer preserving type ) AS Customer,
cast( supplier as fincs_supplier preserving type ) AS Supplier,
cast( material as fincs_material preserving type ) AS Material,
cast( plant as fincs_plant preserving type ) AS Plant,
cast( wbselementinternalid as ps_s4_pspnr preserving type ) AS WBSElementInternalID,
cast( wbselementexternalid as ps_posid_edit preserving type ) AS WBSElementExternalID,
cast( project as fincs_project_id preserving type ) AS Project,
cast( billingdocumenttype as fincs_billingdocumenttype preserving type ) AS BillingDocumentType,
cast( salesorganization as fincs_salesorganization preserving type ) AS SalesOrganization,
cast( distributionchannel as fincs_distributionchannel preserving type ) AS DistributionChannel,
cast( organizationdivision as fincs_spart preserving type ) AS OrganizationDivision,
cast( soldmaterial as fincs_material preserving type ) AS SoldMaterial,
cast( materialgroup as fincs_materialgroup preserving type ) AS MaterialGroup,
cast( productgroup as fincs_productgroup preserving type ) AS ProductGroup,
cast( customergroup as fincs_customergroup preserving type ) AS CustomerGroup,
cast( customersuppliercountry as fincs_land1 preserving type ) AS CustomerSupplierCountry,
cast( customersupplierindustry as fincs_brsch preserving type ) AS CustomerSupplierIndustry,
cast( salesdistrict as fincs_salesdistrict preserving type ) AS SalesDistrict,
cast( billtoparty as fincs_kunre preserving type ) AS BillToParty,
cast( shiptoparty as fincs_kunwe preserving type ) AS ShipToParty,
cast( customersuppliercorporategroup as fincs_konzs preserving type ) AS CustomerSupplierCorporateGroup,
FinancialServicesProductGroup,
FinancialServicesBranch,
FinancialDataSource,
FinancialManagementArea,
Fund,
PartnerFund,
GrantID,
CnsldtnCashLedgerChartOfAccts,
CashLedgerAccount,
GHGScope,
GHGCategory,
GHGScope2CalculationMethod,
GHGScope2ContractualInstrument,
SustainabilityModeOfTransport,
GHGDataQualityCharacteristic,
GHGEnergyClassification,
GHGEnergyMix,
GHGEnergySourcingType,
cast( amountintransactioncurrency as fincs_tsl preserving type ) AS AmountInTransactionCurrency,
cast( amountinlocalcurrency as fincs_hsl preserving type ) AS AmountInLocalCurrency,
cast( amountingroupcurrency as fincs_ksl preserving type ) AS AmountInGroupCurrency,
QuantityInBaseUnit
FROM fincsjrnlentri_d
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA