C_SftyDataShtOutpReqEmlTmpl
Safety Data Sheet Output Request Email Template Data
C_SftyDataShtOutpReqEmlTmpl is a Consumption CDS View that provides data about "Safety Data Sheet Output Request Email Template Data" in SAP S/4HANA. It reads from 1 data source (I_SftyDataShtOutpReq) and exposes 14 fields with key field SftyDataShtOutpReqUUID. It has 2 associations to related views. Part of development package EHSDS_CNS_OUTPUT_REQUEST.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SftyDataShtOutpReq | I_SftyDataShtOutpReq | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [0..1] | I_Address_2 | _CustomerAddress | $projection.ShipToPartyAddressID = _CustomerAddress.AddressID and _CustomerAddress.AddressPersonID is initial and _CustomerAddress.AddressRepresentationCode is initial |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Safety Data Sheet Output Request Email Template Data | view | |
| AbapCatalog.sqlViewName | CSDSOREMLT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.D054696 | No | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.representativeKey | SftyDataShtOutpReqUUID | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SftyDataShtOutpReqUUID | I_SftyDataShtOutpReq | SftyDataShtOutpReqUUID | SDS Output Request |
| SftyDataShtRcpntPty | I_SftyDataShtOutpReq | SftyDataShtRcpntPty | SDS Recipient (obsolete) | |
| SftyDataShtOutpDateTime | I_SftyDataShtOutpReq | SftyDataShtOutpDateTime | Safety Data Sheet Output Date | |
| SftyDataShtOutpReqNoteText | I_SftyDataShtOutpReq | SftyDataShtOutpReqNoteText | Notes | |
| ShipToPartyAddressID | I_SftyDataShtOutpReq | ShipToPartyAddressID | Ship-to Party Address | |
| Customer | I_SftyDataShtOutpReq | Customer | Sold-to Party | |
| CustomerNameasCustomerName | ||||
| CustomerName | _Customer | BPCustomerName | Name of Customer | |
| CustomerFullName | ||||
| Country | ||||
| Region | ||||
| StreetName | ||||
| CityName | ||||
| PostalCode |
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 C_SftyDataShtOutpReqEmlTmpl.
-- 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 C_SftyDataShtOutpReqEmlTmpl AS
SELECT
I_SftyDataShtOutpReq.SftyDataShtOutpReqUUID AS SftyDataShtOutpReqUUID,
I_SftyDataShtOutpReq.SftyDataShtRcpntPty AS SftyDataShtRcpntPty,
I_SftyDataShtOutpReq.SftyDataShtOutpDateTime AS SftyDataShtOutpDateTime,
I_SftyDataShtOutpReq.SftyDataShtOutpReqNoteText AS SftyDataShtOutpReqNoteText,
I_SftyDataShtOutpReq.ShipToPartyAddressID AS ShipToPartyAddressID,
I_SftyDataShtOutpReq.Customer AS Customer,
_Customer.BPCustomerName AS CustomerName,
coalesce ( _Customer.BPCustomerFullName, _Customer.CustomerFullName ) AS CustomerFullName,
coalesce ( _CustomerAddress.Country, _Customer.Country ) AS Country,
coalesce ( _CustomerAddress.Region, _Customer.Region ) AS Region,
coalesce ( concat_with_space( _CustomerAddress.StreetName, _CustomerAddress.HouseNumber, 1 ), _Customer.BPAddrStreetName ) AS StreetName,
coalesce ( _CustomerAddress.CityName, _Customer.BPAddrCityName ) AS CityName,
coalesce ( _CustomerAddress.PostalCode, _Customer.PostalCode ) AS PostalCode
FROM I_SftyDataShtOutpReq
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_Address_2 AS _CustomerAddress ON ShipToPartyAddressID = _CustomerAddress.AddressID AND _CustomerAddress.AddressPersonID is initial AND _CustomerAddress.AddressRepresentationCode is initial -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA