/AIF/I_CustomText
Custom Text
/AIF/I_CustomText is a Basic CDS View that provides data about "Custom Text" in SAP S/4HANA. It reads from 2 data sources (/aif/ctext_user, /aif/ctext) and exposes 16 fields with key fields ns, ifname, ifver, ctextid, authuser. Part of development package /AIF/MONITORING_CDS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| /aif/ctext_user | ctext_user | left_outer |
| /aif/ctext | custom_text | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | /AIF/ICUSTTEXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Custom Text | view | |
| VDM.viewType | #BASIC | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ns | /aif/ctext | ns | Namespace |
| KEY | ifname | /aif/ctext | ifname | Interface Name |
| KEY | ifver | /aif/ctext | ifver | Interface Version |
| KEY | ctextid | /aif/ctext | ctextid | Custom Text ID |
| KEY | authuser | /aif/ctext_user | authuser | User |
| msgid | /aif/ctext | msgid | Message ID | |
| msgno | /aif/ctext | msgno | Message Number | |
| create_user | /aif/ctext | create_user | User Name | |
| create_date | /aif/ctext | create_date | Time Stamp | |
| create_timeendasCreateTime | ||||
| visibility | /aif/ctext | visibility | Visibility | |
| scope | /aif/ctext | scope | Visibility | |
| last_user | /aif/ctext | last_user | User ID | |
| last_dateendasLast_Date | ||||
| last_timeendasLast_Time | ||||
| logsys | /aif/ctext | logsys | Source system |
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 /AIF/I_CustomText.
-- 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: /AIF/ICUSTTEXT
CREATE VIEW /AIF/I_CustomText AS
SELECT
custom_text.ns AS ns,
custom_text.ifname AS ifname,
custom_text.ifver AS ifver,
custom_text.ctextid AS ctextid,
ctext_user.authuser AS authuser,
custom_text.msgid AS msgid,
custom_text.msgno AS msgno,
custom_text.create_user AS create_user,
custom_text.create_date AS create_date,
case length(custom_text.create_time) when 0 then '000000' else custom_text.create_time end as CreateTime AS create_timeendasCreateTime,
custom_text.visibility AS visibility,
custom_text.scope AS scope,
custom_text.last_user AS last_user,
case when custom_text.last_date < custom_text.create_date then custom_text.create_date else custom_text.last_date end as Last_Date AS last_dateendasLast_Date,
case when custom_text.last_date < custom_text.create_date then custom_text.create_time else custom_text.last_time end as Last_Time AS last_timeendasLast_Time,
custom_text.logsys AS logsys
FROM /aif/ctext AS custom_text
LEFT OUTER JOIN /aif/ctext_user AS ctext_user ON /* join condition not captured in parsed metadata */
;
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