sycm_aps_i_atc_fnd

DDL: SYCM_APS_I_ATC_FND SQL: SYCMVIATCFND Type: view

ATC Findings

sycm_aps_i_atc_fnd is a CDS View that provides data about "ATC Findings" in SAP S/4HANA. It reads from 8 data sources and exposes 17 fields with key fields project_id, item_id, display_id. It has 12 associations to related views.

Data Sources (8)

SourceAliasJoin Type
satc_ac_fnd finding inner
satc_ac_fnd_v finding_v inner
satc_ac_resulth header inner
satc_ac_itm item inner
sycm_aps_i_atc_result_latest latest_atc_result_for_project from
sycm_aps_i_atc_attributes note left_outer
satc_ac_obj object inner
satc_ac_osy osy inner

Associations (12)

CardinalityTargetAliasCondition
[0..1] sycm_aps_i_atc_attributes _ref_obj_type _ref_obj_type.item_id = $projection.item_id and _ref_obj_type.name = 'REF_OBJ_TYPE'
[0..1] sycm_aps_i_atc_attributes _ref_obj_name _ref_obj_name.item_id = $projection.item_id and _ref_obj_name.name = 'REF_OBJ_NAME'
[0..1] sycm_aps_i_atc_attributes _app_component _app_component.item_id = $projection.item_id and _app_component.name = 'APPLICATION_COMPONENT'
[0..1] sycm_aps_i_atc_attributes _sitem_state _sitem_state.item_id = $projection.item_id and _sitem_state.name = 'SITEM_STATE'
[0..1] sycm_aps_i_atc_attributes _change_category _change_category.item_id = $projection.item_id and _change_category.name = 'CHANGE_CATEGORY'
[0..1] sycm_aps_i_atc_attributes _additional_information _additional_information.item_id = $projection.item_id and _additional_information.name = 'ADD_INFO'
[0..1] sycm_aps_i_note_url _note_url _note_url.note = $projection.note_number
[0..1] sycm_aps_i_atc_msg_text_distin _check_title _check_title.module_ix = $projection.module_ix and _check_title.message_ix = 0
[0..1] sycm_aps_i_atc_msg_text_distin _check_message _check_message.module_ix = $projection.module_ix and _check_message.message_ix = $projection.message_ix
[0..1] sycm_aps_i_note_text _note_title _note_title.note_number = $projection.note_number
[0..1] satc_ac_chm _check_class _check_class.module_ix = $projection.module_ix
[0..1] satc_ac_cmm _message_id _message_id.module_ix = $projection.module_ix and _message_id.message_ix = $projection.message_ix

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName SYCMVIATCFND view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label ATC Findings view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY project_id sycm_aps_i_atc_result_latest project_id Project UUID
KEY item_id satc_ac_fnd_v item_id Simulation Item ID
KEY display_id satc_ac_resulth display_id Display ID
module_ix satc_ac_fnd module_ix Check Index
message_ix satc_ac_fnd message_ix Message Index
obj_type satc_ac_obj obj_type Type
obj_name satc_ac_obj obj_name Object Name
package_name satc_ac_osy package_name Package Name
priority
comp_short satc_ac_osy comp_short Appl. Component
note_number
_sitem_state _sitem_state
_note_url _note_url
_check_title _check_title
_note_title _note_title
_check_class _check_class
_message_id _message_id

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 sycm_aps_i_atc_fnd.
-- 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: SYCMVIATCFND

CREATE VIEW sycm_aps_i_atc_fnd AS
SELECT
  latest_atc_result_for_project.project_id AS project_id,
  finding_v.item_id AS item_id,
  header.display_id AS display_id,
  finding.module_ix AS module_ix,
  finding.message_ix AS message_ix,
  object.obj_type AS obj_type,
  object.obj_name AS obj_name,
  osy.package_name AS package_name,
  cast(finding_v.priority as sycm_aps_atc_priority preserving type) AS priority,
  osy.comp_short AS comp_short,
  cast( coalesce( ltrim(note.value, '0') , 'N/A' ) as abap.char( 10 )) AS note_number
FROM sycm_aps_i_atc_result_latest AS latest_atc_result_for_project
INNER JOIN satc_ac_resulth AS header ON /* join condition not captured in parsed metadata */
INNER JOIN satc_ac_fnd_v AS finding_v ON /* join condition not captured in parsed metadata */
INNER JOIN satc_ac_fnd AS finding ON /* join condition not captured in parsed metadata */
INNER JOIN satc_ac_obj AS object ON /* join condition not captured in parsed metadata */
INNER JOIN satc_ac_osy AS osy ON /* join condition not captured in parsed metadata */
INNER JOIN satc_ac_itm AS item ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN sycm_aps_i_atc_attributes AS note ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN sycm_aps_i_atc_attributes AS _ref_obj_type ON _ref_obj_type.item_id = item_id AND _ref_obj_type.name = 'REF_OBJ_TYPE'  -- association [0..1]
LEFT OUTER JOIN sycm_aps_i_atc_attributes AS _ref_obj_name ON _ref_obj_name.item_id = item_id AND _ref_obj_name.name = 'REF_OBJ_NAME'  -- association [0..1]
LEFT OUTER JOIN sycm_aps_i_atc_attributes AS _app_component ON _app_component.item_id = item_id AND _app_component.name = 'APPLICATION_COMPONENT'  -- association [0..1]
LEFT OUTER JOIN sycm_aps_i_atc_attributes AS _sitem_state ON _sitem_state.item_id = item_id AND _sitem_state.name = 'SITEM_STATE'  -- association [0..1]
LEFT OUTER JOIN sycm_aps_i_atc_attributes AS _change_category ON _change_category.item_id = item_id AND _change_category.name = 'CHANGE_CATEGORY'  -- association [0..1]
LEFT OUTER JOIN sycm_aps_i_atc_attributes AS _additional_information ON _additional_information.item_id = item_id AND _additional_information.name = 'ADD_INFO'  -- association [0..1]
LEFT OUTER JOIN sycm_aps_i_note_url AS _note_url ON _note_url.note = note_number  -- association [0..1]
LEFT OUTER JOIN sycm_aps_i_atc_msg_text_distin AS _check_title ON _check_title.module_ix = module_ix AND _check_title.message_ix = 0  -- association [0..1]
LEFT OUTER JOIN sycm_aps_i_atc_msg_text_distin AS _check_message ON _check_message.module_ix = module_ix AND _check_message.message_ix = message_ix  -- association [0..1]
LEFT OUTER JOIN sycm_aps_i_note_text AS _note_title ON _note_title.note_number = note_number  -- association [0..1]
LEFT OUTER JOIN satc_ac_chm AS _check_class ON _check_class.module_ix = module_ix  -- association [0..1]
LEFT OUTER JOIN satc_ac_cmm AS _message_id ON _message_id.module_ix = module_ix AND _message_id.message_ix = message_ix  -- association [0..1]
;