/ltb/aifm_i_target_table

DDL: /LTB/AIFM_I_TARGET_TABLE Type: view_entity Package: /LTB/MC_MPROJ_AIFM

AI Mapping Target Table

/ltb/aifm_i_target_table is a CDS View that provides data about "AI Mapping Target Table" in SAP S/4HANA. It reads from 4 data sources (dmc_cntn, dmc_stree, dmc_struct, /ltb/aifm_i_target_visibility) and exposes 8 fields with key fields MigrationObjectUUID, StructureUUID. It has 1 association to related views. Part of development package /LTB/MC_MPROJ_AIFM.

Data Sources (4)

SourceAliasJoin Type
dmc_cntn cntn from
dmc_stree stree inner
dmc_struct struct inner
/ltb/aifm_i_target_visibility vx inner

Associations (1)

CardinalityTargetAliasCondition
[1..*] dmc_street txtusr $projection.StreeUUID = txtusr.guid and txtusr.stype = 'S'

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label AI Mapping Target Table view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY MigrationObjectUUID dmc_cntn contowner GUID 22
KEY StructureUUID dmc_struct guid UUID 22 char.
StreeUUID dmc_stree guid UUID 22 char.
StructureTechID dmc_struct ident Tree Structure
StructureDescr dmc_struct descr WSS Profile
StructurePos dmc_stree seqnum Sequential Number
visibility2thenXelseendasIsMandatory
txtusr txtusr

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 /ltb/aifm_i_target_table.
-- 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 /ltb/aifm_i_target_table AS
SELECT
  cntn.contowner AS MigrationObjectUUID,
  struct.guid AS StructureUUID,
  stree.guid AS StreeUUID,
  struct.ident AS StructureTechID,
  struct.descr AS StructureDescr,
  stree.seqnum AS StructurePos,
  case when vx.visibility = '2' then 'X' else '' end as IsMandatory AS visibility2thenXelseendasIsMandatory,
  txtusr
FROM dmc_cntn AS cntn
INNER JOIN dmc_stree AS stree ON /* join condition not captured in parsed metadata */
INNER JOIN dmc_struct AS struct ON /* join condition not captured in parsed metadata */
INNER JOIN /ltb/aifm_i_target_visibility AS vx ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dmc_street AS txtusr ON StreeUUID = txtusr.guid AND txtusr.stype = 'S'  -- association [1..*]
;