SAIS_DATA_FOR_SDMO
Get Data for Transaction SDMO
SAIS_DATA_FOR_SDMO is a CDS View that provides data about "Get Data for Transaction SDMO" in SAP S/4HANA. It reads from 2 data sources (SUIM_HEAD_TRAN_ATTR_LABEL, SAIS_WBO) and exposes 14 fields with key field tcode. It has 4 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| SUIM_HEAD_TRAN_ATTR_LABEL | tcd | from |
| SAIS_WBO | wbo | left_outer |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | tstct | tx | (tx.tcode = tcd.tcode and tx.sprsl = $session.system_language ) |
| [0..1] | tstct | tx_e | (tx_e.tcode = tcd.tcode and tx_e.sprsl = 'E' ) |
| [0..1] | dd07t | tx_typ | (tx_typ.domname = 'SUIM_CINFO_TYPE' and tx_typ.domvalue_l = tcd.tcd_type and tx_typ.ddlanguage = $session.system_language ) |
| [0..1] | dd07t | tx_typ_e | (tx_typ_e.domname = 'SUIM_CINFO_TYPE' and tx_typ_e.domvalue_l = tcd.tcd_type and tx_typ_e.ddlanguage = 'E' ) |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Get Data for Transaction SDMO | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | tcode | SUIM_HEAD_TRAN_ATTR_LABEL | tcode | Undefined range (can be used for patch levels) |
| cinfo | ||||
| ttext | ||||
| tcd_type | SUIM_HEAD_TRAN_ATTR_LABEL | tcd_type | ||
| tcd_type_tx | ||||
| lockstate | SUIM_HEAD_TRAN_ATTR_LABEL | lockstate | Lock State | |
| tstca_state | SUIM_HEAD_TRAN_ATTR_LABEL | tstca_state | ||
| tstca_objct | ||||
| devclass | SAIS_WBO | devclass | Package (Obsolete) | |
| ps_posid | SAIS_WBO | ps_posid | WBS Element | |
| ps_posidt | ||||
| fctr_id | SAIS_WBO | fctr_id | Component | |
| component | SAIS_WBO | dlvunit | Softw. Comp. | |
| srcsystem | SAIS_WBO | srcsystem | 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 SAIS_DATA_FOR_SDMO.
-- 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 SAIS_DATA_FOR_SDMO AS
SELECT
tcd.tcode AS tcode,
cast( tcd.cinfo as syhex01 preserving type ) AS cinfo,
cast( coalesce( tx.ttext, tx_e.ttext ) as ttext_stct preserving type ) AS ttext,
tcd.tcd_type AS tcd_type,
coalesce( tx_typ.ddtext, tx_typ_e.ddtext) AS tcd_type_tx,
tcd.lockstate AS lockstate,
tcd.tstca_state AS tstca_state,
cast(tcd.tstca_objct as xuobject preserving type ) AS tstca_objct,
wbo.devclass AS devclass,
wbo.ps_posid AS ps_posid,
cast( wbo.ps_posidt as udtext preserving type ) AS ps_posidt,
wbo.fctr_id AS fctr_id,
wbo.dlvunit AS component,
wbo.srcsystem AS srcsystem
FROM SUIM_HEAD_TRAN_ATTR_LABEL AS tcd
LEFT OUTER JOIN SAIS_WBO AS wbo ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tstct AS tx ON (tx.tcode = tcd.tcode AND tx.sprsl = $session.system_language ) -- association [0..1]
LEFT OUTER JOIN tstct AS tx_e ON (tx_e.tcode = tcd.tcode AND tx_e.sprsl = 'E' ) -- association [0..1]
LEFT OUTER JOIN dd07t AS tx_typ ON (tx_typ.domname = 'SUIM_CINFO_TYPE' AND tx_typ.domvalue_l = tcd.tcd_type AND tx_typ.ddlanguage = $session.system_language ) -- association [0..1]
LEFT OUTER JOIN dd07t AS tx_typ_e ON (tx_typ_e.domname = 'SUIM_CINFO_TYPE' AND tx_typ_e.domvalue_l = tcd.tcd_type AND tx_typ_e.ddlanguage = 'E' ) -- association [0..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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