I_PickReqSchemaForStore

DDL: I_PICKREQSCHEMAFORSTORE SQL: IPKRQSCHMFORSTR Type: view COMPOSITE Package: RFM_STORE_PICK_REQ

Retail Store Customizng Schema for Store

I_PickReqSchemaForStore is a Composite CDS View that provides data about "Retail Store Customizng Schema for Store" in SAP S/4HANA. It reads from 2 data sources (I_RetailStoreSchemaType, I_Site) and exposes 4 fields with key fields RetailStoreSchemaType, Store, StorePickUpOrderType. It has 2 associations to related views. Part of development package RFM_STORE_PICK_REQ.

Data Sources (2)

SourceAliasJoin Type
I_RetailStoreSchemaType I_RetailStoreSchemaType cross
I_Site I_Site from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_PickReqSchemaStoreAssgmt _SchemaStoreAssgmt _SchemaStoreAssgmt.RetailStoreSchemaType = $projection.RetailStoreSchemaType and _SchemaStoreAssgmt.Store = $projection.Store
[0..*] I_StorePickingReqSchema _DefaultSchema _DefaultSchema.RetailStoreSchemaType = $projection.RetailStoreSchemaType and _DefaultSchema.IsDefaultValue = 'X'

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPKRQSCHMFORSTR view
EndUserText.label Retail Store Customizng Schema for Store view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY RetailStoreSchemaType RetailStoreSchemaType Setting ID
KEY Store Site Plant
KEY StorePickUpOrderType _DefaultSchema StorePickUpOrderType Ref. Doc. Type
RetailStoreSchemaID

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_PickReqSchemaForStore.
-- 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: IPKRQSCHMFORSTR

CREATE VIEW I_PickReqSchemaForStore AS
SELECT
  RetailStoreSchemaType,
  Site AS Store,
  _DefaultSchema.StorePickUpOrderType AS StorePickUpOrderType,
  coalesce(_SchemaStoreAssgmt.RetailStoreSchemaID, _DefaultSchema.RetailStoreSchemaID) AS RetailStoreSchemaID
FROM I_Site
CROSS JOIN I_RetailStoreSchemaType
LEFT OUTER JOIN I_PickReqSchemaStoreAssgmt AS _SchemaStoreAssgmt ON _SchemaStoreAssgmt.RetailStoreSchemaType = RetailStoreSchemaType AND _SchemaStoreAssgmt.Store = Store  -- association [0..*]
LEFT OUTER JOIN I_StorePickingReqSchema AS _DefaultSchema ON _DefaultSchema.RetailStoreSchemaType = RetailStoreSchemaType AND _DefaultSchema.IsDefaultValue = 'X'  -- association [0..*]
;