I_CACompanyCodeGroupText

DDL: I_CACOMPANYCODEGROUPTEXT Type: view_entity BASIC Package: FKKB

Company Code Group - Text

I_CACompanyCodeGroupText (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

ContrAcctgCompanyCodeGroupText · Contract Accounting

I_CACompanyCodeGroupText is a Basic CDS View that provides data about "Company Code Group - Text" in SAP S/4HANA. It reads from 1 data source (tfk001gt) and exposes 4 fields with key fields CACompanyCodeGroup, Language. It has 1 association to related views. Part of development package FKKB.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA-2CL
CapabilitiesAssociation Target for Defining CDS Entities,Data Source for Defining CDS Entities,Language-Dependent Text,Data Source in SQL Select
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageContract Accounting for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view retrieves company code groups representing groups of company codes that can be used to post to a contract account. One company code group is assigned to each contract account.</p> Example <p>Group Sweden containing all company codes which are assigned to Sweden</p> <p>This CDS view provides the data to answer the business question: Which company code group values are available in the system?</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
tfk001gt tfk001gt from

Associations (1)

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

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Company Code Group - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey CACompanyCodeGroup view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CACompanyCodeGroup opbuk Company Code Group
KEY Language spras Off. Language
CACompanyCodeGroupName txt30 Group Name
_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 I_CACompanyCodeGroupText.
-- 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 I_CACompanyCodeGroupText AS
SELECT
  opbuk AS CACompanyCodeGroup,
  spras AS Language,
  txt30 AS CACompanyCodeGroupName
FROM tfk001gt
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;