I_ATPAIScenarioResponse

DDL: I_ATPAISCENARIORESPONSE Type: view_entity BASIC Package: ATP_AI_VDM

Scenario Response in ATP AI

I_ATPAIScenarioResponse is a Basic CDS View that provides data about "Scenario Response in ATP AI" in SAP S/4HANA. It reads from 1 data source (atp_ai_scen_resp) and exposes 6 fields with key field ATPAIScenarioResponseUUID. It has 1 association to related views. Part of development package ATP_AI_VDM.

Data Sources (1)

SourceAliasJoin Type
atp_ai_scen_resp atp_ai_scen_resp from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ATPAIConversation _Conversation $projection.ATPAIConversationUUID = _Conversation.ATPAIConversationUUID

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Scenario Response in ATP AI view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey ATPAIScenarioResponseUUID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
Analytics.technicalName IATPAIScenarioResponse view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ATPAIScenarioResponseUUID scenarioresuuid
ATPAIScenarioRequestUUID scenariorequuid
ATPAIConversationUUID conversationuuid
ATPAIScenRspCntntJSONString content Trusted Site Content
_Conversation _Conversation
_ScenarioRequest _ScenarioRequest

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 I_ATPAIScenarioResponse.
-- 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 I_ATPAIScenarioResponse AS
SELECT
  scenarioresuuid AS ATPAIScenarioResponseUUID,
  scenariorequuid AS ATPAIScenarioRequestUUID,
  conversationuuid AS ATPAIConversationUUID,
  content AS ATPAIScenRspCntntJSONString
FROM atp_ai_scen_resp
LEFT OUTER JOIN I_ATPAIConversation AS _Conversation ON ATPAIConversationUUID = _Conversation.ATPAIConversationUUID  -- association [1..1]
;