I_ATPCheck

DDL: I_ATPCHECK SQL: IATPCHECK Type: view BASIC

ATP Check

I_ATPCheck is a Basic CDS View that provides data about "ATP Check" in SAP S/4HANA. It reads from 1 data source (atp_check) and exposes 20 fields with key field ATPCheckUUID. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
atp_check atp_check from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_ABOPVariant _ExecutedABOPVariant $projection.ExecutedABOPVariantUUID = _ExecutedABOPVariant.ABOPVariantUUID
[0..1] I_User _TriggeredByUser $projection.TriggeredByUser = _TriggeredByUser.UserID
[0..*] I_ATPSelectedRequirement _SelectedRequirement
[0..*] I_ATPCheckIteration _CheckIteration
[0..*] I_ATPRqmtSelDetnSchdLnEval _RqmtSelectionDetnSchdLnEval
[0..*] I_ATPFollowUpProcessRun _FollowUpProcessRun

Annotations (12)

NameValueLevelField
EndUserText.label ATP Check view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AbapCatalog.sqlViewName IATPCHECK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey ATPCheckUUID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY ATPCheckUUID atpcheckuuid Check ID
ATPCheckVersion atpcheckversion ATP Check Version
TriggeredByUser triggeredbyuser User Name
StartUTCDateTime startutcdatetime Time Stamp
StartTimeZone starttimezone Time Zone
EndUTCDateTime endutcdatetime Time Stamp
EndTimeZone endtimezone Time Zone
ATPCheckIsSimulative atpcheckissimulative Simulation
ATPCheckProcessingStatus atpcheckprocessingstatus Check Status
ATPCheckHasAborted hasaborted Has Aborted
ATPCheckHasOnlyHeader atpcheckhasonlyheader Only Header Logged
ATPCheckMessageLogHandle applicationloghandle Log Handle
ATPCheckTriggeredByApplication atpchecktriggeredbyapplication Transaction code
ExecutedABOPVariantUUID executedabopvariantuuid BOP Variant UUID
_ExecutedABOPVariant _ExecutedABOPVariant
_TriggeredByUser _TriggeredByUser
_CheckIteration _CheckIteration
_SelectedRequirement _SelectedRequirement
_RqmtSelectionDetnSchdLnEval _RqmtSelectionDetnSchdLnEval
_FollowUpProcessRun _FollowUpProcessRun

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_ATPCheck.
-- 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: IATPCHECK

CREATE VIEW I_ATPCheck AS
SELECT
  ATPCheckUUID,
  ATPCheckVersion,
  TriggeredByUser,
  StartUTCDateTime,
  StartTimeZone,
  EndUTCDateTime,
  EndTimeZone,
  ATPCheckIsSimulative,
  ATPCheckProcessingStatus,
  hasaborted AS ATPCheckHasAborted,
  ATPCheckHasOnlyHeader,
  applicationloghandle AS ATPCheckMessageLogHandle,
  ATPCheckTriggeredByApplication,
  ExecutedABOPVariantUUID
FROM atp_check
LEFT OUTER JOIN I_ABOPVariant AS _ExecutedABOPVariant ON ExecutedABOPVariantUUID = _ExecutedABOPVariant.ABOPVariantUUID  -- association [0..1]
LEFT OUTER JOIN I_User AS _TriggeredByUser ON TriggeredByUser = _TriggeredByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_ATPSelectedRequirement AS _SelectedRequirement ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_ATPCheckIteration AS _CheckIteration ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_ATPRqmtSelDetnSchdLnEval AS _RqmtSelectionDetnSchdLnEval ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_ATPFollowUpProcessRun AS _FollowUpProcessRun ON /* condition not available in parsed metadata */  -- association [0..*]
;