v_sd_text_types
v_sd_text_types is a CDS View in SAP S/4HANA. It reads from 1 data source (ttxern) and exposes 2 fields with key field Text_ID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ttxern | ttxern | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_OBJECT_TYPE | tdobject | |
| P_OBJECT_GROUP | txtgr | |
| P_ENTITY_TYPE | txtob | |
| P_LANGUAGE | abap.lang |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | V_SD_TEXT_CDS | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Text_ID | tdid | ||
| Text_Descr | text_description | tdtext |
@ClientDependent
@AbapCatalog.sqlViewName: 'V_SD_TEXT_CDS'
@ObjectModel: {
usageType: {
serviceQuality:#A,
sizeCategory: #S,
dataClass: #CUSTOMIZING
}
}
define view v_sd_text_types with parameters
P_OBJECT_TYPE : tdobject,
P_OBJECT_GROUP : txtgr,
P_ENTITY_TYPE : txtob,
P_LANGUAGE : abap.lang
as select from ttxern
association[*] to ttxit as text_description on text_description.tdobject = ttxern.tdobject
and text_description.tdid = ttxern.tdid
and text_description.tdspras = $parameters.P_LANGUAGE
and text_description.tdobject = $parameters.P_OBJECT_TYPE
{
key tdid as Text_ID,
text_description.tdtext as Text_Descr
}
where ttxern.txtgr = $parameters.P_OBJECT_GROUP and
ttxern.txtob = $parameters.P_ENTITY_TYPE
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"TTXERN",
"TTXIT"
],
"ASSOCIATED":
[
"TTXIT"
],
"BASE":
[],
"VERSION":0
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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