P_ProjectMargin

DDL: P_PROJECTMARGIN Type: view_entity COMPOSITE Package: FINS_COPA_REPORTING

Project Margin

P_ProjectMargin is a Composite CDS View that provides data about "Project Margin" in SAP S/4HANA. It reads from 1 data source (P_ActPlnSemTagAndSubldgrItm) and exposes 207 fields with key fields Ledger, SourceLedger, CompanyCode, FiscalYear, AccountingDocument. It has 17 associations to related views. Part of development package FINS_COPA_REPORTING.

Data Sources (1)

SourceAliasJoin Type
P_ActPlnSemTagAndSubldgrItm P_ActPlnSemTagAndSubldgrItm from

Parameters (1)

NameTypeDefault
P_GLAccountHierarchy fins_sem_tag_hryid

Associations (17)

CardinalityTargetAliasCondition
[0..1] I_MargAnlysProdAndSrvcObjType _ObjectType $projection.AccountAssignmentType = _ObjectType.MarginAnalysisObjectType
[0..1] I_ServiceDocument _SolutionOrder $projection.BusinessSolutionOrder = _SolutionOrder.ServiceDocument and _SolutionOrder.ServiceObjectType = 'BUS2000172'
[0..1] I_AcctgServiceDocumentType _ServiceDocumentTypeNew $projection.ServiceDocumentType = _ServiceDocumentTypeNew.ServiceDocumentType
[0..1] I_AccountingServiceDocument _ServiceDocumentNew $projection.ServiceDocumentType = _ServiceDocumentNew.ServiceDocumentType and $projection.ServiceDocument = _ServiceDocumentNew.ServiceDocument
[0..1] I_AcctgSrvcDocumentItemBasic _ServiceDocumentItemNew $projection.ServiceDocumentType = _ServiceDocumentItemNew.ServiceDocumentType and $projection.ServiceDocument = _ServiceDocumentItemNew.ServiceDocument and $projection.ServiceDocumentItem = _ServiceDocumentItemNew.ServiceDocumentItem
[0..1] I_AcctgServiceDocumentType _ServiceContractTypeNew $projection.ServiceContractType = _ServiceContractTypeNew.ServiceDocumentType
[0..1] I_AccountingServiceDocument _ServiceContractNew $projection.ServiceContractType = _ServiceContractNew.ServiceDocumentType and $projection.ServiceContract = _ServiceContractNew.ServiceDocument
[0..1] I_AcctgSrvcDocumentItemBasic _ServiceContractItemNew $projection.ServiceContractType = _ServiceContractItemNew.ServiceDocumentType and $projection.ServiceContract = _ServiceContractItemNew.ServiceDocument and $projection.ServiceContractItem = _ServiceContractItemNew.ServiceDocumentItem
[0..1] I_FiscalYearForVariant _LedgerFiscalYearForVariant $projection.LedgerFiscalYear = _LedgerFiscalYearForVariant.FiscalYear and $projection.FiscalYearVariant = _LedgerFiscalYearForVariant.FiscalYearVariant
[0..1] I_FiscalYearForLedger _LedgerFiscalYearForLedger $projection.LedgerFiscalYear = _LedgerFiscalYearForLedger.FiscalYear and $projection.CompanyCode = _LedgerFiscalYearForLedger.CompanyCode and $projection.Ledger = _LedgerFiscalYearForLedger.Ledger
[0..1] I_TimeSheetOvertimeCat _TimeSheetOvertimeCat $projection.TimeSheetOvertimeCategory = _TimeSheetOvertimeCat.TimeSheetOvertimeCategory
[0..1] I_ProjectByExternalID _Project $projection.Project = _Project.ProjectExternalID
[0..1] I_ProjectByExternalID _ProjectExternalID $projection.ProjectExternalID = _ProjectExternalID.ProjectExternalID
[0..1] I_SubLedgerAccLineItemType _SubLedgerAccLineItemType $projection.SubLedgerAcctLineItemType = _SubLedgerAccLineItemType.SubLedgerAcctLineItemType
[0..1] I_WBSElementByExternalID _WBSElementExternalID $projection.wbselementexternalid = _WBSElementExternalID.WBSElementExternalID
[0..1] I_PurchasingDocument _PurchasingDocument $projection.PurchasingDocument = _PurchasingDocument.PurchasingDocument
[0..1] I_WBSElementData_2 _WBSElementData_2 $projection.WBSElementInternalID = _WBSElementData_2.WBSElementInternalID

Annotations (8)

NameValueLevelField
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
EndUserText.label Project Margin view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view

Fields (207)

KeyFieldSource TableSource FieldDescription
KEY Ledger P_ActPlnSemTagAndSubldgrItm Ledger Ledger
KEY SourceLedger P_ActPlnSemTagAndSubldgrItm SourceLedger Source Ledger
KEY CompanyCode P_ActPlnSemTagAndSubldgrItm CompanyCode Receiver Company Code
KEY FiscalYear P_ActPlnSemTagAndSubldgrItm FiscalYear G/L Fiscal Year
KEY AccountingDocument P_ActPlnSemTagAndSubldgrItm AccountingDocument Journal Entry
KEY LedgerGLLineItem P_ActPlnSemTagAndSubldgrItm LedgerGLLineItem Journal Entry Item
KEY FinancialPlanningReqTransSqnc P_ActPlnSemTagAndSubldgrItm FinancialPlanningReqTransSqnc Request TSN
KEY FinancialPlanningDataPacket P_ActPlnSemTagAndSubldgrItm FinancialPlanningDataPacket Data packet number
KEY FinancialPlanningEntryItem P_ActPlnSemTagAndSubldgrItm FinancialPlanningEntryItem
KEY SemanticTag P_ActPlnSemTagAndSubldgrItm SemanticTag Semantic Tag
KEY CurrencyField P_ActPlnSemTagAndSubldgrItm CurrencyField
KEY LineIsSemTagCalculated P_ActPlnSemTagAndSubldgrItm LineIsSemTagCalculated
ActualPlanCode P_ActPlnSemTagAndSubldgrItm ActualPlanCode
PlanningCategory P_ActPlnSemTagAndSubldgrItm PlanningCategory Plan Category
LedgerFiscalYear P_ActPlnSemTagAndSubldgrItm LedgerFiscalYear
FiscalPeriod P_ActPlnSemTagAndSubldgrItm FiscalPeriod Tax period
PostingDate P_ActPlnSemTagAndSubldgrItm PostingDate Posting Date for GR
EvtBsdRevnRecgnLastEvalDate
ProfitCenter P_ActPlnSemTagAndSubldgrItm ProfitCenter Profit Center
OriginProfitCenter P_ActPlnSemTagAndSubldgrItm OriginProfitCenter
SoldProduct P_ActPlnSemTagAndSubldgrItm SoldProduct Product Sold
SoldProductGroup P_ActPlnSemTagAndSubldgrItm SoldProductGroup Product Sold Group
Customer P_ActPlnSemTagAndSubldgrItm Customer Sold-to Party
CustomerGroup P_ActPlnSemTagAndSubldgrItm CustomerGroup Customer Group
PurchasingDocument P_ActPlnSemTagAndSubldgrItm PurchasingDocument Purchasing Document
SalesOrder P_ActPlnSemTagAndSubldgrItm SalesOrder SD Document
SalesOrderItem P_ActPlnSemTagAndSubldgrItm SalesOrderItem Sales Order Item
SalesDocument P_ActPlnSemTagAndSubldgrItm SalesDocument SD Document
SalesDocumentItem P_ActPlnSemTagAndSubldgrItm SalesDocumentItem Sales Document Item
OrderID P_ActPlnSemTagAndSubldgrItm OrderID Order ID
OrderCategory P_ActPlnSemTagAndSubldgrItm OrderCategory Order Category
ConditionContract P_ActPlnSemTagAndSubldgrItm ConditionContract Condition Contract
FiscalYearPeriod P_ActPlnSemTagAndSubldgrItm FiscalYearPeriod Period/Year
ChartOfAccounts P_ActPlnSemTagAndSubldgrItm ChartOfAccounts Node Class
GLAccount P_ActPlnSemTagAndSubldgrItm GLAccount General Ledger
SalesOrganization P_ActPlnSemTagAndSubldgrItm SalesOrganization Sales Organization
CustomerSupplierCountry P_ActPlnSemTagAndSubldgrItm CustomerSupplierCountry Customer or Supplier Country/Region
CustomerSupplierIndustry P_ActPlnSemTagAndSubldgrItm CustomerSupplierIndustry Industry
SalesDistrict P_ActPlnSemTagAndSubldgrItm SalesDistrict Sales District
ShipToParty P_ActPlnSemTagAndSubldgrItm ShipToParty Ship-To Party (obsolete)
BillToParty P_ActPlnSemTagAndSubldgrItm BillToParty Inv. Recipient
ControllingArea P_ActPlnSemTagAndSubldgrItm ControllingArea Controlling Area
CostSourceUnit P_ActPlnSemTagAndSubldgrItm CostSourceUnit
BusinessTransactionType P_ActPlnSemTagAndSubldgrItm BusinessTransactionType Bus.transaction
SubLedgerAcctLineItemType P_ActPlnSemTagAndSubldgrItm SubLedgerAcctLineItemType SLALineItemType
DistributionChannel P_ActPlnSemTagAndSubldgrItm DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision P_ActPlnSemTagAndSubldgrItm OrganizationDivision Org. Division
BaseUnit P_ActPlnSemTagAndSubldgrItm BaseUnit Unit of Measure
OrderType P_ActPlnSemTagAndSubldgrItm OrderType Order Type
Segment P_ActPlnSemTagAndSubldgrItm Segment Segment number
WBSElementInternalID P_ActPlnSemTagAndSubldgrItm WBSElementInternalID WBS Internal ID
WBSElementExternalID
ProjectNetwork P_ActPlnSemTagAndSubldgrItm ProjectNetwork Order
FunctionalArea P_ActPlnSemTagAndSubldgrItm FunctionalArea Sendr Fctl Area
Plant P_ActPlnSemTagAndSubldgrItm Plant Valuation Area
FiscalYearVariant P_ActPlnSemTagAndSubldgrItm FiscalYearVariant FY Variant
ServiceContract P_ActPlnSemTagAndSubldgrItm ServiceContract Transaction ID
ServiceContractItem P_ActPlnSemTagAndSubldgrItm ServiceContractItem Item Number in Doc.
BusinessSolutionOrder P_ActPlnSemTagAndSubldgrItm BusinessSolutionOrder Solution Order
BusinessSolutionOrderItem P_ActPlnSemTagAndSubldgrItm BusinessSolutionOrderItem Solution Order Item
ProviderContract P_ActPlnSemTagAndSubldgrItm ProviderContract Contract
ProviderContractItem P_ActPlnSemTagAndSubldgrItm ProviderContractItem Contract Item
ServiceContractType P_ActPlnSemTagAndSubldgrItm ServiceContractType
AccountAssignmentType P_ActPlnSemTagAndSubldgrItm AccountAssignmentType Sndr AcctAssgmt Type
ServiceDocument P_ActPlnSemTagAndSubldgrItm ServiceDocument Transaction ID
ServiceDocumentItem P_ActPlnSemTagAndSubldgrItm ServiceDocumentItem Service Document
ServiceDocumentType P_ActPlnSemTagAndSubldgrItm ServiceDocumentType Transaction Type
Project
ProjectInternalID P_ActPlnSemTagAndSubldgrItm ProjectInternalID Project Def.
ProjectExternalID P_ActPlnSemTagAndSubldgrItm ProjectExternalID Project def.
Supplier P_ActPlnSemTagAndSubldgrItm Supplier Supplier
AccountingDocumentType P_ActPlnSemTagAndSubldgrItm AccountingDocumentType Journal Entry Type
FinancialAccountType P_ActPlnSemTagAndSubldgrItm FinancialAccountType Fin. Account Type
CostCenter P_ActPlnSemTagAndSubldgrItm CostCenter Cost Center
AssetClass P_ActPlnSemTagAndSubldgrItm AssetClass Asset Class
ValuationArea P_ActPlnSemTagAndSubldgrItm ValuationArea Valuation Area
BillableControl P_ActPlnSemTagAndSubldgrItm BillableControl Billable Control
ServicesRenderedDate P_ActPlnSemTagAndSubldgrItm ServicesRenderedDate Services Rendered Date
Material P_ActPlnSemTagAndSubldgrItm Material Vehicle Model
WorkPackage P_ActPlnSemTagAndSubldgrItm WorkPackage Plan Item
WorkItem P_ActPlnSemTagAndSubldgrItm WorkItem Work Item ID
CostAnalysisResource P_ActPlnSemTagAndSubldgrItm CostAnalysisResource
TimeSheetOvertimeCategory P_ActPlnSemTagAndSubldgrItm TimeSheetOvertimeCategory
PersonnelNumber P_ActPlnSemTagAndSubldgrItm PersonnelNumber Personnel No.
OriginCostCtrActivityType P_ActPlnSemTagAndSubldgrItm OriginCostCtrActivityType
PartnerCostCtrActivityType P_ActPlnSemTagAndSubldgrItm PartnerCostCtrActivityType Partner Cost Center Activity Type
IsCommitment P_ActPlnSemTagAndSubldgrItm IsCommitment
ControllingDebitCreditCode
DocumentItemText P_ActPlnSemTagAndSubldgrItm DocumentItemText Text
Currency P_ActPlnSemTagAndSubldgrItm Currency Valuation Crcy
AmountInDisplayCurrency P_ActPlnSemTagAndSubldgrItm AmountInDisplayCurrency
FixedAmountInDspCrcy P_ActPlnSemTagAndSubldgrItm FixedAmountInDspCrcy
BilledRevenueAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm BilledRevenueAmtInDspCrcy
ActualSalesDdctdInDspCrcy P_ActPlnSemTagAndSubldgrItm ActualSalesDdctdInDspCrcy
ActualCostAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm ActualCostAmtInDspCrcy
ActlFixedCostInDspCrcy P_ActPlnSemTagAndSubldgrItm ActlFixedCostInDspCrcy
RevenueAdjustmentAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm RevenueAdjustmentAmtInDspCrcy
COGSAdjustmentAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm COGSAdjustmentAmtInDspCrcy
DeferredRevenueAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm DeferredRevenueAmtInDspCrcy
DeferredCOGSAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm DeferredCOGSAmtInDspCrcy
AccruedRevenueAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm AccruedRevenueAmtInDspCrcy
AccruedCOGSAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm AccruedCOGSAmtInDspCrcy
RecognizedMargAmtInDisplayCrcy P_ActPlnSemTagAndSubldgrItm RecognizedMargAmtInDisplayCrcy
RecognizedRevnAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm RecognizedRevnAmtInDspCrcy
RecognizedCOGSAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm RecognizedCOGSAmtInDspCrcy
CostOfGoodsSoldAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm CostOfGoodsSoldAmtInDspCrcy
FxdCOGSAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm FxdCOGSAmtInDspCrcy
PriceDiffAmtInDisplayCrcy P_ActPlnSemTagAndSubldgrItm PriceDiffAmtInDisplayCrcy
AdminOverheadAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm AdminOverheadAmtInDspCrcy
SalesOverheadAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm SalesOverheadAmtInDspCrcy
MarketingOvhdAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm MarketingOvhdAmtInDspCrcy
RnDOverheadAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm RnDOverheadAmtInDspCrcy
InptPrVarcAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm InptPrVarcAmtInDspCrcy
OutpPrVarcAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm OutpPrVarcAmtInDspCrcy
InptQtyVarcAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm InptQtyVarcAmtInDspCrcy
RsceUsgeVarcAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm RsceUsgeVarcAmtInDspCrcy
LotSizeVarcAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm LotSizeVarcAmtInDspCrcy
InptRmngVarcAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm InptRmngVarcAmtInDspCrcy
PlannedCosAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm PlannedCosAmtInDspCrcy
PlannedRevenueAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm PlannedRevenueAmtInDspCrcy
MnlContrAccrPnLItmAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm MnlContrAccrPnLItmAmtInDspCrcy
UnbilledRevnInDspCrcy P_ActPlnSemTagAndSubldgrItm UnbilledRevnInDspCrcy
MnlContrAccrBalShtAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm MnlContrAccrBalShtAmtInDspCrcy
WIPProjAmtInDspCrcy
MatlStkAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm MatlStkAmtInDspCrcy
WIPProdnAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm WIPProdnAmtInDspCrcy
DownPaymentAmountInDspCrcy P_ActPlnSemTagAndSubldgrItm DownPaymentAmountInDspCrcy
Quantity P_ActPlnSemTagAndSubldgrItm Quantity Value
TimeConfirmationAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm TimeConfirmationAmtInDspCrcy
ConfirmedHoursQuantity P_ActPlnSemTagAndSubldgrItm ConfirmedHoursQuantity
BilledHoursQuantity P_ActPlnSemTagAndSubldgrItm BilledHoursQuantity
WrittenOffHoursQuantity P_ActPlnSemTagAndSubldgrItm WrittenOffHoursQuantity
WrittenOffAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm WrittenOffAmtInDspCrcy
NonBillableHoursQuantity P_ActPlnSemTagAndSubldgrItm NonBillableHoursQuantity
NonBillableAmtInDspCrcy P_ActPlnSemTagAndSubldgrItm NonBillableAmtInDspCrcy
WIPHoursQuantity P_ActPlnSemTagAndSubldgrItm WIPHoursQuantity
WIPAmtInDisplayCurrency P_ActPlnSemTagAndSubldgrItm WIPAmtInDisplayCurrency
CapAmountInDspCrcy P_ActPlnSemTagAndSubldgrItm CapAmountInDspCrcy
BdgtCtrldBdgtCostInDspCrcy P_ActPlnSemTagAndSubldgrItm BdgtCtrldBdgtCostInDspCrcy
CompletedWorkQuantity P_ActPlnSemTagAndSubldgrItm CompletedWorkQuantity
ActualValuationQuantity P_ActPlnSemTagAndSubldgrItm ActualValuationQuantity
PlanValuationQuantity P_ActPlnSemTagAndSubldgrItm PlanValuationQuantity
MnlContrAccrIncStatAmtInDC P_ActPlnSemTagAndSubldgrItm MnlContrAccrIncStatAmtInDC
ImminentLossRsrvAdjAmtInDC P_ActPlnSemTagAndSubldgrItm ImminentLossRsrvAdjAmtInDC
ImmntLossRsrvBalShtAmtInDC P_ActPlnSemTagAndSubldgrItm ImmntLossRsrvBalShtAmtInDC
_ProjectExternalID _ProjectExternalID
_Project _Project
_ProjectBasicData P_ActPlnSemTagAndSubldgrItm _ProjectBasicData
_WBSElementExternalID _WBSElementExternalID
_Ledger P_ActPlnSemTagAndSubldgrItm _Ledger
_SourceLedger P_ActPlnSemTagAndSubldgrItm _SourceLedger
_CompanyCode P_ActPlnSemTagAndSubldgrItm _CompanyCode
_SemanticTag P_ActPlnSemTagAndSubldgrItm _SemanticTag
_FiscalYear P_ActPlnSemTagAndSubldgrItm _FiscalYear
_Customer P_ActPlnSemTagAndSubldgrItm _Customer
_CustomerGroup P_ActPlnSemTagAndSubldgrItm _CustomerGroup
_PurchasingDocument _PurchasingDocument
_SoldProduct P_ActPlnSemTagAndSubldgrItm _SoldProduct
_SoldProductGroup P_ActPlnSemTagAndSubldgrItm _SoldProductGroup
_ProfitCenter P_ActPlnSemTagAndSubldgrItm _ProfitCenter
_OriginProfitCenter P_ActPlnSemTagAndSubldgrItm _OriginProfitCenter
_ControllingArea P_ActPlnSemTagAndSubldgrItm _ControllingArea
_CostSourceUnit P_ActPlnSemTagAndSubldgrItm _CostSourceUnit
_SalesDocument P_ActPlnSemTagAndSubldgrItm _SalesDocument
_SalesOrder P_ActPlnSemTagAndSubldgrItm _SalesOrder
_SalesOrderItem P_ActPlnSemTagAndSubldgrItm _SalesOrderItem
_Order P_ActPlnSemTagAndSubldgrItm _Order
_DistributionChannel P_ActPlnSemTagAndSubldgrItm _DistributionChannel
_BaseUnit P_ActPlnSemTagAndSubldgrItm _BaseUnit
_Segment P_ActPlnSemTagAndSubldgrItm _Segment
_ChartOfAccounts P_ActPlnSemTagAndSubldgrItm _ChartOfAccounts
_GLAccountInChartOfAccounts P_ActPlnSemTagAndSubldgrItm _GLAccountInChartOfAccounts
_FunctionalArea P_ActPlnSemTagAndSubldgrItm _FunctionalArea
_Plant P_ActPlnSemTagAndSubldgrItm _Plant
_SalesOrganization P_ActPlnSemTagAndSubldgrItm _SalesOrganization
_SalesDistrict P_ActPlnSemTagAndSubldgrItm _SalesDistrict
_CustomerSupplierCountry P_ActPlnSemTagAndSubldgrItm _CustomerSupplierCountry
_CustomerSupplierIndustry P_ActPlnSemTagAndSubldgrItm _CustomerSupplierIndustry
_ShipToParty P_ActPlnSemTagAndSubldgrItm _ShipToParty
_BillToParty P_ActPlnSemTagAndSubldgrItm _BillToParty
_FiscalYearVariant P_ActPlnSemTagAndSubldgrItm _FiscalYearVariant
_WBSElementBasicData P_ActPlnSemTagAndSubldgrItm _WBSElementBasicData
_Supplier P_ActPlnSemTagAndSubldgrItm _Supplier
_AccountingDocumentType P_ActPlnSemTagAndSubldgrItm _AccountingDocumentType
_CurrentProfitCenter P_ActPlnSemTagAndSubldgrItm _CurrentProfitCenter
_CurrentCostCenter P_ActPlnSemTagAndSubldgrItm _CurrentCostCenter
_ServiceDocument P_ActPlnSemTagAndSubldgrItm _ServiceDocument
_Material P_ActPlnSemTagAndSubldgrItm _Material
_WorkPackage P_ActPlnSemTagAndSubldgrItm _WorkPackage
_WorkPackageWorkItem P_ActPlnSemTagAndSubldgrItm _WorkPackageWorkItem
_CostAnalysisResource P_ActPlnSemTagAndSubldgrItm _CostAnalysisResource
_TimeSheetOvertimeCat _TimeSheetOvertimeCat
_Employment P_ActPlnSemTagAndSubldgrItm _Employment
_ObjectType _ObjectType
_SolutionOrder _SolutionOrder
_ServiceDocumentTypeNew _ServiceDocumentTypeNew
_ServiceDocumentNew _ServiceDocumentNew
_ServiceDocumentItemNew _ServiceDocumentItemNew
_ServiceContractTypeNew _ServiceContractTypeNew
_ServiceContractNew _ServiceContractNew
_ServiceContractItemNew _ServiceContractItemNew
_LedgerFiscalYearForVariant _LedgerFiscalYearForVariant
_LedgerFiscalYearForLedger _LedgerFiscalYearForLedger
_SubLedgerAccLineItemType _SubLedgerAccLineItemType
_OriginCostCtrActivityType P_ActPlnSemTagAndSubldgrItm _OriginCostCtrActivityType
_PartnerCostCtrActivityType P_ActPlnSemTagAndSubldgrItm _PartnerCostCtrActivityType
_WBSElementData_2 _WBSElementData_2

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_ProjectMargin.
-- 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.
-- Parameters: P_GLAccountHierarchy : fins_sem_tag_hryid

CREATE VIEW P_ProjectMargin AS
SELECT
  P_ActPlnSemTagAndSubldgrItm.Ledger AS Ledger,
  P_ActPlnSemTagAndSubldgrItm.SourceLedger AS SourceLedger,
  P_ActPlnSemTagAndSubldgrItm.CompanyCode AS CompanyCode,
  P_ActPlnSemTagAndSubldgrItm.FiscalYear AS FiscalYear,
  P_ActPlnSemTagAndSubldgrItm.AccountingDocument AS AccountingDocument,
  P_ActPlnSemTagAndSubldgrItm.LedgerGLLineItem AS LedgerGLLineItem,
  P_ActPlnSemTagAndSubldgrItm.FinancialPlanningReqTransSqnc AS FinancialPlanningReqTransSqnc,
  P_ActPlnSemTagAndSubldgrItm.FinancialPlanningDataPacket AS FinancialPlanningDataPacket,
  P_ActPlnSemTagAndSubldgrItm.FinancialPlanningEntryItem AS FinancialPlanningEntryItem,
  P_ActPlnSemTagAndSubldgrItm.SemanticTag AS SemanticTag,
  P_ActPlnSemTagAndSubldgrItm.CurrencyField AS CurrencyField,
  P_ActPlnSemTagAndSubldgrItm.LineIsSemTagCalculated AS LineIsSemTagCalculated,
  P_ActPlnSemTagAndSubldgrItm.ActualPlanCode AS ActualPlanCode,
  P_ActPlnSemTagAndSubldgrItm.PlanningCategory AS PlanningCategory,
  P_ActPlnSemTagAndSubldgrItm.LedgerFiscalYear AS LedgerFiscalYear,
  P_ActPlnSemTagAndSubldgrItm.FiscalPeriod AS FiscalPeriod,
  P_ActPlnSemTagAndSubldgrItm.PostingDate AS PostingDate,
  cast( lifecyc.PostingDate as fins_rep_last_revaldat preserving type ) AS EvtBsdRevnRecgnLastEvalDate,
  P_ActPlnSemTagAndSubldgrItm.ProfitCenter AS ProfitCenter,
  P_ActPlnSemTagAndSubldgrItm.OriginProfitCenter AS OriginProfitCenter,
  P_ActPlnSemTagAndSubldgrItm.SoldProduct AS SoldProduct,
  P_ActPlnSemTagAndSubldgrItm.SoldProductGroup AS SoldProductGroup,
  P_ActPlnSemTagAndSubldgrItm.Customer AS Customer,
  P_ActPlnSemTagAndSubldgrItm.CustomerGroup AS CustomerGroup,
  P_ActPlnSemTagAndSubldgrItm.PurchasingDocument AS PurchasingDocument,
  P_ActPlnSemTagAndSubldgrItm.SalesOrder AS SalesOrder,
  P_ActPlnSemTagAndSubldgrItm.SalesOrderItem AS SalesOrderItem,
  P_ActPlnSemTagAndSubldgrItm.SalesDocument AS SalesDocument,
  P_ActPlnSemTagAndSubldgrItm.SalesDocumentItem AS SalesDocumentItem,
  P_ActPlnSemTagAndSubldgrItm.OrderID AS OrderID,
  P_ActPlnSemTagAndSubldgrItm.OrderCategory AS OrderCategory,
  P_ActPlnSemTagAndSubldgrItm.ConditionContract AS ConditionContract,
  P_ActPlnSemTagAndSubldgrItm.FiscalYearPeriod AS FiscalYearPeriod,
  P_ActPlnSemTagAndSubldgrItm.ChartOfAccounts AS ChartOfAccounts,
  P_ActPlnSemTagAndSubldgrItm.GLAccount AS GLAccount,
  P_ActPlnSemTagAndSubldgrItm.SalesOrganization AS SalesOrganization,
  P_ActPlnSemTagAndSubldgrItm.CustomerSupplierCountry AS CustomerSupplierCountry,
  P_ActPlnSemTagAndSubldgrItm.CustomerSupplierIndustry AS CustomerSupplierIndustry,
  P_ActPlnSemTagAndSubldgrItm.SalesDistrict AS SalesDistrict,
  P_ActPlnSemTagAndSubldgrItm.ShipToParty AS ShipToParty,
  P_ActPlnSemTagAndSubldgrItm.BillToParty AS BillToParty,
  P_ActPlnSemTagAndSubldgrItm.ControllingArea AS ControllingArea,
  P_ActPlnSemTagAndSubldgrItm.CostSourceUnit AS CostSourceUnit,
  P_ActPlnSemTagAndSubldgrItm.BusinessTransactionType AS BusinessTransactionType,
  P_ActPlnSemTagAndSubldgrItm.SubLedgerAcctLineItemType AS SubLedgerAcctLineItemType,
  P_ActPlnSemTagAndSubldgrItm.DistributionChannel AS DistributionChannel,
  P_ActPlnSemTagAndSubldgrItm.OrganizationDivision AS OrganizationDivision,
  P_ActPlnSemTagAndSubldgrItm.BaseUnit AS BaseUnit,
  P_ActPlnSemTagAndSubldgrItm.OrderType AS OrderType,
  P_ActPlnSemTagAndSubldgrItm.Segment AS Segment,
  P_ActPlnSemTagAndSubldgrItm.WBSElementInternalID AS WBSElementInternalID,
  P_ActPlnSemTagAndSubldgrItm._WBSElementBasicData.WBSElementExternalID AS WBSElementExternalID,
  P_ActPlnSemTagAndSubldgrItm.ProjectNetwork AS ProjectNetwork,
  P_ActPlnSemTagAndSubldgrItm.FunctionalArea AS FunctionalArea,
  P_ActPlnSemTagAndSubldgrItm.Plant AS Plant,
  P_ActPlnSemTagAndSubldgrItm.FiscalYearVariant AS FiscalYearVariant,
  P_ActPlnSemTagAndSubldgrItm.ServiceContract AS ServiceContract,
  P_ActPlnSemTagAndSubldgrItm.ServiceContractItem AS ServiceContractItem,
  P_ActPlnSemTagAndSubldgrItm.BusinessSolutionOrder AS BusinessSolutionOrder,
  P_ActPlnSemTagAndSubldgrItm.BusinessSolutionOrderItem AS BusinessSolutionOrderItem,
  P_ActPlnSemTagAndSubldgrItm.ProviderContract AS ProviderContract,
  P_ActPlnSemTagAndSubldgrItm.ProviderContractItem AS ProviderContractItem,
  P_ActPlnSemTagAndSubldgrItm.ServiceContractType AS ServiceContractType,
  P_ActPlnSemTagAndSubldgrItm.AccountAssignmentType AS AccountAssignmentType,
  P_ActPlnSemTagAndSubldgrItm.ServiceDocument AS ServiceDocument,
  P_ActPlnSemTagAndSubldgrItm.ServiceDocumentItem AS ServiceDocumentItem,
  P_ActPlnSemTagAndSubldgrItm.ServiceDocumentType AS ServiceDocumentType,
  cast( P_ActPlnSemTagAndSubldgrItm.ProjectExternalID as fis_rep_project preserving type ) AS Project,
  P_ActPlnSemTagAndSubldgrItm.ProjectInternalID AS ProjectInternalID,
  P_ActPlnSemTagAndSubldgrItm.ProjectExternalID AS ProjectExternalID,
  P_ActPlnSemTagAndSubldgrItm.Supplier AS Supplier,
  P_ActPlnSemTagAndSubldgrItm.AccountingDocumentType AS AccountingDocumentType,
  P_ActPlnSemTagAndSubldgrItm.FinancialAccountType AS FinancialAccountType,
  P_ActPlnSemTagAndSubldgrItm.CostCenter AS CostCenter,
  P_ActPlnSemTagAndSubldgrItm.AssetClass AS AssetClass,
  P_ActPlnSemTagAndSubldgrItm.ValuationArea AS ValuationArea,
  P_ActPlnSemTagAndSubldgrItm.BillableControl AS BillableControl,
  P_ActPlnSemTagAndSubldgrItm.ServicesRenderedDate AS ServicesRenderedDate,
  P_ActPlnSemTagAndSubldgrItm.Material AS Material,
  P_ActPlnSemTagAndSubldgrItm.WorkPackage AS WorkPackage,
  P_ActPlnSemTagAndSubldgrItm.WorkItem AS WorkItem,
  P_ActPlnSemTagAndSubldgrItm.CostAnalysisResource AS CostAnalysisResource,
  P_ActPlnSemTagAndSubldgrItm.TimeSheetOvertimeCategory AS TimeSheetOvertimeCategory,
  P_ActPlnSemTagAndSubldgrItm.PersonnelNumber AS PersonnelNumber,
  P_ActPlnSemTagAndSubldgrItm.OriginCostCtrActivityType AS OriginCostCtrActivityType,
  P_ActPlnSemTagAndSubldgrItm.PartnerCostCtrActivityType AS PartnerCostCtrActivityType,
  P_ActPlnSemTagAndSubldgrItm.IsCommitment AS IsCommitment,
  cast( P_ActPlnSemTagAndSubldgrItm.ControllingDebitCreditCode as co_belkz ) AS ControllingDebitCreditCode,
  P_ActPlnSemTagAndSubldgrItm.DocumentItemText AS DocumentItemText,
  P_ActPlnSemTagAndSubldgrItm.Currency AS Currency,
  P_ActPlnSemTagAndSubldgrItm.AmountInDisplayCurrency AS AmountInDisplayCurrency,
  P_ActPlnSemTagAndSubldgrItm.FixedAmountInDspCrcy AS FixedAmountInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.BilledRevenueAmtInDspCrcy AS BilledRevenueAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.ActualSalesDdctdInDspCrcy AS ActualSalesDdctdInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.ActualCostAmtInDspCrcy AS ActualCostAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.ActlFixedCostInDspCrcy AS ActlFixedCostInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.RevenueAdjustmentAmtInDspCrcy AS RevenueAdjustmentAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.COGSAdjustmentAmtInDspCrcy AS COGSAdjustmentAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.DeferredRevenueAmtInDspCrcy AS DeferredRevenueAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.DeferredCOGSAmtInDspCrcy AS DeferredCOGSAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.AccruedRevenueAmtInDspCrcy AS AccruedRevenueAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.AccruedCOGSAmtInDspCrcy AS AccruedCOGSAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.RecognizedMargAmtInDisplayCrcy AS RecognizedMargAmtInDisplayCrcy,
  P_ActPlnSemTagAndSubldgrItm.RecognizedRevnAmtInDspCrcy AS RecognizedRevnAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.RecognizedCOGSAmtInDspCrcy AS RecognizedCOGSAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.CostOfGoodsSoldAmtInDspCrcy AS CostOfGoodsSoldAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.FxdCOGSAmtInDspCrcy AS FxdCOGSAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.PriceDiffAmtInDisplayCrcy AS PriceDiffAmtInDisplayCrcy,
  P_ActPlnSemTagAndSubldgrItm.AdminOverheadAmtInDspCrcy AS AdminOverheadAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.SalesOverheadAmtInDspCrcy AS SalesOverheadAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.MarketingOvhdAmtInDspCrcy AS MarketingOvhdAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.RnDOverheadAmtInDspCrcy AS RnDOverheadAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.InptPrVarcAmtInDspCrcy AS InptPrVarcAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.OutpPrVarcAmtInDspCrcy AS OutpPrVarcAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.InptQtyVarcAmtInDspCrcy AS InptQtyVarcAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.RsceUsgeVarcAmtInDspCrcy AS RsceUsgeVarcAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.LotSizeVarcAmtInDspCrcy AS LotSizeVarcAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.InptRmngVarcAmtInDspCrcy AS InptRmngVarcAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.PlannedCosAmtInDspCrcy AS PlannedCosAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.PlannedRevenueAmtInDspCrcy AS PlannedRevenueAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.MnlContrAccrPnLItmAmtInDspCrcy AS MnlContrAccrPnLItmAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.UnbilledRevnInDspCrcy AS UnbilledRevnInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.MnlContrAccrBalShtAmtInDspCrcy AS MnlContrAccrBalShtAmtInDspCrcy,
  / P_ActPlnSemTagAndSubldgrItm.WIPProjAmtInDspCrcy AS WIPProjAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.MatlStkAmtInDspCrcy AS MatlStkAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.WIPProdnAmtInDspCrcy AS WIPProdnAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.DownPaymentAmountInDspCrcy AS DownPaymentAmountInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.Quantity AS Quantity,
  P_ActPlnSemTagAndSubldgrItm.TimeConfirmationAmtInDspCrcy AS TimeConfirmationAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.ConfirmedHoursQuantity AS ConfirmedHoursQuantity,
  P_ActPlnSemTagAndSubldgrItm.BilledHoursQuantity AS BilledHoursQuantity,
  P_ActPlnSemTagAndSubldgrItm.WrittenOffHoursQuantity AS WrittenOffHoursQuantity,
  P_ActPlnSemTagAndSubldgrItm.WrittenOffAmtInDspCrcy AS WrittenOffAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.NonBillableHoursQuantity AS NonBillableHoursQuantity,
  P_ActPlnSemTagAndSubldgrItm.NonBillableAmtInDspCrcy AS NonBillableAmtInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.WIPHoursQuantity AS WIPHoursQuantity,
  P_ActPlnSemTagAndSubldgrItm.WIPAmtInDisplayCurrency AS WIPAmtInDisplayCurrency,
  P_ActPlnSemTagAndSubldgrItm.CapAmountInDspCrcy AS CapAmountInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.BdgtCtrldBdgtCostInDspCrcy AS BdgtCtrldBdgtCostInDspCrcy,
  P_ActPlnSemTagAndSubldgrItm.CompletedWorkQuantity AS CompletedWorkQuantity,
  P_ActPlnSemTagAndSubldgrItm.ActualValuationQuantity AS ActualValuationQuantity,
  P_ActPlnSemTagAndSubldgrItm.PlanValuationQuantity AS PlanValuationQuantity,
  P_ActPlnSemTagAndSubldgrItm.MnlContrAccrIncStatAmtInDC AS MnlContrAccrIncStatAmtInDC,
  P_ActPlnSemTagAndSubldgrItm.ImminentLossRsrvAdjAmtInDC AS ImminentLossRsrvAdjAmtInDC,
  P_ActPlnSemTagAndSubldgrItm.ImmntLossRsrvBalShtAmtInDC AS ImmntLossRsrvBalShtAmtInDC,
  P_ActPlnSemTagAndSubldgrItm._ProjectBasicData AS _ProjectBasicData,
  P_ActPlnSemTagAndSubldgrItm._Ledger AS _Ledger,
  P_ActPlnSemTagAndSubldgrItm._SourceLedger AS _SourceLedger,
  P_ActPlnSemTagAndSubldgrItm._CompanyCode AS _CompanyCode,
  P_ActPlnSemTagAndSubldgrItm._SemanticTag AS _SemanticTag,
  P_ActPlnSemTagAndSubldgrItm._FiscalYear AS _FiscalYear,
  P_ActPlnSemTagAndSubldgrItm._Customer AS _Customer,
  P_ActPlnSemTagAndSubldgrItm._CustomerGroup AS _CustomerGroup,
  P_ActPlnSemTagAndSubldgrItm._SoldProduct AS _SoldProduct,
  P_ActPlnSemTagAndSubldgrItm._SoldProductGroup AS _SoldProductGroup,
  P_ActPlnSemTagAndSubldgrItm._ProfitCenter AS _ProfitCenter,
  P_ActPlnSemTagAndSubldgrItm._OriginProfitCenter AS _OriginProfitCenter,
  P_ActPlnSemTagAndSubldgrItm._ControllingArea AS _ControllingArea,
  P_ActPlnSemTagAndSubldgrItm._CostSourceUnit AS _CostSourceUnit,
  P_ActPlnSemTagAndSubldgrItm._SalesDocument AS _SalesDocument,
  P_ActPlnSemTagAndSubldgrItm._SalesOrder AS _SalesOrder,
  P_ActPlnSemTagAndSubldgrItm._SalesOrderItem AS _SalesOrderItem,
  P_ActPlnSemTagAndSubldgrItm._Order AS _Order,
  P_ActPlnSemTagAndSubldgrItm._DistributionChannel AS _DistributionChannel,
  P_ActPlnSemTagAndSubldgrItm._BaseUnit AS _BaseUnit,
  P_ActPlnSemTagAndSubldgrItm._Segment AS _Segment,
  P_ActPlnSemTagAndSubldgrItm._ChartOfAccounts AS _ChartOfAccounts,
  P_ActPlnSemTagAndSubldgrItm._GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts,
  P_ActPlnSemTagAndSubldgrItm._FunctionalArea AS _FunctionalArea,
  P_ActPlnSemTagAndSubldgrItm._Plant AS _Plant,
  P_ActPlnSemTagAndSubldgrItm._SalesOrganization AS _SalesOrganization,
  P_ActPlnSemTagAndSubldgrItm._SalesDistrict AS _SalesDistrict,
  P_ActPlnSemTagAndSubldgrItm._CustomerSupplierCountry AS _CustomerSupplierCountry,
  P_ActPlnSemTagAndSubldgrItm._CustomerSupplierIndustry AS _CustomerSupplierIndustry,
  P_ActPlnSemTagAndSubldgrItm._ShipToParty AS _ShipToParty,
  P_ActPlnSemTagAndSubldgrItm._BillToParty AS _BillToParty,
  P_ActPlnSemTagAndSubldgrItm._FiscalYearVariant AS _FiscalYearVariant,
  P_ActPlnSemTagAndSubldgrItm._WBSElementBasicData AS _WBSElementBasicData,
  P_ActPlnSemTagAndSubldgrItm._Supplier AS _Supplier,
  P_ActPlnSemTagAndSubldgrItm._AccountingDocumentType AS _AccountingDocumentType,
  P_ActPlnSemTagAndSubldgrItm._CurrentProfitCenter AS _CurrentProfitCenter,
  P_ActPlnSemTagAndSubldgrItm._CurrentCostCenter AS _CurrentCostCenter,
  P_ActPlnSemTagAndSubldgrItm._ServiceDocument AS _ServiceDocument,
  P_ActPlnSemTagAndSubldgrItm._Material AS _Material,
  P_ActPlnSemTagAndSubldgrItm._WorkPackage AS _WorkPackage,
  P_ActPlnSemTagAndSubldgrItm._WorkPackageWorkItem AS _WorkPackageWorkItem,
  P_ActPlnSemTagAndSubldgrItm._CostAnalysisResource AS _CostAnalysisResource,
  P_ActPlnSemTagAndSubldgrItm._Employment AS _Employment,
  P_ActPlnSemTagAndSubldgrItm._OriginCostCtrActivityType AS _OriginCostCtrActivityType,
  P_ActPlnSemTagAndSubldgrItm._PartnerCostCtrActivityType AS _PartnerCostCtrActivityType
FROM P_ActPlnSemTagAndSubldgrItm
LEFT OUTER JOIN I_MargAnlysProdAndSrvcObjType AS _ObjectType ON AccountAssignmentType = _ObjectType.MarginAnalysisObjectType  -- association [0..1]
LEFT OUTER JOIN I_ServiceDocument AS _SolutionOrder ON BusinessSolutionOrder = _SolutionOrder.ServiceDocument AND _SolutionOrder.ServiceObjectType = 'BUS2000172'  -- association [0..1]
LEFT OUTER JOIN I_AcctgServiceDocumentType AS _ServiceDocumentTypeNew ON ServiceDocumentType = _ServiceDocumentTypeNew.ServiceDocumentType  -- association [0..1]
LEFT OUTER JOIN I_AccountingServiceDocument AS _ServiceDocumentNew ON ServiceDocumentType = _ServiceDocumentNew.ServiceDocumentType AND ServiceDocument = _ServiceDocumentNew.ServiceDocument  -- association [0..1]
LEFT OUTER JOIN I_AcctgSrvcDocumentItemBasic AS _ServiceDocumentItemNew ON ServiceDocumentType = _ServiceDocumentItemNew.ServiceDocumentType AND ServiceDocument = _ServiceDocumentItemNew.ServiceDocument AND ServiceDocumentItem = _ServiceDocumentItemNew.ServiceDocumentItem  -- association [0..1]
LEFT OUTER JOIN I_AcctgServiceDocumentType AS _ServiceContractTypeNew ON ServiceContractType = _ServiceContractTypeNew.ServiceDocumentType  -- association [0..1]
LEFT OUTER JOIN I_AccountingServiceDocument AS _ServiceContractNew ON ServiceContractType = _ServiceContractNew.ServiceDocumentType AND ServiceContract = _ServiceContractNew.ServiceDocument  -- association [0..1]
LEFT OUTER JOIN I_AcctgSrvcDocumentItemBasic AS _ServiceContractItemNew ON ServiceContractType = _ServiceContractItemNew.ServiceDocumentType AND ServiceContract = _ServiceContractItemNew.ServiceDocument AND ServiceContractItem = _ServiceContractItemNew.ServiceDocumentItem  -- association [0..1]
LEFT OUTER JOIN I_FiscalYearForVariant AS _LedgerFiscalYearForVariant ON LedgerFiscalYear = _LedgerFiscalYearForVariant.FiscalYear AND FiscalYearVariant = _LedgerFiscalYearForVariant.FiscalYearVariant  -- association [0..1]
LEFT OUTER JOIN I_FiscalYearForLedger AS _LedgerFiscalYearForLedger ON LedgerFiscalYear = _LedgerFiscalYearForLedger.FiscalYear AND CompanyCode = _LedgerFiscalYearForLedger.CompanyCode AND Ledger = _LedgerFiscalYearForLedger.Ledger  -- association [0..1]
LEFT OUTER JOIN I_TimeSheetOvertimeCat AS _TimeSheetOvertimeCat ON TimeSheetOvertimeCategory = _TimeSheetOvertimeCat.TimeSheetOvertimeCategory  -- association [0..1]
LEFT OUTER JOIN I_ProjectByExternalID AS _Project ON Project = _Project.ProjectExternalID  -- association [0..1]
LEFT OUTER JOIN I_ProjectByExternalID AS _ProjectExternalID ON ProjectExternalID = _ProjectExternalID.ProjectExternalID  -- association [0..1]
LEFT OUTER JOIN I_SubLedgerAccLineItemType AS _SubLedgerAccLineItemType ON SubLedgerAcctLineItemType = _SubLedgerAccLineItemType.SubLedgerAcctLineItemType  -- association [0..1]
LEFT OUTER JOIN I_WBSElementByExternalID AS _WBSElementExternalID ON wbselementexternalid = _WBSElementExternalID.WBSElementExternalID  -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocument AS _PurchasingDocument ON PurchasingDocument = _PurchasingDocument.PurchasingDocument  -- association [0..1]
LEFT OUTER JOIN I_WBSElementData_2 AS _WBSElementData_2 ON WBSElementInternalID = _WBSElementData_2.WBSElementInternalID  -- association [0..1]
;