P_ETOProjectMargin
ETO Rev Project Margin
P_ETOProjectMargin is a Composite CDS View that provides data about "ETO Rev Project Margin" in SAP S/4HANA. It reads from 1 data source (P_ActSemTagPlnMultiCrcy) and exposes 173 fields with key fields Ledger, SourceLedger, CompanyCode, FiscalYear, AccountingDocument. It has 19 associations to related views. Part of development package FINS_COPA_REPORTING.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ActSemTagPlnMultiCrcy | P_ActSemTagPlnMultiCrcy | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_GLAccountHierarchy | fins_sem_tag_hryid |
Associations (19)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_EnterpriseProjectElement | _ProjectTask | $projection.WBSElementInternalID = _ProjectTask.WBSElementInternalID |
| [0..1] | I_EntProjProcessingStatus | _ProcessingStatus | $projection.processingstatus = _ProcessingStatus.ProcessingStatus |
| [0..1] | I_ProjectProfileCode | _ProjectProfileCode | $projection.ProjectProfileCode = _ProjectProfileCode.ProjectProfileCode |
| [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 |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (173)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | P_ActSemTagPln | Ledger | Ledger |
| KEY | SourceLedger | P_ActSemTagPln | SourceLedger | Source Ledger |
| KEY | CompanyCode | P_ActSemTagPln | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | P_ActSemTagPln | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | P_ActSemTagPln | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | P_ActSemTagPln | LedgerGLLineItem | Journal Entry Item |
| KEY | FinancialPlanningReqTransSqnc | P_ActSemTagPln | FinancialPlanningReqTransSqnc | Request TSN |
| KEY | FinancialPlanningDataPacket | P_ActSemTagPln | FinancialPlanningDataPacket | Data packet number |
| KEY | FinancialPlanningEntryItem | P_ActSemTagPln | FinancialPlanningEntryItem | |
| KEY | SemanticTag | P_ActSemTagPln | SemanticTag | Semantic Tag |
| KEY | CurrencyField | P_ActSemTagPln | CurrencyField | |
| KEY | LineIsSemTagCalculated | P_ActSemTagPln | LineIsSemTagCalculated | |
| ActualPlanCode | P_ActSemTagPln | ActualPlanCode | ||
| PlanningCategory | P_ActSemTagPln | PlanningCategory | Plan Category | |
| LedgerFiscalYear | P_ActSemTagPln | LedgerFiscalYear | ||
| FiscalPeriod | P_ActSemTagPln | FiscalPeriod | Tax period | |
| PostingDate | P_ActSemTagPln | PostingDate | Posting Date for GR | |
| EvtBsdRevnRecgnLastEvalDate | ||||
| ProfitCenter | P_ActSemTagPln | ProfitCenter | Profit Center | |
| OriginProfitCenter | P_ActSemTagPln | OriginProfitCenter | ||
| SoldProduct | P_ActSemTagPln | SoldProduct | Product Sold | |
| SoldProductGroup | P_ActSemTagPln | SoldProductGroup | Product Sold Group | |
| Customer | P_ActSemTagPln | Customer | Sold-to Party | |
| CustomerGroup | P_ActSemTagPln | CustomerGroup | Customer Group | |
| PurchasingDocument | P_ActSemTagPln | PurchasingDocument | Purchasing Document | |
| SalesOrder | P_ActSemTagPln | SalesOrder | SD Document | |
| SalesOrderItem | P_ActSemTagPln | SalesOrderItem | Sales Order Item | |
| SalesDocument | P_ActSemTagPln | SalesDocument | SD Document | |
| FiscalYearPeriod | P_ActSemTagPln | FiscalYearPeriod | Period/Year | |
| ChartOfAccounts | P_ActSemTagPln | ChartOfAccounts | Node Class | |
| GLAccount | P_ActSemTagPln | GLAccount | General Ledger | |
| SalesOrganization | P_ActSemTagPln | SalesOrganization | Sales Organization | |
| CustomerSupplierCountry | P_ActSemTagPln | CustomerSupplierCountry | Customer or Supplier Country/Region | |
| CustomerSupplierIndustry | P_ActSemTagPln | CustomerSupplierIndustry | Industry | |
| SalesDistrict | P_ActSemTagPln | SalesDistrict | Sales District | |
| ShipToParty | P_ActSemTagPln | ShipToParty | Ship-To Party (obsolete) | |
| BillToParty | P_ActSemTagPln | BillToParty | Inv. Recipient | |
| ControllingArea | P_ActSemTagPln | ControllingArea | Controlling Area | |
| BusinessTransactionType | P_ActSemTagPln | BusinessTransactionType | Bus.transaction | |
| SubLedgerAcctLineItemType | P_ActSemTagPln | SubLedgerAcctLineItemType | SLALineItemType | |
| DistributionChannel | P_ActSemTagPln | DistributionChannel | RefDistCh-Cust/Mat. | |
| OrganizationDivision | P_ActSemTagPln | OrganizationDivision | Org. Division | |
| Segment | P_ActSemTagPln | Segment | Segment number | |
| WBSElementInternalID | P_ActSemTagPln | WBSElementInternalID | WBS Internal ID | |
| WBSElementExternalID | ||||
| BillingWBSElementInternalID | BillingElement | BillingWBSElementInternalID | WBS Internal ID | |
| BillingWBSElementExternalID | ||||
| ProcessingStatus | _ProjectTask | ProcessingStatus | Worklist Status | |
| FunctionalArea | P_ActSemTagPln | FunctionalArea | Sendr Fctl Area | |
| Product | P_ActSemTagPln | Product | Product Sold | |
| Plant | P_ActSemTagPln | Plant | Valuation Area | |
| FiscalYearVariant | P_ActSemTagPln | FiscalYearVariant | FY Variant | |
| ServiceContract | P_ActSemTagPln | ServiceContract | Transaction ID | |
| ServiceContractItem | P_ActSemTagPln | ServiceContractItem | Item Number in Doc. | |
| BusinessSolutionOrder | P_ActSemTagPln | BusinessSolutionOrder | Solution Order | |
| BusinessSolutionOrderItem | P_ActSemTagPln | BusinessSolutionOrderItem | Solution Order Item | |
| ProviderContract | P_ActSemTagPln | ProviderContract | Contract | |
| ProviderContractItem | P_ActSemTagPln | ProviderContractItem | Contract Item | |
| ServiceContractType | P_ActSemTagPln | ServiceContractType | ||
| AccountAssignmentType | P_ActSemTagPln | AccountAssignmentType | Sndr AcctAssgmt Type | |
| ServiceDocument | P_ActSemTagPln | ServiceDocument | Transaction ID | |
| ServiceDocumentItem | P_ActSemTagPln | ServiceDocumentItem | Service Document | |
| ServiceDocumentType | P_ActSemTagPln | ServiceDocumentType | Transaction Type | |
| ProjectUUID | P_ActSemTagPln | ProjectUUID | Project UUID | |
| Project | ||||
| ProjectInternalID | P_ActSemTagPln | ProjectInternalID | Project Def. | |
| ProjectExternalID | P_ActSemTagPln | ProjectExternalID | Project def. | |
| ProjectProfileCode | P_ActSemTagPln | ProjectProfileCode | Project Profile | |
| OrderID | P_ActSemTagPln | OrderID | Order ID | |
| Supplier | P_ActSemTagPln | Supplier | Supplier | |
| AccountingDocumentType | P_ActSemTagPln | AccountingDocumentType | Journal Entry Type | |
| FinancialAccountType | P_ActSemTagPln | FinancialAccountType | Fin. Account Type | |
| CostCenter | P_ActSemTagPln | CostCenter | Cost Center | |
| AssetClass | P_ActSemTagPln | AssetClass | Asset Class | |
| ValuationArea | P_ActSemTagPln | ValuationArea | Valuation Area | |
| ProjectManagerUUID | ||||
| ProjectManager | ||||
| BillableControl | P_ActSemTagPln | BillableControl | Billable Control | |
| ServicesRenderedDate | P_ActSemTagPln | ServicesRenderedDate | Services Rendered Date | |
| CostAnalysisResource | P_ActSemTagPln | CostAnalysisResource | ||
| TimeSheetOvertimeCategory | P_ActSemTagPln | TimeSheetOvertimeCategory | ||
| PersonnelNumber | P_ActSemTagPln | PersonnelNumber | Personnel No. | |
| OriginCostCtrActivityType | P_ActSemTagPln | OriginCostCtrActivityType | ||
| PartnerCostCtrActivityType | P_ActSemTagPln | PartnerCostCtrActivityType | Partner Cost Center Activity Type | |
| IsCommitment | P_ActSemTagPln | IsCommitment | ||
| ControllingDebitCreditCode | ||||
| Currency | P_ActSemTagPln | Currency | Valuation Crcy | |
| AmountInDisplayCurrency | P_ActSemTagPln | AmountInDisplayCurrency | ||
| BilledRevenueAmtInDspCrcy | P_ActSemTagPln | BilledRevenueAmtInDspCrcy | ||
| ActualSalesDdctdInDspCrcy | P_ActSemTagPln | ActualSalesDdctdInDspCrcy | ||
| ActualCostAmtInDspCrcy | P_ActSemTagPln | ActualCostAmtInDspCrcy | ||
| ActlFixedCostInDspCrcy | P_ActSemTagPln | ActlFixedCostInDspCrcy | ||
| RecognizedRevnAmtInDspCrcy | P_ActSemTagPln | RecognizedRevnAmtInDspCrcy | ||
| RecognizedCOGSAmtInDspCrcy | P_ActSemTagPln | RecognizedCOGSAmtInDspCrcy | ||
| RevenueAdjustmentAmtInDspCrcy | P_ActSemTagPln | RevenueAdjustmentAmtInDspCrcy | ||
| COGSAdjustmentAmtInDspCrcy | P_ActSemTagPln | COGSAdjustmentAmtInDspCrcy | ||
| DeferredRevenueAmtInDspCrcy | P_ActSemTagPln | DeferredRevenueAmtInDspCrcy | ||
| DeferredCOGSAmtInDspCrcy | P_ActSemTagPln | DeferredCOGSAmtInDspCrcy | ||
| AccruedRevenueAmtInDspCrcy | P_ActSemTagPln | AccruedRevenueAmtInDspCrcy | ||
| AccruedCOGSAmtInDspCrcy | P_ActSemTagPln | AccruedCOGSAmtInDspCrcy | ||
| RecognizedMargAmtInDisplayCrcy | P_ActSemTagPln | RecognizedMargAmtInDisplayCrcy | ||
| FxdCOGSAmtInDspCrcy | P_ActSemTagPln | FxdCOGSAmtInDspCrcy | ||
| PriceDiffAmtInDisplayCrcy | P_ActSemTagPln | PriceDiffAmtInDisplayCrcy | ||
| AdminOverheadAmtInDspCrcy | P_ActSemTagPln | AdminOverheadAmtInDspCrcy | ||
| SalesOverheadAmtInDspCrcy | P_ActSemTagPln | SalesOverheadAmtInDspCrcy | ||
| MarketingOvhdAmtInDspCrcy | P_ActSemTagPln | MarketingOvhdAmtInDspCrcy | ||
| RnDOverheadAmtInDspCrcy | P_ActSemTagPln | RnDOverheadAmtInDspCrcy | ||
| PlannedCosAmtInDspCrcy | P_ActSemTagPln | PlannedCosAmtInDspCrcy | ||
| PlannedRevenueAmtInDspCrcy | P_ActSemTagPln | PlannedRevenueAmtInDspCrcy | ||
| UnbilledRevnInDspCrcy | P_ActSemTagPln | UnbilledRevnInDspCrcy | ||
| MnlContrAccrBalShtAmtInDspCrcy | P_ActSemTagPln | MnlContrAccrBalShtAmtInDspCrcy | ||
| WIPProjAmtInDspCrcy | ||||
| MatlStkAmtInDspCrcy | P_ActSemTagPln | MatlStkAmtInDspCrcy | ||
| WIPProdnAmtInDspCrcy | P_ActSemTagPln | WIPProdnAmtInDspCrcy | ||
| DownPaymentAmountInDspCrcy | P_ActSemTagPln | DownPaymentAmountInDspCrcy | ||
| MnlContrAccrIncStatAmtInDC | P_ActSemTagPln | MnlContrAccrIncStatAmtInDC | ||
| ImminentLossRsrvAdjAmtInDC | P_ActSemTagPln | ImminentLossRsrvAdjAmtInDC | ||
| ImmntLossRsrvBalShtAmtInDC | P_ActSemTagPln | ImmntLossRsrvBalShtAmtInDC | ||
| _Project | _Project | |||
| _Order | P_ActSemTagPln | _Order | ||
| _Supplier | P_ActSemTagPln | _Supplier | ||
| _AccountingDocumentType | P_ActSemTagPln | _AccountingDocumentType | ||
| _CurrentProfitCenter | P_ActSemTagPln | _CurrentProfitCenter | ||
| _OriginProfitCenter | P_ActSemTagPln | _OriginProfitCenter | ||
| _CurrentCostCenter | P_ActSemTagPln | _CurrentCostCenter | ||
| _ServiceDocument | P_ActSemTagPln | _ServiceDocument | ||
| _ProjectExternalID | _ProjectExternalID | |||
| _ProjectBasicData | P_ActSemTagPln | _ProjectBasicData | ||
| _ProjectProfileCode | _ProjectProfileCode | |||
| _Ledger | P_ActSemTagPln | _Ledger | ||
| _SourceLedger | P_ActSemTagPln | _SourceLedger | ||
| _CompanyCode | P_ActSemTagPln | _CompanyCode | ||
| _SemanticTag | P_ActSemTagPln | _SemanticTag | ||
| _CustomerSupplierCountry | P_ActSemTagPln | _CustomerSupplierCountry | ||
| _FiscalYear | P_ActSemTagPln | _FiscalYear | ||
| _Customer | P_ActSemTagPln | _Customer | ||
| _CustomerGroup | P_ActSemTagPln | _CustomerGroup | ||
| _PurchasingDocument | _PurchasingDocument | |||
| _SoldProduct | P_ActSemTagPln | _SoldProduct | ||
| _SoldProductGroup | P_ActSemTagPln | _SoldProductGroup | ||
| _ProfitCenter | P_ActSemTagPln | _ProfitCenter | ||
| _ControllingArea | P_ActSemTagPln | _ControllingArea | ||
| _SalesDocument | P_ActSemTagPln | _SalesDocument | ||
| _SalesOrder | P_ActSemTagPln | _SalesOrder | ||
| _SalesOrderItem | P_ActSemTagPln | _SalesOrderItem | ||
| _DistributionChannel | P_ActSemTagPln | _DistributionChannel | ||
| _ChartOfAccounts | P_ActSemTagPln | _ChartOfAccounts | ||
| _GLAccountInChartOfAccounts | P_ActSemTagPln | _GLAccountInChartOfAccounts | ||
| _FunctionalArea | P_ActSemTagPln | _FunctionalArea | ||
| _Product | P_ActSemTagPln | _Product | ||
| _Plant | P_ActSemTagPln | _Plant | ||
| _SalesOrganization | P_ActSemTagPln | _SalesOrganization | ||
| _SalesDistrict | P_ActSemTagPln | _SalesDistrict | ||
| _ShipToParty | P_ActSemTagPln | _ShipToParty | ||
| _BillToParty | P_ActSemTagPln | _BillToParty | ||
| _WBSElementExternalID | _WBSElementExternalID | |||
| _FiscalYearVariant | P_ActSemTagPln | _FiscalYearVariant | ||
| _ObjectType | _ObjectType | |||
| _SolutionOrder | _SolutionOrder | |||
| _ServiceDocumentTypeNew | _ServiceDocumentTypeNew | |||
| _ServiceDocumentNew | _ServiceDocumentNew | |||
| _ServiceDocumentItemNew | _ServiceDocumentItemNew | |||
| _ServiceContractNew | _ServiceContractNew | |||
| _ServiceContractItemNew | _ServiceContractItemNew | |||
| _ServiceContractTypeNew | _ServiceContractTypeNew | |||
| _LedgerFiscalYearForVariant | _LedgerFiscalYearForVariant | |||
| _LedgerFiscalYearForLedger | _LedgerFiscalYearForLedger | |||
| _WBSElementBasicData | P_ActSemTagPln | _WBSElementBasicData | ||
| _CostAnalysisResource | P_ActSemTagPln | _CostAnalysisResource | ||
| _ProcessingStatus | _ProcessingStatus | |||
| _OriginCostCtrActivityType | P_ActSemTagPln | _OriginCostCtrActivityType | ||
| _PartnerCostCtrActivityType | P_ActSemTagPln | _PartnerCostCtrActivityType | ||
| _ProjectManager | P_ActSemTagPln | _ProjectManager |
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_ETOProjectMargin.
-- 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_ETOProjectMargin AS
SELECT
P_ActSemTagPln.Ledger AS Ledger,
P_ActSemTagPln.SourceLedger AS SourceLedger,
P_ActSemTagPln.CompanyCode AS CompanyCode,
P_ActSemTagPln.FiscalYear AS FiscalYear,
P_ActSemTagPln.AccountingDocument AS AccountingDocument,
P_ActSemTagPln.LedgerGLLineItem AS LedgerGLLineItem,
P_ActSemTagPln.FinancialPlanningReqTransSqnc AS FinancialPlanningReqTransSqnc,
P_ActSemTagPln.FinancialPlanningDataPacket AS FinancialPlanningDataPacket,
P_ActSemTagPln.FinancialPlanningEntryItem AS FinancialPlanningEntryItem,
P_ActSemTagPln.SemanticTag AS SemanticTag,
P_ActSemTagPln.CurrencyField AS CurrencyField,
P_ActSemTagPln.LineIsSemTagCalculated AS LineIsSemTagCalculated,
P_ActSemTagPln.ActualPlanCode AS ActualPlanCode,
P_ActSemTagPln.PlanningCategory AS PlanningCategory,
P_ActSemTagPln.LedgerFiscalYear AS LedgerFiscalYear,
P_ActSemTagPln.FiscalPeriod AS FiscalPeriod,
P_ActSemTagPln.PostingDate AS PostingDate,
cast( lifecyc.PostingDate as fins_rep_last_revaldat preserving type ) AS EvtBsdRevnRecgnLastEvalDate,
P_ActSemTagPln.ProfitCenter AS ProfitCenter,
P_ActSemTagPln.OriginProfitCenter AS OriginProfitCenter,
P_ActSemTagPln.SoldProduct AS SoldProduct,
P_ActSemTagPln.SoldProductGroup AS SoldProductGroup,
P_ActSemTagPln.Customer AS Customer,
P_ActSemTagPln.CustomerGroup AS CustomerGroup,
P_ActSemTagPln.PurchasingDocument AS PurchasingDocument,
P_ActSemTagPln.SalesOrder AS SalesOrder,
P_ActSemTagPln.SalesOrderItem AS SalesOrderItem,
P_ActSemTagPln.SalesDocument AS SalesDocument,
P_ActSemTagPln.FiscalYearPeriod AS FiscalYearPeriod,
P_ActSemTagPln.ChartOfAccounts AS ChartOfAccounts,
P_ActSemTagPln.GLAccount AS GLAccount,
P_ActSemTagPln.SalesOrganization AS SalesOrganization,
P_ActSemTagPln.CustomerSupplierCountry AS CustomerSupplierCountry,
P_ActSemTagPln.CustomerSupplierIndustry AS CustomerSupplierIndustry,
P_ActSemTagPln.SalesDistrict AS SalesDistrict,
P_ActSemTagPln.ShipToParty AS ShipToParty,
P_ActSemTagPln.BillToParty AS BillToParty,
P_ActSemTagPln.ControllingArea AS ControllingArea,
P_ActSemTagPln.BusinessTransactionType AS BusinessTransactionType,
P_ActSemTagPln.SubLedgerAcctLineItemType AS SubLedgerAcctLineItemType,
P_ActSemTagPln.DistributionChannel AS DistributionChannel,
P_ActSemTagPln.OrganizationDivision AS OrganizationDivision,
P_ActSemTagPln.Segment AS Segment,
P_ActSemTagPln.WBSElementInternalID AS WBSElementInternalID,
P_ActSemTagPln._WBSElementBasicData.WBSElementExternalID AS WBSElementExternalID,
BillingElement.BillingWBSElementInternalID AS BillingWBSElementInternalID,
BillingElement._BillingWBSElement.WBSElementExternalID AS BillingWBSElementExternalID,
_ProjectTask.ProcessingStatus AS ProcessingStatus,
P_ActSemTagPln.FunctionalArea AS FunctionalArea,
P_ActSemTagPln.Product AS Product,
P_ActSemTagPln.Plant AS Plant,
P_ActSemTagPln.FiscalYearVariant AS FiscalYearVariant,
P_ActSemTagPln.ServiceContract AS ServiceContract,
P_ActSemTagPln.ServiceContractItem AS ServiceContractItem,
P_ActSemTagPln.BusinessSolutionOrder AS BusinessSolutionOrder,
P_ActSemTagPln.BusinessSolutionOrderItem AS BusinessSolutionOrderItem,
P_ActSemTagPln.ProviderContract AS ProviderContract,
P_ActSemTagPln.ProviderContractItem AS ProviderContractItem,
P_ActSemTagPln.ServiceContractType AS ServiceContractType,
P_ActSemTagPln.AccountAssignmentType AS AccountAssignmentType,
P_ActSemTagPln.ServiceDocument AS ServiceDocument,
P_ActSemTagPln.ServiceDocumentItem AS ServiceDocumentItem,
P_ActSemTagPln.ServiceDocumentType AS ServiceDocumentType,
P_ActSemTagPln.ProjectUUID AS ProjectUUID,
cast( P_ActSemTagPln.Project as fis_rep_project preserving type ) AS Project,
P_ActSemTagPln.ProjectInternalID AS ProjectInternalID,
P_ActSemTagPln.ProjectExternalID AS ProjectExternalID,
P_ActSemTagPln.ProjectProfileCode AS ProjectProfileCode,
P_ActSemTagPln.OrderID AS OrderID,
P_ActSemTagPln.Supplier AS Supplier,
P_ActSemTagPln.AccountingDocumentType AS AccountingDocumentType,
P_ActSemTagPln.FinancialAccountType AS FinancialAccountType,
P_ActSemTagPln.CostCenter AS CostCenter,
P_ActSemTagPln.AssetClass AS AssetClass,
P_ActSemTagPln.ValuationArea AS ValuationArea,
P_ActSemTagPln. ProjectManagerUUID AS ProjectManagerUUID,
P_ActSemTagPln._ProjectManager.BusinessPartner AS ProjectManager,
P_ActSemTagPln.BillableControl AS BillableControl,
P_ActSemTagPln.ServicesRenderedDate AS ServicesRenderedDate,
P_ActSemTagPln.CostAnalysisResource AS CostAnalysisResource,
P_ActSemTagPln.TimeSheetOvertimeCategory AS TimeSheetOvertimeCategory,
P_ActSemTagPln.PersonnelNumber AS PersonnelNumber,
P_ActSemTagPln.OriginCostCtrActivityType AS OriginCostCtrActivityType,
P_ActSemTagPln.PartnerCostCtrActivityType AS PartnerCostCtrActivityType,
P_ActSemTagPln.IsCommitment AS IsCommitment,
cast( P_ActSemTagPln.ControllingDebitCreditCode as co_belkz ) AS ControllingDebitCreditCode,
P_ActSemTagPln.Currency AS Currency,
P_ActSemTagPln.AmountInDisplayCurrency AS AmountInDisplayCurrency,
P_ActSemTagPln.BilledRevenueAmtInDspCrcy AS BilledRevenueAmtInDspCrcy,
P_ActSemTagPln.ActualSalesDdctdInDspCrcy AS ActualSalesDdctdInDspCrcy,
P_ActSemTagPln.ActualCostAmtInDspCrcy AS ActualCostAmtInDspCrcy,
P_ActSemTagPln.ActlFixedCostInDspCrcy AS ActlFixedCostInDspCrcy,
P_ActSemTagPln.RecognizedRevnAmtInDspCrcy AS RecognizedRevnAmtInDspCrcy,
P_ActSemTagPln.RecognizedCOGSAmtInDspCrcy AS RecognizedCOGSAmtInDspCrcy,
P_ActSemTagPln.RevenueAdjustmentAmtInDspCrcy AS RevenueAdjustmentAmtInDspCrcy,
P_ActSemTagPln.COGSAdjustmentAmtInDspCrcy AS COGSAdjustmentAmtInDspCrcy,
P_ActSemTagPln.DeferredRevenueAmtInDspCrcy AS DeferredRevenueAmtInDspCrcy,
P_ActSemTagPln.DeferredCOGSAmtInDspCrcy AS DeferredCOGSAmtInDspCrcy,
P_ActSemTagPln.AccruedRevenueAmtInDspCrcy AS AccruedRevenueAmtInDspCrcy,
P_ActSemTagPln.AccruedCOGSAmtInDspCrcy AS AccruedCOGSAmtInDspCrcy,
P_ActSemTagPln.RecognizedMargAmtInDisplayCrcy AS RecognizedMargAmtInDisplayCrcy,
P_ActSemTagPln.FxdCOGSAmtInDspCrcy AS FxdCOGSAmtInDspCrcy,
P_ActSemTagPln.PriceDiffAmtInDisplayCrcy AS PriceDiffAmtInDisplayCrcy,
P_ActSemTagPln.AdminOverheadAmtInDspCrcy AS AdminOverheadAmtInDspCrcy,
P_ActSemTagPln.SalesOverheadAmtInDspCrcy AS SalesOverheadAmtInDspCrcy,
P_ActSemTagPln.MarketingOvhdAmtInDspCrcy AS MarketingOvhdAmtInDspCrcy,
P_ActSemTagPln.RnDOverheadAmtInDspCrcy AS RnDOverheadAmtInDspCrcy,
P_ActSemTagPln.PlannedCosAmtInDspCrcy AS PlannedCosAmtInDspCrcy,
P_ActSemTagPln.PlannedRevenueAmtInDspCrcy AS PlannedRevenueAmtInDspCrcy,
P_ActSemTagPln.UnbilledRevnInDspCrcy AS UnbilledRevnInDspCrcy,
P_ActSemTagPln.MnlContrAccrBalShtAmtInDspCrcy AS MnlContrAccrBalShtAmtInDspCrcy,
/ P_ActSemTagPln.WIPProjAmtInDspCrcy AS WIPProjAmtInDspCrcy,
P_ActSemTagPln.MatlStkAmtInDspCrcy AS MatlStkAmtInDspCrcy,
P_ActSemTagPln.WIPProdnAmtInDspCrcy AS WIPProdnAmtInDspCrcy,
P_ActSemTagPln.DownPaymentAmountInDspCrcy AS DownPaymentAmountInDspCrcy,
P_ActSemTagPln.MnlContrAccrIncStatAmtInDC AS MnlContrAccrIncStatAmtInDC,
P_ActSemTagPln.ImminentLossRsrvAdjAmtInDC AS ImminentLossRsrvAdjAmtInDC,
P_ActSemTagPln.ImmntLossRsrvBalShtAmtInDC AS ImmntLossRsrvBalShtAmtInDC,
P_ActSemTagPln._Order AS _Order,
P_ActSemTagPln._Supplier AS _Supplier,
P_ActSemTagPln._AccountingDocumentType AS _AccountingDocumentType,
P_ActSemTagPln._CurrentProfitCenter AS _CurrentProfitCenter,
P_ActSemTagPln._OriginProfitCenter AS _OriginProfitCenter,
P_ActSemTagPln._CurrentCostCenter AS _CurrentCostCenter,
P_ActSemTagPln._ServiceDocument AS _ServiceDocument,
P_ActSemTagPln._ProjectBasicData AS _ProjectBasicData,
P_ActSemTagPln._Ledger AS _Ledger,
P_ActSemTagPln._SourceLedger AS _SourceLedger,
P_ActSemTagPln._CompanyCode AS _CompanyCode,
P_ActSemTagPln._SemanticTag AS _SemanticTag,
P_ActSemTagPln._CustomerSupplierCountry AS _CustomerSupplierCountry,
P_ActSemTagPln._FiscalYear AS _FiscalYear,
P_ActSemTagPln._Customer AS _Customer,
P_ActSemTagPln._CustomerGroup AS _CustomerGroup,
P_ActSemTagPln._SoldProduct AS _SoldProduct,
P_ActSemTagPln._SoldProductGroup AS _SoldProductGroup,
P_ActSemTagPln._ProfitCenter AS _ProfitCenter,
P_ActSemTagPln._ControllingArea AS _ControllingArea,
P_ActSemTagPln._SalesDocument AS _SalesDocument,
P_ActSemTagPln._SalesOrder AS _SalesOrder,
P_ActSemTagPln._SalesOrderItem AS _SalesOrderItem,
P_ActSemTagPln._DistributionChannel AS _DistributionChannel,
P_ActSemTagPln._ChartOfAccounts AS _ChartOfAccounts,
P_ActSemTagPln._GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts,
P_ActSemTagPln._FunctionalArea AS _FunctionalArea,
P_ActSemTagPln._Product AS _Product,
P_ActSemTagPln._Plant AS _Plant,
P_ActSemTagPln._SalesOrganization AS _SalesOrganization,
P_ActSemTagPln._SalesDistrict AS _SalesDistrict,
P_ActSemTagPln._ShipToParty AS _ShipToParty,
P_ActSemTagPln._BillToParty AS _BillToParty,
P_ActSemTagPln._FiscalYearVariant AS _FiscalYearVariant,
P_ActSemTagPln._WBSElementBasicData AS _WBSElementBasicData,
P_ActSemTagPln._CostAnalysisResource AS _CostAnalysisResource,
P_ActSemTagPln._OriginCostCtrActivityType AS _OriginCostCtrActivityType,
P_ActSemTagPln._PartnerCostCtrActivityType AS _PartnerCostCtrActivityType,
P_ActSemTagPln._ProjectManager AS _ProjectManager
FROM P_ActSemTagPlnMultiCrcy
LEFT OUTER JOIN I_EnterpriseProjectElement AS _ProjectTask ON WBSElementInternalID = _ProjectTask.WBSElementInternalID -- association [0..1]
LEFT OUTER JOIN I_EntProjProcessingStatus AS _ProcessingStatus ON processingstatus = _ProcessingStatus.ProcessingStatus -- association [0..1]
LEFT OUTER JOIN I_ProjectProfileCode AS _ProjectProfileCode ON ProjectProfileCode = _ProjectProfileCode.ProjectProfileCode -- association [0..1]
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]
;
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