P_SemTagAndSubLedgerItem
P_SemTagAndSubLedgerItem is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_GLAccountLineItemSemTag, I_GLAcctLineItmSubLdgrItmTypeC) and exposes 263 fields with key fields Ledger, SourceLedger, CompanyCode, FiscalYear, FiscalPeriod. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItemSemTag | I_GLAccountLineItemSemTag | union_all |
| I_GLAcctLineItmSubLdgrItmTypeC | I_GLAcctLineItmSubLdgrItmTypeC | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_GLAccountHierarchy | fins_sem_tag_hryid |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ProjectBasicData | _ProjectBasicData | $projection.ProjectInternalID = _ProjectBasicData.ProjectInternalID |
| [0..1] | I_ProjectByExternalID | _ProjectExternalID | $projection.projectexternalid = _ProjectExternalID.ProjectExternalID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSEMTAGSLITP | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | LedgerGLLineItem | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (263)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | Ledger | Ledger | |
| KEY | SourceLedger | SourceLedger | Source Ledger | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | FiscalPeriod | FiscalPeriod | Tax period | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | SemanticTag | SemanticTag | Semantic Tag | |
| ProfitCenter | ProfitCenter | Profit Center | ||
| SoldProduct | SoldProduct | Product Sold | ||
| SoldProductGroup | SoldProductGroup | Product Sold Group | ||
| Customer | Customer | Sold-to Party | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| SalesDocument | SalesDocument | SD Document | ||
| SalesDocumentItem | SalesDocumentItem | Sales Document Item | ||
| OrderID | OrderID | Order ID | ||
| OrderCategory | OrderCategory | Order Category | ||
| ConditionContract | ConditionContract | Condition Contract | ||
| FiscalYearPeriod | FiscalYearPeriod | Period/Year | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| GLAccount | GLAccount | General Ledger | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| CustomerSupplierCountry | CustomerSupplierCountry | Customer or Supplier Country/Region | ||
| CustomerSupplierIndustry | CustomerSupplierIndustry | Industry | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| BillToParty | BillToParty | Inv. Recipient | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| CostSourceUnit | CostSourceUnit | |||
| BusinessTransactionType | BusinessTransactionType | Bus.transaction | ||
| SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | SLALineItemType | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| OrderType | OrderType | Order Type | ||
| Segment | Segment | Segment number | ||
| Project | Project | WBS Element | ||
| WBSElement | WBSElement | WBS Internal ID | ||
| ProjectNetwork | ProjectNetwork | Order | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| Plant | Plant | Valuation Area | ||
| FiscalYearVariant | FiscalYearVariant | FY Variant | ||
| ServiceContract | ServiceContract | Transaction ID | ||
| ServiceContractItem | ServiceContractItem | Item Number in Doc. | ||
| BusinessSolutionOrder | BusinessSolutionOrder | Solution Order | ||
| BusinessSolutionOrderItem | BusinessSolutionOrderItem | Solution Order Item | ||
| ProviderContract | ProviderContract | Contract | ||
| ProviderContractItem | ProviderContractItem | Contract Item | ||
| ServiceContractType | ServiceContractType | |||
| AccountAssignmentType | AccountAssignmentType | Sndr AcctAssgmt Type | ||
| ServiceDocument | ServiceDocument | Transaction ID | ||
| ServiceDocumentItem | ServiceDocumentItem | Service Document | ||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| ProjectInternalID | ProjectInternalID | Project Def. | ||
| _ProjectExternalID | _ProjectExternalID | |||
| _ProjectBasicData | _ProjectBasicData | |||
| ProjectExternalID | _ProjectBasicData | ProjectExternalID | Project def. | |
| LineIsSemTagCalculated | ||||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| FreeDefinedCurrency1 | FreeDefinedCurrency1 | Freely Defined Currency 1 | ||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| AmountInFreeDefinedCurrency1 | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | ||
| AmountInGlobalCurrency | AmountInGlobalCurrency | Amount in Global Currency | ||
| BilledRevenueAmtInGlobCrcy | ||||
| SalesDeductionAmountInGlobCrcy | ||||
| RevenueAdjustAmtInGlobCrcy | ||||
| RecognizedRevnAmtInGlobCrcy | ||||
| VarblCOGSAmtInGlobCrcy | ||||
| ContrbnMargin1AmtInGlobCrcy | ||||
| FxdCOGSAmtInGlobCrcy | ||||
| PriceDifferenceAmtInGlobCrcy | ||||
| ContrbnMargin2AmtInGlobCrcy | ||||
| AdminOverheadAmtInGlobCrcy | ||||
| SalesOverheadAmtInGlobCrcy | ||||
| MarketingOverheadAmtInGlobCrcy | ||||
| RnDOverheadAmtInGlobCrcy | ||||
| ContrbnMargin3AmtInGlobCrcy | ||||
| InptPriceVarcAmtInGlobCrcy | InptPriceVarcAmtInGlobCrcy | |||
| OutpPriceVarcAmtInGlobCrcy | OutpPriceVarcAmtInGlobCrcy | |||
| InptQtyVarcAmtInGlobCrcy | InptQtyVarcAmtInGlobCrcy | |||
| RsceUsgeVarcAmtInGlobCrcy | RsceUsgeVarcAmtInGlobCrcy | |||
| LotSizeVarcAmtInGlobCrcy | LotSizeVarcAmtInGlobCrcy | |||
| InputRmngVarcAmtInGlobCrcy | InputRmngVarcAmtInGlobCrcy | |||
| ScrapVarcAmtInGlobCrcy | ScrapVarcAmtInGlobCrcy | |||
| MixedPrcVarcAmtInGlobCrcy | MixedPrcVarcAmtInGlobCrcy | |||
| BilledRevenueAmtInCoCodeCrcy | ||||
| SalesDeductionAmtInCoCodeCrcy | ||||
| RevenueAdjustmentAmtInCCCrcy | ||||
| RecognizedRevnAmtInCCCrcy | ||||
| VarblCOGSAmtInCCCrcy | ||||
| ContrbnMargin1AmtInCoCodeCrcy | ||||
| FxdCOGSAmtInCCCrcy | ||||
| PriceDifferenceAmtInCCCrcy | ||||
| ContrbnMargin2AmtInCoCodeCrcy | ||||
| AdminOverheadAmtInCoCodeCrcy | ||||
| SalesOverheadAmtInCoCodeCrcy | ||||
| MarketingOvhdAmtInCoCodeCrcy | ||||
| RnDOverheadAmtInCCCrcy | ||||
| ContrbnMargin3AmtInCoCodeCrcy | ||||
| InptPriceVarcAmtInCoCodeCrcy | InptPriceVarcAmtInCoCodeCrcy | |||
| OutpPrVarcAmtInCoCodeCrcy | OutpPrVarcAmtInCoCodeCrcy | |||
| InptQtyVarcAmtInCoCodeCrcy | InptQtyVarcAmtInCoCodeCrcy | |||
| RsceUsgeVarcAmtInCoCodeCrcy | RsceUsgeVarcAmtInCoCodeCrcy | |||
| LotSizeVarcAmtInCoCodeCrcy | LotSizeVarcAmtInCoCodeCrcy | |||
| InputRmngVarcAmtInCoCodeCrcy | InputRmngVarcAmtInCoCodeCrcy | |||
| ScrapVarcAmtInCoCodeCrcy | ScrapVarcAmtInCoCodeCrcy | |||
| MixedPrcVarcAmtInCoCodeCrcy | MixedPrcVarcAmtInCoCodeCrcy | |||
| BilledValnQtyInCostSourceUnit | ||||
| _Ledger | _Ledger | |||
| _SourceLedger | _SourceLedger | |||
| _JournalEntry | _JournalEntry | |||
| _CompanyCode | _CompanyCode | |||
| _SemanticTag | _SemanticTag | |||
| _FiscalYear | _FiscalYear | |||
| _Customer | _Customer | |||
| _CustomerGroup | _CustomerGroup | |||
| _SoldProduct | _SoldProduct | |||
| _SoldProductGroup | _SoldProductGroup | |||
| _ProfitCenter | _ProfitCenter | |||
| _ControllingArea | _ControllingArea | |||
| _CostSourceUnit | _CostSourceUnit | |||
| _SalesDocument | _SalesDocument | |||
| _SalesOrder | _SalesOrder | |||
| _SalesOrderItem | _SalesOrderItem | |||
| _Order | _Order | |||
| _DistributionChannel | _DistributionChannel | |||
| _BaseUnit | _BaseUnit | |||
| _Segment | _Segment | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _FunctionalArea | _FunctionalArea | |||
| _Plant | _Plant | |||
| _SalesOrganization | _SalesOrganization | |||
| _SalesDistrict | _SalesDistrict | |||
| _CustomerSupplierCountry | _CustomerSupplierCountry | |||
| _ShipToParty | _ShipToParty | |||
| ProjectExternalIDkeyLedger | ||||
| KEY | SourceLedger | SourceLedger | Source Ledger | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | FiscalPeriod | FiscalPeriod | Tax period | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | SemanticTag | SemanticTag | Semantic Tag | |
| ProfitCenter | ProfitCenter | Profit Center | ||
| SoldProduct | SoldProduct | Product Sold | ||
| SoldProductGroup | SoldProductGroup | Product Sold Group | ||
| Customer | Customer | Sold-to Party | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| SalesDocument | SalesDocument | SD Document | ||
| SalesDocumentItem | SalesDocumentItem | Sales Document Item | ||
| OrderID | OrderID | Order ID | ||
| OrderCategory | OrderCategory | Order Category | ||
| ConditionContract | ConditionContract | Condition Contract | ||
| FiscalYearPeriod | FiscalYearPeriod | Period/Year | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| GLAccount | GLAccount | General Ledger | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| CustomerSupplierCountry | CustomerSupplierCountry | Customer or Supplier Country/Region | ||
| CustomerSupplierIndustry | CustomerSupplierIndustry | Industry | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| BillToParty | BillToParty | Inv. Recipient | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| CostSourceUnit | CostSourceUnit | |||
| BusinessTransactionType | BusinessTransactionType | Bus.transaction | ||
| SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | SLALineItemType | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| OrderType | OrderType | Order Type | ||
| Segment | Segment | Segment number | ||
| Project | Project | WBS Element | ||
| WBSElement | WBSElement | WBS Internal ID | ||
| ProjectNetwork | ProjectNetwork | Order | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| Plant | Plant | Valuation Area | ||
| FiscalYearVariant | FiscalYearVariant | FY Variant | ||
| ServiceContract | ServiceContract | Transaction ID | ||
| ServiceContractItem | ServiceContractItem | Item Number in Doc. | ||
| BusinessSolutionOrder | BusinessSolutionOrder | Solution Order | ||
| BusinessSolutionOrderItem | BusinessSolutionOrderItem | Solution Order Item | ||
| ProviderContract | ProviderContract | Contract | ||
| ProviderContractItem | ProviderContractItem | Contract Item | ||
| ServiceContractType | ServiceContractType | |||
| AccountAssignmentType | AccountAssignmentType | Sndr AcctAssgmt Type | ||
| ServiceDocument | ServiceDocument | Transaction ID | ||
| ServiceDocumentItem | ServiceDocumentItem | Service Document | ||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| ProjectInternalID | ProjectInternalID | Project Def. | ||
| _ProjectExternalID | _ProjectExternalID | |||
| _ProjectBasicData | _ProjectBasicData | |||
| ProjectExternalID | _ProjectBasicData | ProjectExternalID | Project def. | |
| LineIsSemTagCalculated | ||||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| FreeDefinedCurrency1 | FreeDefinedCurrency1 | Freely Defined Currency 1 | ||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| AmountInFreeDefinedCurrency1 | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | ||
| AmountInGlobalCurrency | AmountInGlobalCurrency | Amount in Global Currency | ||
| BilledRevenueAmtInGlobCrcy | BilledRevenueAmtInGlobCrcy | |||
| SalesDeductionAmountInGlobCrcy | SalesDeductionAmountInGlobCrcy | |||
| RevenueAdjustAmtInGlobCrcy | RevenueAdjustAmtInGlobCrcy | |||
| RecognizedRevnAmtInGlobCrcy | RecognizedRevnAmtInGlobCrcy | |||
| VarblCOGSAmtInGlobCrcy | VarblCOGSAmtInGlobCrcy | |||
| ContrbnMargin1AmtInGlobCrcy | ContrbnMargin1AmtInGlobCrcy | |||
| FxdCOGSAmtInGlobCrcy | FxdCOGSAmtInGlobCrcy | |||
| PriceDifferenceAmtInGlobCrcy | PriceDifferenceAmtInGlobCrcy | |||
| ContrbnMargin2AmtInGlobCrcy | ContrbnMargin2AmtInGlobCrcy | |||
| AdminOverheadAmtInGlobCrcy | AdminOverheadAmtInGlobCrcy | |||
| SalesOverheadAmtInGlobCrcy | SalesOverheadAmtInGlobCrcy | |||
| MarketingOverheadAmtInGlobCrcy | MarketingOverheadAmtInGlobCrcy | |||
| RnDOverheadAmtInGlobCrcy | RnDOverheadAmtInGlobCrcy | |||
| ContrbnMargin3AmtInGlobCrcy | ContrbnMargin3AmtInGlobCrcy | |||
| BilledRevenueAmtInCoCodeCrcy | ||||
| SalesDeductionAmtInCoCodeCrcy | ||||
| RevenueAdjustmentAmtInCCCrcy | ||||
| RecognizedRevnAmtInCCCrcy | ||||
| VarblCOGSAmtInCCCrcy | ||||
| ContrbnMargin1AmtInCoCodeCrcy | ||||
| FxdCOGSAmtInCCCrcy | ||||
| PriceDifferenceAmtInCCCrcy | ||||
| ContrbnMargin2AmtInCoCodeCrcy | ||||
| AdminOverheadAmtInCoCodeCrcy | ||||
| SalesOverheadAmtInCoCodeCrcy | ||||
| MarketingOvhdAmtInCoCodeCrcy | ||||
| RnDOverheadAmtInCCCrcy | ||||
| ContrbnMargin3AmtInCoCodeCrcy | ||||
| BilledValnQtyInCostSourceUnit | BilledValnQtyInCostSourceUnit | |||
| _Ledger | _Ledger | |||
| _SourceLedger | _SourceLedger | |||
| _JournalEntry | _JournalEntry | |||
| _CompanyCode | _CompanyCode | |||
| _SemanticTag | _SemanticTag | |||
| _FiscalYear | _FiscalYear | |||
| _Customer | _Customer | |||
| _CustomerGroup | _CustomerGroup | |||
| _SoldProduct | _SoldProduct | |||
| _SoldProductGroup | _SoldProductGroup | |||
| _ProfitCenter | _ProfitCenter | |||
| _ControllingArea | _ControllingArea | |||
| _CostSourceUnit | _CostSourceUnit | |||
| _SalesDocument | _SalesDocument | |||
| _SalesOrder | _SalesOrder | |||
| _SalesOrderItem | _SalesOrderItem | |||
| _Order | _Order | |||
| _DistributionChannel | _DistributionChannel | |||
| _BaseUnit | _BaseUnit | |||
| _Segment | _Segment | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _FunctionalArea | _FunctionalArea | |||
| _Plant | _Plant | |||
| _SalesOrganization | _SalesOrganization | |||
| _SalesDistrict | _SalesDistrict | |||
| _CustomerSupplierCountry | _CustomerSupplierCountry | |||
| _ShipToParty | _ShipToParty | |||
| _BillToParty | _BillToParty |
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_SemTagAndSubLedgerItem.
-- 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: PSEMTAGSLITP
-- Parameters: P_GLAccountHierarchy : fins_sem_tag_hryid
CREATE VIEW P_SemTagAndSubLedgerItem AS
SELECT
Ledger,
SourceLedger,
CompanyCode,
FiscalYear,
FiscalPeriod,
AccountingDocument,
LedgerGLLineItem,
SemanticTag,
ProfitCenter,
SoldProduct,
SoldProductGroup,
Customer,
CustomerGroup,
SalesOrder,
SalesOrderItem,
SalesDocument,
SalesDocumentItem,
OrderID,
OrderCategory,
ConditionContract,
FiscalYearPeriod,
ChartOfAccounts,
GLAccount,
SalesOrganization,
CustomerSupplierCountry,
CustomerSupplierIndustry,
SalesDistrict,
ShipToParty,
BillToParty,
ControllingArea,
CostSourceUnit,
BusinessTransactionType,
SubLedgerAcctLineItemType,
DistributionChannel,
OrganizationDivision,
BaseUnit,
OrderType,
Segment,
Project,
WBSElement,
ProjectNetwork,
FunctionalArea,
Plant,
FiscalYearVariant,
ServiceContract,
ServiceContractItem,
BusinessSolutionOrder,
BusinessSolutionOrderItem,
ProviderContract,
ProviderContractItem,
ServiceContractType,
AccountAssignmentType,
ServiceDocument,
ServiceDocumentItem,
ServiceDocumentType,
ProjectInternalID,
_ProjectBasicData.ProjectExternalID AS ProjectExternalID,
cast(cast( '' as abap.char( 1 ) ) as fins_xsemtag_calculated) AS LineIsSemTagCalculated,
GlobalCurrency,
CompanyCodeCurrency,
FreeDefinedCurrency1,
AmountInCompanyCodeCurrency,
AmountInFreeDefinedCurrency1,
AmountInGlobalCurrency,
cast( cast ('0' as abap.curr( 23,2) ) as fins_trr_actrevn preserving type ) AS BilledRevenueAmtInGlobCrcy,
cast( cast ('0' as abap.curr( 23,2)) as fins_sales_deduction) AS SalesDeductionAmountInGlobCrcy,
cast( cast ('0' as abap.curr( 23,2)) as fins_trr_revnadjust) AS RevenueAdjustAmtInGlobCrcy,
cast( cast ('0' as abap.curr( 23,2) ) as fins_trr_recrevn preserving type ) AS RecognizedRevnAmtInGlobCrcy,
cast( cast ('0' as abap.curr( 23,2)) as fins_cogs_variable ) AS VarblCOGSAmtInGlobCrcy,
cast( cast ('0' as abap.curr( 23,2)) as fins_contribution_margin_i ) AS ContrbnMargin1AmtInGlobCrcy,
cast( cast ('0' as abap.curr( 23,2)) as fins_cogs_fixed) AS FxdCOGSAmtInGlobCrcy,
cast( cast ('0' as abap.curr( 23,2)) as fins_price_differences) AS PriceDifferenceAmtInGlobCrcy,
cast( cast ('0' as abap.curr( 23,2)) as fins_contribution_margin_ii) AS ContrbnMargin2AmtInGlobCrcy,
cast( cast ('0' as abap.curr( 23,2)) as fins_administration_overhead) AS AdminOverheadAmtInGlobCrcy,
cast( cast ('0' as abap.curr( 23,2)) as fins_sales_overhead) AS SalesOverheadAmtInGlobCrcy,
cast( cast ('0' as abap.curr( 23,2)) as fins_marketing_overhead) AS MarketingOverheadAmtInGlobCrcy,
cast( cast ('0' as abap.curr( 23,2)) as fins_research_and_dev_overhead) AS RnDOverheadAmtInGlobCrcy,
cast( cast ('0' as abap.curr( 23,2)) as fins_contribution_margin_iii) AS ContrbnMargin3AmtInGlobCrcy,
InptPriceVarcAmtInGlobCrcy,
OutpPriceVarcAmtInGlobCrcy,
InptQtyVarcAmtInGlobCrcy,
RsceUsgeVarcAmtInGlobCrcy,
LotSizeVarcAmtInGlobCrcy,
InputRmngVarcAmtInGlobCrcy,
ScrapVarcAmtInGlobCrcy,
MixedPrcVarcAmtInGlobCrcy,
cast ( cast ('0' as abap.curr( 23,2)) as fins_billed_revenue_cccrcy) AS BilledRevenueAmtInCoCodeCrcy,
cast ( cast ('0' as abap.curr( 23,2)) as fins_sales_deduction_cccrcy) AS SalesDeductionAmtInCoCodeCrcy,
cast ( cast ('0' as abap.curr( 23,2)) as fis_adj_rev_hsl) AS RevenueAdjustmentAmtInCCCrcy,
cast ( cast ('0' as abap.curr( 23,2)) as fis_reco_rev_hsl) AS RecognizedRevnAmtInCCCrcy,
cast ( cast ('0' as abap.curr( 23,2)) as fins_cogs_variable_cccrcy) AS VarblCOGSAmtInCCCrcy,
cast ( cast ('0' as abap.curr( 23,2)) as fins_cogs_contribmarg_1_cccrcy) AS ContrbnMargin1AmtInCoCodeCrcy,
cast ( cast ('0' as abap.curr( 23,2)) as fins_cogs_fixed_ccrcy) AS FxdCOGSAmtInCCCrcy,
cast ( cast ('0' as abap.curr( 23,2)) as fins_price_differences_cccrcy) AS PriceDifferenceAmtInCCCrcy,
cast ( cast ('0' as abap.curr( 23,2)) as fins_cogs_contribmarg_2_cccrcy) AS ContrbnMargin2AmtInCoCodeCrcy,
cast ( cast ('0' as abap.curr( 23,2)) as fins_admin_overhead_cccrcy) AS AdminOverheadAmtInCoCodeCrcy,
cast ( cast ('0' as abap.curr( 23,2)) as fins_sales_overhead_cccrcy) AS SalesOverheadAmtInCoCodeCrcy,
cast ( cast ('0' as abap.curr( 23,2)) as fins_marketing_overhead_cccrcy) AS MarketingOvhdAmtInCoCodeCrcy,
cast ( cast ('0' as abap.curr( 23,2)) as fins_resear_dev_overhead_ccrcy) AS RnDOverheadAmtInCCCrcy,
cast ( cast ('0' as abap.curr( 23,2)) as fins_cogs_contribmarg_3_cccrcy) AS ContrbnMargin3AmtInCoCodeCrcy,
InptPriceVarcAmtInCoCodeCrcy,
OutpPrVarcAmtInCoCodeCrcy,
InptQtyVarcAmtInCoCodeCrcy,
RsceUsgeVarcAmtInCoCodeCrcy,
LotSizeVarcAmtInCoCodeCrcy,
InputRmngVarcAmtInCoCodeCrcy,
ScrapVarcAmtInCoCodeCrcy,
MixedPrcVarcAmtInCoCodeCrcy,
cast( cast ('0' as abap.curr( 23,2)) as fins_billed_quantity) AS BilledValnQtyInCostSourceUnit
FROM I_GLAcctLineItmSubLdgrItmTypeC
LEFT OUTER JOIN I_ProjectBasicData AS _ProjectBasicData ON ProjectInternalID = _ProjectBasicData.ProjectInternalID -- association [0..1]
LEFT OUTER JOIN I_ProjectByExternalID AS _ProjectExternalID ON projectexternalid = _ProjectExternalID.ProjectExternalID -- association [0..1]
-- UNION ALL with additional select branch(es): I_GLAccountLineItemSemTag
;
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