SEPMRA_I_ProductAttachment

DDL: SEPMRA_I_PRODUCTATTACHMENT Type: view Package: S_EPMRA_COMMON

Product Attachment

SEPMRA_I_ProductAttachment is a CDS View that provides data about "Product Attachment" in SAP S/4HANA. It reads from 2 data sources (SEPMRA_I_BOAttachment, snwd_pd) and exposes 5 fields with key fields Product, ProductAttachment. It has 1 association to related views. Part of development package S_EPMRA_COMMON.

Data Sources (2)

SourceAliasJoin Type
SEPMRA_I_BOAttachment Attachment from
snwd_pd Product inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] SEPMRA_I_Product_E _Product _Product.Product = $projection.Product

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName SEPMRAIPDATTCH view
AbapCatalog.compiler.compareFilter true view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Product Attachment view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Product
KEY ProductAttachment SEPMRA_I_BOAttachment Attachment X Flag
MIMEType SEPMRA_I_BOAttachment MIMEType MIMETYPE
FileName SEPMRA_I_BOAttachment FileName URL or Filenam Path
_Product _Product

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 SEPMRA_I_ProductAttachment.
-- 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 SEPMRA_I_ProductAttachment AS
SELECT
  cast( Product.product_id as sepmra_product preserving type ) AS Product,
  Attachment.Attachment AS ProductAttachment,
  Attachment.MIMEType AS MIMEType,
  Attachment.FileName AS FileName
FROM SEPMRA_I_BOAttachment AS Attachment
INNER JOIN snwd_pd AS Product ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SEPMRA_I_Product_E AS _Product ON _Product.Product = Product  -- association [1..1]
;