I_SftyDataShtOutpReqDocDetails

DDL: I_SFTYDATASHTOUTPREQDOCDETAILS Type: view BASIC Package: EHSDS_BO_OUTPUT_REQUEST

Document Details of a Safety Data Sheet Output Request

I_SftyDataShtOutpReqDocDetails is a Basic CDS View that provides data about "Document Details of a Safety Data Sheet Output Request" in SAP S/4HANA. It reads from 1 data source (ehsdsv_or_docdtl) and exposes 16 fields with key field SftyDataShtOutpReqDocDetsUUID. It has 2 associations to related views. Part of development package EHSDS_BO_OUTPUT_REQUEST.

Data Sources (1)

SourceAliasJoin Type
ehsdsv_or_docdtl ehsdsv_or_docdtl from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID

Annotations (11)

NameValueLevelField
EndUserText.label Document Details of a Safety Data Sheet Output Request view
AbapCatalog.sqlViewName ISDSORDOCDTL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.representativeKey SftyDataShtOutpReqDocDetsUUID view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY SftyDataShtOutpReqDocDetsUUID sftydatashtoutpreqdocdetsuuid SDS Document Detail
SftyDataShtOutpReqUUID sftydatashtoutprequuid SDS Output Request
CreationUTCDateTime Time Stamp
CreatedByUser User Name
LastChangeUTCDateTime Time Stamp
LastChangedByUser User Name
CmplRqRsltDocInfoUUID cmplrqrsltdocinfouuid Document Information
Material material Vehicle Model
FileName filename URL or Filenam Path
FileSize filesize Safety Data Sheet File Size
MimeType mimetype MIMETYPE
SftyDataShtIsAvailable sftydatashtisavailable Safety Data Sheet is Available
NmbrOfPages nmbrofpages SDS Number of Pages
IsRejected shipment_rejected Shipment Rejected
associations_CreatedByUser
_LastChangedByUser _LastChangedByUser

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_SftyDataShtOutpReqDocDetails.
-- 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_SftyDataShtOutpReqDocDetails AS
SELECT
  SftyDataShtOutpReqDocDetsUUID,
  SftyDataShtOutpReqUUID,
  cast(creationutcdatetime as ehfnd_bo_crea_date_time preserving type ) AS CreationUTCDateTime,
  cast(createdbyuser as ehfnd_bo_crea_uname preserving type ) AS CreatedByUser,
  cast(lastchangeutcdatetime as ehfnd_bo_lchg_date_time preserving type ) AS LastChangeUTCDateTime,
  cast(lastchangedbyuser as ehfnd_bo_lchg_uname preserving type ) AS LastChangedByUser,
  CmplRqRsltDocInfoUUID,
  Material,
  FileName,
  FileSize,
  MimeType,
  SftyDataShtIsAvailable,
  NmbrOfPages,
  shipment_rejected AS IsRejected
FROM ehsdsv_or_docdtl
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
;