I_SftyDataShtOutpReq

DDL: I_SFTYDATASHTOUTPREQ SQL: ISDSOR Type: view BASIC Package: EHSDS_BO_OUTPUT_REQUEST

Safety Data Sheet Output Request

I_SftyDataShtOutpReq is a Basic CDS View that provides data about "Safety Data Sheet Output Request" in SAP S/4HANA. It reads from 1 data source (ehsdsv_or) and exposes 35 fields with key field SftyDataShtOutpReqUUID. It has 13 associations to related views. Part of development package EHSDS_BO_OUTPUT_REQUEST.

Data Sources (1)

SourceAliasJoin Type
ehsdsv_or ehsdsv_or from

Associations (13)

CardinalityTargetAliasCondition
[0..*] I_SftyDataShtOutpReqItem _OutputItem $projection.SftyDataShtOutpReqUUID = _OutputItem.SftyDataShtOutpReqUUID
[1..1] I_SftyDataShtOutpReqSts _Status $projection.SftyDataShtOutpReqStatus = _Status.SftyDataShtOutpReqStatus
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[1..1] I_Country _ShipToPartyCountry $projection.ShipToPartyCountry = _ShipToPartyCountry.Country
[0..1] I_Customer _RecipientParty $projection.Customer = _RecipientParty.Customer -- _RecipientCustomer
[0..1] I_BusinessPartner _BusinessPartner $projection.SftyDataShtRcpntPty = _BusinessPartner.BusinessPartner -- _RecipientBP
[0..1] I_BusinessPartner _ShipToParty $projection.ShipToParty = _ShipToParty.BusinessPartner -- _ShipToPartyBP
[0..*] I_BusinessPartnerCustomer _BusinessPartnerCustomer $projection.Customer = _BusinessPartnerCustomer.Customer -- _ShipTpPartyCustomer
[0..1] I_Address_2 _RecipientAddress $projection.SftyDataShtRcpntAddrID = _RecipientAddress.AddressID and _RecipientAddress.AddressPersonID is initial and _RecipientAddress.AddressRepresentationCode is initial
[0..1] I_Address_2 _ShipToPartyAddress $projection.ShipToPartyAddressID = _ShipToPartyAddress.AddressID and _ShipToPartyAddress.AddressPersonID is initial and _ShipToPartyAddress.AddressRepresentationCode is initial
[1..1] I_SalesOrganization _SalesOrg $projection.SalesOrganization = _SalesOrg.SalesOrganization
[0..*] I_SftyDataShtCntct _SftyDataShtContact $projection.SftyDataShtCntctID = _SftyDataShtContact.SftyDataShtCntctID

Annotations (11)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName ISDSOR view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Safety Data Sheet Output Request view
ObjectModel.representativeKey SftyDataShtOutpReqUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
VDM.viewType #BASIC view

Fields (35)

KeyFieldSource TableSource FieldDescription
KEY SftyDataShtOutpReqUUID sftydatashtoutprequuid SDS Output Request
CreationUTCDateTime Time Stamp
CreatedByUser User Name
LastChangeUTCDateTime Time Stamp
LastChangedByUser User Name
SftyDataShtRcpntPty sftydatashtrcpntpty SDS Recipient (obsolete)
ShipToParty ehsdsv_or shiptoparty Ship-To Party (obsolete)
ShipToPartyCountry ehsdsv_or shiptopartycountry Country/Region
ShipToPartyRegion ehsdsv_or shiptopartyregion Region
SftyDataShtRcpntAddrID ehsdsv_or sftydatashtrcpntaddrid SDS Recipient Address
ShipToPartyAddressID ehsdsv_or shiptopartyaddressid Ship-to Party Address
Customer ehsdsv_or customer Sold-to Party
SftyDataShtOutpDateTime sftydatashtoutpdatetime Safety Data Sheet Output Date
SftyDataShtOutpReqStatus sftydatashtoutpreqstatus Status
SftyDataShtShipmentDateTime sftydatashtshipmentdatetime SDS Shipment Date and Time
SalesOrganization ehsdsv_or salesorganization Sales Organization
SftyDataShtCntctID ehsdsv_or sftydatashtcntctid Identifier
SftyDataShtOutpReqManReqEmail
SftyDataShtOutpReqNoteText ehsdsv_or sftydatashtoutpreqnotetext Notes
SftyDataShtOutpReqIsMigrated ehsdsv_or sftydatashtoutpreqismigrated Is Migrated
SftyDtaShtRcpntPtyDetnType ehsdsv_or sftydtashtrcpntptydetntype Determination
PCLgsDcMnllyOvrwrtnAddrUUID ehsdsv_or pclgsdcmnllyovrwrtnaddruuid
associations_OutputItem
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_Status _Status
Sender_SalesOrg
_SftyDataShtContact _SftyDataShtContact
Receiver_RecipientParty
_RecipientAddress _RecipientAddress
_ShipToParty _ShipToParty
_ShipToPartyCountry _ShipToPartyCountry
_ShipToPartyAddress _ShipToPartyAddress
_BusinessPartner _BusinessPartner
_BusinessPartnerCustomer _BusinessPartnerCustomer

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_SftyDataShtOutpReq.
-- 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: ISDSOR

CREATE VIEW I_SftyDataShtOutpReq AS
SELECT
  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,
  SftyDataShtRcpntPty,
  ehsdsv_or.shiptoparty AS ShipToParty,
  ehsdsv_or.shiptopartycountry AS ShipToPartyCountry,
  ehsdsv_or.shiptopartyregion AS ShipToPartyRegion,
  ehsdsv_or.sftydatashtrcpntaddrid AS SftyDataShtRcpntAddrID,
  ehsdsv_or.shiptopartyaddressid AS ShipToPartyAddressID,
  ehsdsv_or.customer AS Customer,
  SftyDataShtOutpDateTime,
  SftyDataShtOutpReqStatus,
  SftyDataShtShipmentDateTime,
  ehsdsv_or.salesorganization AS SalesOrganization,
  ehsdsv_or.sftydatashtcntctid AS SftyDataShtCntctID,
  cast(ehsdsv_or.sftydatashtoutpreqmanreqemail as ehsds_sds_recipient_email_nc preserving type) AS SftyDataShtOutpReqManReqEmail,
  ehsdsv_or.sftydatashtoutpreqnotetext AS SftyDataShtOutpReqNoteText,
  ehsdsv_or.sftydatashtoutpreqismigrated AS SftyDataShtOutpReqIsMigrated,
  ehsdsv_or.sftydtashtrcpntptydetntype AS SftyDtaShtRcpntPtyDetnType,
  ehsdsv_or.pclgsdcmnllyovrwrtnaddruuid AS PCLgsDcMnllyOvrwrtnAddrUUID
FROM ehsdsv_or
LEFT OUTER JOIN I_SftyDataShtOutpReqItem AS _OutputItem ON SftyDataShtOutpReqUUID = _OutputItem.SftyDataShtOutpReqUUID  -- association [0..*]
LEFT OUTER JOIN I_SftyDataShtOutpReqSts AS _Status ON SftyDataShtOutpReqStatus = _Status.SftyDataShtOutpReqStatus  -- association [1..1]
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]
LEFT OUTER JOIN I_Country AS _ShipToPartyCountry ON ShipToPartyCountry = _ShipToPartyCountry.Country  -- association [1..1]
LEFT OUTER JOIN I_Customer AS _RecipientParty ON Customer = _RecipientParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON SftyDataShtRcpntPty = _BusinessPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _ShipToParty ON ShipToParty = _ShipToParty.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartnerCustomer AS _BusinessPartnerCustomer ON Customer = _BusinessPartnerCustomer.Customer  -- association [0..*]
LEFT OUTER JOIN I_Address_2 AS _RecipientAddress ON SftyDataShtRcpntAddrID = _RecipientAddress.AddressID AND _RecipientAddress.AddressPersonID is initial AND _RecipientAddress.AddressRepresentationCode is initial  -- association [0..1]
LEFT OUTER JOIN I_Address_2 AS _ShipToPartyAddress ON ShipToPartyAddressID = _ShipToPartyAddress.AddressID AND _ShipToPartyAddress.AddressPersonID is initial AND _ShipToPartyAddress.AddressRepresentationCode is initial  -- association [0..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrg ON SalesOrganization = _SalesOrg.SalesOrganization  -- association [1..1]
LEFT OUTER JOIN I_SftyDataShtCntct AS _SftyDataShtContact ON SftyDataShtCntctID = _SftyDataShtContact.SftyDataShtCntctID  -- association [0..*]
;