P_JEAPI_LOG_DETAIL_POST_LL

DDL: P_JEAPI_LOG_DETAIL_POST_LL SQL: PJEAPILOGPOS Type: view COMPOSITE

P_JEAPI_LOG_DETAIL_POST_LL is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_CNSLDTN_DOCINDI, I_CnsldtnTaskLogItem01) and exposes 103 fields with key fields CnsldtnTaskLogUUID, CnsldtnTaskLogItemUUID, CnsldtnTskLgMsgNmbr.

Data Sources (2)

SourceAliasJoin Type
P_CNSLDTN_DOCINDI _DocIndi inner
I_CnsldtnTaskLogItem01 item from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PJEAPILOGPOS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
Metadata.ignorePropagatedAnnotations true view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (103)

KeyFieldSource TableSource FieldDescription
KEY CnsldtnTaskLogUUID I_CnsldtnTaskLogItem01 CnsldtnTaskLogUUID Consolidation Log GUID
KEY CnsldtnTaskLogItemUUID I_CnsldtnTaskLogItem01 CnsldtnTaskLogItemUUID Consolidation Log Item Number GUID
KEY CnsldtnTskLgMsgNmbr msg CnsldtnTskLgMsgNmbr
ConsolidationDocumentNumber I_CnsldtnTaskLogItem01 ConsolidationDocumentNumber Document Number
CnsldtnTaskLogItemType I_CnsldtnTaskLogItem01 CnsldtnTaskLogItemType Log Line Item Type
CnsldtnTaskLogItemTypeTxt P_CNSLDTN_DOCINDI cnsldtnlineitemtypet Short text
BillingDocumentTypeText I_CnsldtnTaskLogItem01 BillingDocumentTypeText Billing Type
CnsldtnCustomerText I_CnsldtnTaskLogItem01 CnsldtnCustomerText Sold-to Party
SupplierName I_CnsldtnTaskLogItem01 SupplierName Supplier Name
WBSElement I_CnsldtnTaskLogItem01 WBSElement WBS Internal ID
WBSElementInternalID I_CnsldtnTaskLogItem01 WBSElementInternalID WBS Internal ID
AssignmentReference I_CnsldtnTaskLogItem01 AssignmentReference Assignment Reference
SoldProduct I_CnsldtnTaskLogItem01 SoldProduct Product Sold
SoldProductGroup I_CnsldtnTaskLogItem01 SoldProductGroup Product Sold Group
BillToParty I_CnsldtnTaskLogItem01 BillToParty Inv. Recipient
ShipToParty I_CnsldtnTaskLogItem01 ShipToParty Ship-To Party (obsolete)
CnsldtnTskLgItmRowNmbr I_CnsldtnTaskLogItem01 CnsldtnTskLgItmRowNmbr Row Number
CnsldtnTskLgNode I_CnsldtnTaskLogItem01 CnsldtnTskLgNode Node ID
CnsldtnTskLgParNode I_CnsldtnTaskLogItem01 CnsldtnTskLgParNode Parent Node
ConsolidationLedger I_CnsldtnTaskLogItem01 ConsolidationLedger Ledger
ConsolidationDimension
ConsolidationVersion I_CnsldtnTaskLogItem01 ConsolidationVersion Version
CnsldtnTriggeringAmtLoclCrcy I_CnsldtnTaskLogItem01 CnsldtnTriggeringAmtLoclCrcy Local Currency
CnsldtnJrnlEntryAmtLoclCrcy I_CnsldtnTaskLogItem01 CnsldtnJrnlEntryAmtLoclCrcy Local Currency
CnsldtnTriggeringAmtGrpCrcy I_CnsldtnTaskLogItem01 CnsldtnTriggeringAmtGrpCrcy Ledger curr.
CnsldtnJrnlEntryAmtGrpCrcy I_CnsldtnTaskLogItem01 CnsldtnJrnlEntryAmtGrpCrcy Ledger curr.
CnsldtnTriggeringAmtTransCrcy I_CnsldtnTaskLogItem01 CnsldtnTriggeringAmtTransCrcy Transaction Currency
CnsldtnJrnlEntryAmtTransCrcy I_CnsldtnTaskLogItem01 CnsldtnJrnlEntryAmtTransCrcy Transaction Currency
CnsldtnTriggeringQtyBaseUnit I_CnsldtnTaskLogItem01 CnsldtnTriggeringQtyBaseUnit Unit of Measure
CnsldtnJrnlEntryQtyBaseUnit I_CnsldtnTaskLogItem01 CnsldtnJrnlEntryQtyBaseUnit Unit of Measure
ConsolidationUnit I_CnsldtnTaskLogItem01 ConsolidationUnit Consolidation Unit
ConsolidationChartOfAccounts I_CnsldtnTaskLogItem01 ConsolidationChartOfAccounts Cons. COA
FinancialStatementItem I_CnsldtnTaskLogItem01 FinancialStatementItem FS Item
CnsldtnFinancialStatementItem I_CnsldtnTaskLogItem01 CnsldtnFinancialStatementItem FS Item
PartnerConsolidationUnit I_CnsldtnTaskLogItem01 PartnerConsolidationUnit Partner Unit
ConsolidationGroup I_CnsldtnTaskLogItem01 ConsolidationGroup Cons. Group
CompanyCode I_CnsldtnTaskLogItem01 CompanyCode Receiver Company Code
SubItemCategory I_CnsldtnTaskLogItem01 SubItemCategory Subitem Category
SubItem I_CnsldtnTaskLogItem01 SubItem Subitem Number
PostingLevel I_CnsldtnTaskLogItem01 PostingLevel Posting Level
ConsolidationApportionment I_CnsldtnTaskLogItem01 ConsolidationApportionment Apportionment
CurrencyConversionsDiffType I_CnsldtnTaskLogItem01 CurrencyConversionsDiffType CT Indicator
ConsolidationDocumentType I_CnsldtnTaskLogItem01 ConsolidationDocumentType Document Type
ConsolidationAcquisitionYear I_CnsldtnTaskLogItem01 ConsolidationAcquisitionYear Acquis. Year
ConsolidationAcquisitionPeriod I_CnsldtnTaskLogItem01 ConsolidationAcquisitionPeriod Period of Acq.
InvesteeConsolidationUnit I_CnsldtnTaskLogItem01 InvesteeConsolidationUnit Investee Unit
AMOUNT_GC_TRI I_CnsldtnTaskLogItem01 CnsldtnTriggeringAmtInGrpCrcy Amnt in GrpCrcy
AMOUNT_GC_DOC I_CnsldtnTaskLogItem01 CnsldtnJrnlEntryAmtInGrpCrcy Amnt in GrpCrcy
AMOUNT_LC_TRI I_CnsldtnTaskLogItem01 CnsldtnTriggeringAmtInLoclCrcy Local Crcy Amt
AMOUNT_LC_DOC I_CnsldtnTaskLogItem01 CnsldtnJrnlEntryAmtInLoclCrcy Local Crcy Amt
AMOUNT_TC_TRI I_CnsldtnTaskLogItem01 CnsldtnTriggeringAmtInTC Pt Crcy Amt
AMOUNT_TC_DOC I_CnsldtnTaskLogItem01 CnsldtnJrnlEntryAmtInTransCrcy Pt Crcy Amt
QUANTITY_TRI I_CnsldtnTaskLogItem01 CnsldtnTriggeringQtyInBsUnt Quantity
QUANTITY_DOC I_CnsldtnTaskLogItem01 CnsldtnJrnlEntryQtyInBsUnt Quantity
PostingDate I_CnsldtnTaskLogItem01 PostingDate Posting Date for GR
CnsldtnLogHeaderDateTime I_CnsldtnTaskLogItem01 CnsldtnLogHeaderDateTime Date
CurrencyTranslationDate I_CnsldtnTaskLogItem01 CurrencyTranslationDate Value Date
InvestmentActivityType I_CnsldtnTaskLogItem01 InvestmentActivityType C/I Activity
InvestmentActivity I_CnsldtnTaskLogItem01 InvestmentActivity Activity Number
ChartOfAccountsText I_CnsldtnTaskLogItem01 ChartOfAccountsText Node Class
GLAccountText I_CnsldtnTaskLogItem01 GLAccountText General Ledger
CostCenterText I_CnsldtnTaskLogItem01 CostCenterText Cost Center
ProfitCenterText I_CnsldtnTaskLogItem01 ProfitCenterText Profit Center
FunctionalAreaText I_CnsldtnTaskLogItem01 FunctionalAreaText Sendr Fctl Area
BusinessAreaText I_CnsldtnTaskLogItem01 BusinessAreaText Business Area
ControllingAreaText I_CnsldtnTaskLogItem01 ControllingAreaText Controlling Area
CnsldtnSegmentText I_CnsldtnTaskLogItem01 CnsldtnSegmentText Segment number
PartnerCostCenter I_CnsldtnTaskLogItem01 PartnerCostCenter Sender Cost Ctr
PartnerProfitCenterText I_CnsldtnTaskLogItem01 PartnerProfitCenterText Profit Center
PartnerFunctionalAreaText I_CnsldtnTaskLogItem01 PartnerFunctionalAreaText Rec. Fntcl Area
PartnerBusinessAreaText I_CnsldtnTaskLogItem01 PartnerBusinessAreaText Trdg Part.BA
PartnerCompanyText I_CnsldtnTaskLogItem01 PartnerCompanyText Trading Partner
PartnerSegmentText I_CnsldtnTaskLogItem01 PartnerSegmentText Partner Segment
OrderID I_CnsldtnTaskLogItem01 OrderID Order ID
CnsldtnMaterialText I_CnsldtnTaskLogItem01 CnsldtnMaterialText Vehicle Model
MaterialGroupName I_CnsldtnTaskLogItem01 MaterialGroupName prod Grp Desc.
CnsldtnPlantText I_CnsldtnTaskLogItem01 CnsldtnPlantText Valuation Area
FinancialTransactionType I_CnsldtnTaskLogItem01 FinancialTransactionType Transact. Type
PartnerWBSElementDescription I_CnsldtnTaskLogItem01 PartnerWBSElementDescription WBS Element
CnsldtnProjectText I_CnsldtnTaskLogItem01 CnsldtnProjectText WBS Element
SalesOrganizationText I_CnsldtnTaskLogItem01 SalesOrganizationText Sales Organization
DistributionChannelText I_CnsldtnTaskLogItem01 DistributionChannelText RefDistCh-Cust/Mat.
OrganizationDivisionText I_CnsldtnTaskLogItem01 OrganizationDivisionText Org. Division
SoldMaterial I_CnsldtnTaskLogItem01 SoldMaterial Product Sold
ProductGroupText I_CnsldtnTaskLogItem01 ProductGroupText Product Sold Group
CustomerGroup I_CnsldtnTaskLogItem01 CustomerGroup Customer Group
CustomerSupplierCountry I_CnsldtnTaskLogItem01 CustomerSupplierCountry Customer or Supplier Country/Region
CustomerSupplierIndustry I_CnsldtnTaskLogItem01 CustomerSupplierIndustry Industry
SalesDistrictText I_CnsldtnTaskLogItem01 SalesDistrictText Sales District
CustomerSupplierCorporateGroup I_CnsldtnTaskLogItem01 CustomerSupplierCorporateGroup Group
CnsldtnTaskLogItemIsLatest I_CnsldtnTaskLogItem01 CnsldtnTaskLogItemIsLatest Latest Record Indicator
SystemMessageIdentification msg SystemMessageIdentification Message ID
SystemMessageType
SystemMessageNumber msg SystemMessageNumber Message Number
SystemMessageVariable1 msg SystemMessageVariable1 Variable 1
SystemMessageVariable2 msg SystemMessageVariable2 Variable 2
SystemMessageVariable3 msg SystemMessageVariable3 Variable 3
SystemMessageVariable4 msg SystemMessageVariable4 Variable 4
SortField
CnsldtnTskLgMsgID
PostingFiscalYear I_CnsldtnTaskLogItem01 PostingFiscalYear Fiscal Year
PostingFiscalPeriod I_CnsldtnTaskLogItem01 PostingFiscalPeriod Period
FiscalYearPeriod

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_JEAPI_LOG_DETAIL_POST_LL.
-- 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: PJEAPILOGPOS

CREATE VIEW P_JEAPI_LOG_DETAIL_POST_LL AS
SELECT
  item.CnsldtnTaskLogUUID AS CnsldtnTaskLogUUID,
  item.CnsldtnTaskLogItemUUID AS CnsldtnTaskLogItemUUID,
  msg.CnsldtnTskLgMsgNmbr AS CnsldtnTskLgMsgNmbr,
  item.ConsolidationDocumentNumber AS ConsolidationDocumentNumber,
  item.CnsldtnTaskLogItemType AS CnsldtnTaskLogItemType,
  _DocIndi.cnsldtnlineitemtypet AS CnsldtnTaskLogItemTypeTxt,
  item.BillingDocumentTypeText AS BillingDocumentTypeText,
  item.CnsldtnCustomerText AS CnsldtnCustomerText,
  item.SupplierName AS SupplierName,
  item.WBSElement AS WBSElement,
  item.WBSElementInternalID AS WBSElementInternalID,
  item.AssignmentReference AS AssignmentReference,
  item.SoldProduct AS SoldProduct,
  item.SoldProductGroup AS SoldProductGroup,
  item.BillToParty AS BillToParty,
  item.ShipToParty AS ShipToParty,
  item.CnsldtnTskLgItmRowNmbr AS CnsldtnTskLgItmRowNmbr,
  item.CnsldtnTskLgNode AS CnsldtnTskLgNode,
  item.CnsldtnTskLgParNode AS CnsldtnTskLgParNode,
  item.ConsolidationLedger AS ConsolidationLedger,
  'Y1' AS ConsolidationDimension,
  item.ConsolidationVersion AS ConsolidationVersion,
  item.CnsldtnTriggeringAmtLoclCrcy AS CnsldtnTriggeringAmtLoclCrcy,
  item.CnsldtnJrnlEntryAmtLoclCrcy AS CnsldtnJrnlEntryAmtLoclCrcy,
  item.CnsldtnTriggeringAmtGrpCrcy AS CnsldtnTriggeringAmtGrpCrcy,
  item.CnsldtnJrnlEntryAmtGrpCrcy AS CnsldtnJrnlEntryAmtGrpCrcy,
  item.CnsldtnTriggeringAmtTransCrcy AS CnsldtnTriggeringAmtTransCrcy,
  item.CnsldtnJrnlEntryAmtTransCrcy AS CnsldtnJrnlEntryAmtTransCrcy,
  item.CnsldtnTriggeringQtyBaseUnit AS CnsldtnTriggeringQtyBaseUnit,
  item.CnsldtnJrnlEntryQtyBaseUnit AS CnsldtnJrnlEntryQtyBaseUnit,
  item.ConsolidationUnit AS ConsolidationUnit,
  item.ConsolidationChartOfAccounts AS ConsolidationChartOfAccounts,
  item.FinancialStatementItem AS FinancialStatementItem,
  item.CnsldtnFinancialStatementItem AS CnsldtnFinancialStatementItem,
  item.PartnerConsolidationUnit AS PartnerConsolidationUnit,
  item.ConsolidationGroup AS ConsolidationGroup,
  item.CompanyCode AS CompanyCode,
  item.SubItemCategory AS SubItemCategory,
  item.SubItem AS SubItem,
  item.PostingLevel AS PostingLevel,
  item.ConsolidationApportionment AS ConsolidationApportionment,
  item.CurrencyConversionsDiffType AS CurrencyConversionsDiffType,
  item.ConsolidationDocumentType AS ConsolidationDocumentType,
  item.ConsolidationAcquisitionYear AS ConsolidationAcquisitionYear,
  item.ConsolidationAcquisitionPeriod AS ConsolidationAcquisitionPeriod,
  item.InvesteeConsolidationUnit AS InvesteeConsolidationUnit,
  item.CnsldtnTriggeringAmtInGrpCrcy AS AMOUNT_GC_TRI,
  item.CnsldtnJrnlEntryAmtInGrpCrcy AS AMOUNT_GC_DOC,
  item.CnsldtnTriggeringAmtInLoclCrcy AS AMOUNT_LC_TRI,
  item.CnsldtnJrnlEntryAmtInLoclCrcy AS AMOUNT_LC_DOC,
  item.CnsldtnTriggeringAmtInTC AS AMOUNT_TC_TRI,
  item.CnsldtnJrnlEntryAmtInTransCrcy AS AMOUNT_TC_DOC,
  item.CnsldtnTriggeringQtyInBsUnt AS QUANTITY_TRI,
  item.CnsldtnJrnlEntryQtyInBsUnt AS QUANTITY_DOC,
  item.PostingDate AS PostingDate,
  item.CnsldtnLogHeaderDateTime AS CnsldtnLogHeaderDateTime,
  item.CurrencyTranslationDate AS CurrencyTranslationDate,
  item.InvestmentActivityType AS InvestmentActivityType,
  item.InvestmentActivity AS InvestmentActivity,
  item.ChartOfAccountsText AS ChartOfAccountsText,
  item.GLAccountText AS GLAccountText,
  item.CostCenterText AS CostCenterText,
  item.ProfitCenterText AS ProfitCenterText,
  item.FunctionalAreaText AS FunctionalAreaText,
  item.BusinessAreaText AS BusinessAreaText,
  item.ControllingAreaText AS ControllingAreaText,
  item.CnsldtnSegmentText AS CnsldtnSegmentText,
  item.PartnerCostCenter AS PartnerCostCenter,
  item.PartnerProfitCenterText AS PartnerProfitCenterText,
  item.PartnerFunctionalAreaText AS PartnerFunctionalAreaText,
  item.PartnerBusinessAreaText AS PartnerBusinessAreaText,
  item.PartnerCompanyText AS PartnerCompanyText,
  item.PartnerSegmentText AS PartnerSegmentText,
  item.OrderID AS OrderID,
  item.CnsldtnMaterialText AS CnsldtnMaterialText,
  item.MaterialGroupName AS MaterialGroupName,
  item.CnsldtnPlantText AS CnsldtnPlantText,
  item.FinancialTransactionType AS FinancialTransactionType,
  item.PartnerWBSElementDescription AS PartnerWBSElementDescription,
  item.CnsldtnProjectText AS CnsldtnProjectText,
  item.SalesOrganizationText AS SalesOrganizationText,
  item.DistributionChannelText AS DistributionChannelText,
  item.OrganizationDivisionText AS OrganizationDivisionText,
  item.SoldMaterial AS SoldMaterial,
  item.ProductGroupText AS ProductGroupText,
  item.CustomerGroup AS CustomerGroup,
  item.CustomerSupplierCountry AS CustomerSupplierCountry,
  item.CustomerSupplierIndustry AS CustomerSupplierIndustry,
  item.SalesDistrictText AS SalesDistrictText,
  item.CustomerSupplierCorporateGroup AS CustomerSupplierCorporateGroup,
  item.CnsldtnTaskLogItemIsLatest AS CnsldtnTaskLogItemIsLatest,
  msg.SystemMessageIdentification AS SystemMessageIdentification,
  'S' AS SystemMessageType,
  msg.SystemMessageNumber AS SystemMessageNumber,
  msg.SystemMessageVariable1 AS SystemMessageVariable1,
  msg.SystemMessageVariable2 AS SystemMessageVariable2,
  msg.SystemMessageVariable3 AS SystemMessageVariable3,
  msg.SystemMessageVariable4 AS SystemMessageVariable4,
  cast( '3' as abap.char( 1 ) ) AS SortField,
  concat_with_space(msg.SystemMessageIdentification , msg.SystemMessageNumber, 2) AS CnsldtnTskLgMsgID,
  item.PostingFiscalYear AS PostingFiscalYear,
  item.PostingFiscalPeriod AS PostingFiscalPeriod,
  cast(concat(item.PostingFiscalYear,item.PostingFiscalPeriod) as fincs_fiscalyearper ) AS FiscalYearPeriod
FROM I_CnsldtnTaskLogItem01 AS item
INNER JOIN P_CNSLDTN_DOCINDI AS _DocIndi ON /* join condition not captured in parsed metadata */
;