C_SolutionOrderProfitability
Solution Order Margins
C_SolutionOrderProfitability is a Consumption CDS View that provides data about "Solution Order Margins" in SAP S/4HANA. It reads from 1 data source (I_SolnOrderProfitabilityCube) and exposes 81 fields with key fields GLAccountHierarchy, Ledger, CompanyCode, AccountingDocument, LedgerGLLineItem. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F6061). Part of development package FINS_COPA_REPORTING.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SolnOrderProfitabilityCube | I_SolnOrderProfitabilityCube | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_BusinessPartner | _BusinessPartner | $projection.Customer = _BusinessPartner.BusinessPartner |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSOLNORDERPROFIT | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Solution Order Margins | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.allowExtensions | true | view | |
| AbapCatalog.preserveKey | true | view | |
| Analytics.settings.maxProcessingEffort | #HIGH | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| UI.headerInfo.typeName | Solution Order Margins | view | |
| UI.headerInfo.typeNamePlural | Solution Order Margins | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F6061 | ASQL_F6061 | C2 | NOT_RELEASED |
Fields (81)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GLAccountHierarchy | GLAccountHierarchy | Financial Statement Version | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | SourceLedger | SourceLedger | Source Ledger | |
| KEY | SemanticTag | SemanticTag | Semantic Tag | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| GLAccountHierarchyName | ||||
| LedgerName | ||||
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| SoldProductGroup | SoldProductGroup | Product Sold Group | ||
| SoldProductGroupName | Sold Product Group Name | |||
| CustomerGroup | CustomerGroup | Customer Group | ||
| CustomerGroupName | Customer Group Name | |||
| BusinessSolutionOrder | BusinessSolutionOrder | Solution Order | ||
| BusinessSolutionOrderItem | BusinessSolutionOrderItem | Solution Order Item | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| ProfitCenterName | Profit Center Name | |||
| FiscalYearPeriod | FiscalYearPeriod | Period/Year | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| ProjectExternalID | ProjectExternalID | Project def. | ||
| ProjectName | _ProjectExternalID | ProjectDescription | Project Name | |
| SoldProduct | SoldProduct | Product Sold | ||
| SoldProductName | ||||
| Customer | Customer | Sold-to Party | ||
| BPCustMultiAddrIsActive | _BusinessPartner | BPCustMultiAddrIsActive | ||
| CustomerName | _Customer | CustomerName | Name of Customer | |
| AccountAssignmentType | AccountAssignmentType | Sndr AcctAssgmt Type | ||
| AccountAssignmentTypeName | Account Assignment Type Name | |||
| Plant | Plant | Valuation Area | ||
| PlantName | _Plant | PlantName | Plant Name | |
| LedgerFiscalYear | LedgerFiscalYear | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| SalesOrganizationName | ||||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| DistributionChannelName | ||||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| SalesDistrictName | ||||
| GLAccount | GLAccount | General Ledger | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| ServiceDocument | ServiceDocument | Transaction ID | ||
| _ServiceDocument | _ServiceDocument | |||
| BilledRevenueAmtInCoCodeCrcy | BilledRevenueAmtInCoCodeCrcy | |||
| RecognizableCostAmtInCCCrcy | RecognizableCostAmtInCCCrcy | |||
| RecognizedRevnAmtInCCCrcy | RecognizedRevnAmtInCCCrcy | |||
| RecognizedCOGSAmtInCCCrcy | RecognizedCOGSAmtInCCCrcy | |||
| RecognizedMarginAmtInCCCrcy | RecognizedMarginAmtInCCCrcy | |||
| MarginInPct | ||||
| UnitOfMeasure | ||||
| BaseUnit | BaseUnit | Unit of Measure | ||
| Quantity | Quantity | Value | ||
| _BusinessPartner | _BusinessPartner | |||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| OrderID | OrderID | Order ID | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| AssetClass | AssetClass | Asset Class | ||
| Segment | Segment | Segment number | ||
| SalesDocument | SalesDocument | SD Document | ||
| Supplier | Supplier | Supplier | ||
| CostCenter | CostCenter | Cost Center | ||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| _AccountingDocumentType | _AccountingDocumentType | |||
| _Order | _Order | |||
| _Segment | _Segment | |||
| _SalesDocument | _SalesDocument | |||
| _Supplier | _Supplier | |||
| _CurrentCostCenter | _CurrentCostCenter | |||
| _CostCenter | _CostCenter | |||
| _FinancialAccountType | _FinancialAccountType | |||
| _PurReqValuationArea | _PurReqValuationArea | |||
| _FunctionalArea | _FunctionalArea | |||
| _Customer | _Customer | |||
| _CurrentProfitCenter | _CurrentProfitCenter | |||
| _ControllingArea | _ControllingArea |
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 C_SolutionOrderProfitability.
-- 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: CSOLNORDERPROFIT
CREATE VIEW C_SolutionOrderProfitability AS
SELECT
GLAccountHierarchy,
Ledger,
CompanyCode,
AccountingDocument,
LedgerGLLineItem,
SourceLedger,
SemanticTag,
FiscalYear,
_Hierarchy._Text[1:Language = $session.system_language].GLAccountHierarchyName AS GLAccountHierarchyName,
_Ledger._Text[1:Language = $session.system_language].LedgerName AS LedgerName,
_CompanyCode.CompanyCodeName AS CompanyCodeName,
CompanyCodeCurrency,
SoldProductGroup,
_SoldProductGroup._Text[1:Language = $session.system_language].MaterialGroupName AS SoldProductGroupName,
CustomerGroup,
_CustomerGroup._Text[1:Language = $session.system_language].CustomerGroupName AS CustomerGroupName,
BusinessSolutionOrder,
BusinessSolutionOrderItem,
ProfitCenter,
_ProfitCenter._Text[1:Language = $session.system_language].ProfitCenterName AS ProfitCenterName,
FiscalYearPeriod,
FiscalPeriod,
ProjectExternalID,
_ProjectExternalID.ProjectDescription AS ProjectName,
SoldProduct,
_SoldProduct._Text[1:Language = $session.system_language].ProductName AS SoldProductName,
Customer,
_BusinessPartner.BPCustMultiAddrIsActive AS BPCustMultiAddrIsActive,
_Customer.CustomerName AS CustomerName,
AccountAssignmentType,
_ObjectType._Text[1:Language = $session.system_language].MarginAnalysisObjectTypeDesc AS AccountAssignmentTypeName,
Plant,
_Plant.PlantName AS PlantName,
LedgerFiscalYear,
ControllingArea,
SalesOrganization,
_SalesOrganization._Text[1:Language = $session.system_language].SalesOrganizationName AS SalesOrganizationName,
DistributionChannel,
_DistributionChannel._Text[1:Language = $session.system_language].DistributionChannelName AS DistributionChannelName,
OrganizationDivision,
SalesDistrict,
_SalesDistrict._Text[1:Language = $session.system_language].SalesDistrictName AS SalesDistrictName,
GLAccount,
ChartOfAccounts,
ServiceDocumentType,
ServiceDocument,
BilledRevenueAmtInCoCodeCrcy,
RecognizableCostAmtInCCCrcy,
RecognizedRevnAmtInCCCrcy,
RecognizedCOGSAmtInCCCrcy,
RecognizedMarginAmtInCCCrcy,
cast ( 0 as fins_trr_margininpct ) AS MarginInPct,
cast('%' as msehi) AS UnitOfMeasure,
BaseUnit,
Quantity,
AccountingDocumentType,
OrderID,
PostingDate,
AssetClass,
Segment,
SalesDocument,
Supplier,
CostCenter,
FinancialAccountType,
ValuationArea,
FunctionalArea
FROM I_SolnOrderProfitabilityCube
LEFT OUTER JOIN C_BusinessPartner AS _BusinessPartner ON Customer = _BusinessPartner.BusinessPartner -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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