SEPM_C_RAMP_ImageDraft

DDL: SEPM_C_RAMP_IMAGEDRAFT Type: view

Image Draft

SEPM_C_RAMP_ImageDraft is a CDS View that provides data about "Image Draft" in SAP S/4HANA. It reads from 1 data source (SEPM_I_ImageDraft) and exposes 14 fields with key field Id. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
SEPM_I_ImageDraft draft from

Associations (1)

CardinalityTargetAliasCondition
[1..1] SEPM_C_RAMP_ProductDraft _ProductDraft _ProductDraft.ProductDraftUUID = $projection.ProductDraftUUID

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName SEPM_CMPIMGDRFT view
AbapCatalog.compiler.compareFilter true view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Image Draft view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY Id SEPM_I_ImageDraft ImageDraftUUID Tree Model: Node Key
ProductId
MimeType SEPM_I_ImageDraft MimeType MIMETYPE
CreatedBy
CreatedByUser SEPM_I_ImageDraft CreatedByUser User Name
CreatedAt SEPM_I_ImageDraft CreationDateTime Timestamp
LastModified SEPM_I_ImageDraft ChangedDateTime Time Stamp
ExpiresAt
FileName SEPM_I_ImageDraft ImageDraftName Zone name
IsModifiable SEPM_I_ImageDraft IsModifiable
IsDeletable SEPM_I_ImageDraft IsDeletable
State SEPM_I_ImageDraft State Vehicle Region
ProductDraftUUID SEPM_I_ImageDraft ProductDraftUUID Key
_ProductDraft _ProductDraft

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 SEPM_C_RAMP_ImageDraft.
-- 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 SEPM_C_RAMP_ImageDraft AS
SELECT
  draft.ImageDraftUUID AS Id,
  draft._ProductDraft.Product AS ProductId,
  draft.MimeType AS MimeType,
  coalesce(draft._CreatedBy.FullName, draft.CreatedByUser ) AS CreatedBy,
  draft.CreatedByUser AS CreatedByUser,
  draft.CreationDateTime AS CreatedAt,
  draft.ChangedDateTime AS LastModified,
  draft._ProductDraft.ExpirationDateTime AS ExpiresAt,
  draft.ImageDraftName AS FileName,
  draft.IsModifiable AS IsModifiable,
  draft.IsDeletable AS IsDeletable,
  draft.State AS State,
  draft.ProductDraftUUID AS ProductDraftUUID
FROM SEPM_I_ImageDraft AS draft
LEFT OUTER JOIN SEPM_C_RAMP_ProductDraft AS _ProductDraft ON _ProductDraft.ProductDraftUUID = ProductDraftUUID  -- association [1..1]
;