C_SftyDataShtOutpReqBndl

DDL: C_SFTYDATASHTOUTPREQBNDL Type: view CONSUMPTION

Packaged Products of Bundle

C_SftyDataShtOutpReqBndl is a Consumption CDS View that provides data about "Packaged Products of Bundle" in SAP S/4HANA. It reads from 1 data source (I_SftyDataShtOutpReqItem) and exposes 14 fields. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SftyDataShtOutpReqItem ShippingRequestItem from

Associations (7)

CardinalityTargetAliasCondition
[0..1] I_ChmlCmplncInfo _ChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID --
[0..1] I_ChmlCmplncInfo _ChmlCmplncInfoUP $projection.ChmlCmplncProdUUID = _ChmlCmplncInfoUP.ChmlCmplncInfoUUID --
[0..1] I_ChmlCmplncInfo _ChmlCmplncInfoBP $projection.BrnddChmlCmplncInfoUUID = _ChmlCmplncInfoBP.ChmlCmplncInfoUUID -- Safety Data Sheet Output Request Header
[1..1] I_SftyDataShtOutpReq _ShippingRequest $projection.SftyDataShtOutpReqUUID = _ShippingRequest.SftyDataShtOutpReqUUID
[0..1] I_ChmlCmplncReq _ComplianceRequest $projection.DeliveryDocument = _ComplianceRequest.SalesDocument and $projection.DeliveryDocumentItem = _ComplianceRequest.SalesDocumentItem and $projection.Material = _ComplianceRequest.Material and _ComplianceRequest.ChmlCmplncReqCmplncProc = 'SDS' and _ComplianceRequest.ChmlCmplncRequestOriginType = 'LF' and ( _ComplianceRequest.ChmlCmplncRequestPrgrsStatus = 'NEW' or _ComplianceRequest.ChmlCmplncRequestPrgrsStatus = 'INPROG' )
[0..1] I_ChmlCmplncInfo _MCPChmlCmplncInfo $projection.MultiComponentProductUUID = _MCPChmlCmplncInfo.ChmlCmplncInfoUUID -- Quickview for MCP
[0..1] C_ChmlCmplncInfoQuickView _ChmlCmplncInfoQuickView $projection.MultiCompProdIntNmbr = _ChmlCmplncInfoQuickView.Specification

Annotations (14)

NameValueLevelField
EndUserText.label Packaged Products of Bundle view
Metadata.allowExtensions true view
AbapCatalog.sqlViewName CSDSORBNDL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
UI.headerInfo.typeName Packaged Product of Same Bundle view
UI.headerInfo.typeNamePlural Packaged Products of Same Bundle view
Search.searchable true view

Fields (14)

KeyFieldSource TableSource FieldDescription
ChmlCmplncInfoUUIDasChmlCmplncInfoUUID
ChmlCmplncProdUUIDasChmlCmplncProdUUID
ChmlCmplncInfoTypeasChmlCmplncInfoType
MaterialasMaterial
ProductNameasProductName
MaterialasChmlCmplncProdMaterial
MultiComponentProductUUID I_SftyDataShtOutpReqItem MultiComponentProductUUID
MultiComponentProductName
DeliveryDocumentasDeliveryDocument
SftyDataShtOutpReqItemReason
Associations_ShippingRequest
_ComplianceRequest _ComplianceRequest
_SftyDataShtOutpReqItmSts _SftyDataShtOutpReqItmSts
_ChmlCmplncInfoQuickView _ChmlCmplncInfoQuickView

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_SftyDataShtOutpReqBndl.
-- 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_SftyDataShtOutpReqBndl AS
SELECT
  ShippingRequestItem.MultiComponentProductUUID AS MultiComponentProductUUID,
  _MultiCompProdMatlAssgmt._Product._Text[1: Language = $session.system_language].ProductName AS MultiComponentProductName,
  cast('' as ehsds_or_item_reason) AS SftyDataShtOutpReqItemReason
FROM I_SftyDataShtOutpReqItem AS ShippingRequestItem
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfoUP ON ChmlCmplncProdUUID = _ChmlCmplncInfoUP.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfoBP ON BrnddChmlCmplncInfoUUID = _ChmlCmplncInfoBP.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN I_SftyDataShtOutpReq AS _ShippingRequest ON SftyDataShtOutpReqUUID = _ShippingRequest.SftyDataShtOutpReqUUID  -- association [1..1]
LEFT OUTER JOIN I_ChmlCmplncReq AS _ComplianceRequest ON DeliveryDocument = _ComplianceRequest.SalesDocument AND DeliveryDocumentItem = _ComplianceRequest.SalesDocumentItem AND Material = _ComplianceRequest.Material AND _ComplianceRequest.ChmlCmplncReqCmplncProc = 'SDS' AND _ComplianceRequest.ChmlCmplncRequestOriginType = 'LF' AND ( _ComplianceRequest.ChmlCmplncRequestPrgrsStatus = 'NEW' OR _ComplianceRequest.ChmlCmplncRequestPrgrsStatus = 'INPROG' )  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _MCPChmlCmplncInfo ON MultiComponentProductUUID = _MCPChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN C_ChmlCmplncInfoQuickView AS _ChmlCmplncInfoQuickView ON MultiCompProdIntNmbr = _ChmlCmplncInfoQuickView.Specification  -- association [0..1]
;