R_CostAcctgDocPostgTypeText

DDL: R_COSTACCTGDOCPOSTGTYPETEXT Type: view_entity BASIC

Cost Accounting Doc Posting Type - Text

R_CostAcctgDocPostgTypeText is a Basic CDS View that provides data about "Cost Accounting Doc Posting Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields Language, AllocationPostingType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_CostAcctgDocPostgTypeDomain _CostAcctgDocPostgTypeDomain $projection.AllocationPostingType = _CostAcctgDocPostgTypeDomain.AllocationPostingType
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (12)

NameValueLevelField
Analytics.technicalName RCOACCTGPTT view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey AllocationPostingType view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
Search.searchable true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view
EndUserText.label Cost Accounting Doc Posting Type - Text view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY AllocationPostingType
DomainValue dd07t domvalue_l Lower Value
AllocationPostingTypeText
_CostAcctgDocPostgTypeDomain _CostAcctgDocPostgTypeDomain
_Language _Language

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 R_CostAcctgDocPostgTypeText.
-- 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.

CREATE VIEW R_CostAcctgDocPostgTypeText AS
SELECT
  cast( dd07t.ddlanguage as spras preserving type ) AS Language,
  cast( dd07t.domvalue_l as fco_posting_type ) AS AllocationPostingType,
  dd07t.domvalue_l AS DomainValue,
  cast( dd07t.ddtext as fco_posting_type_text_60 preserving type) AS AllocationPostingTypeText
FROM dd07t
LEFT OUTER JOIN R_CostAcctgDocPostgTypeDomain AS _CostAcctgDocPostgTypeDomain ON AllocationPostingType = _CostAcctgDocPostgTypeDomain.AllocationPostingType  -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;