I_ExclsnRatioForAsstmtMdlUser

DDL: I_EXCLSNRATIOFORASSTMTMDLUSER SQL: IEXCLRTIOASMDUSR Type: view COMPOSITE

Pctge of Prods Excluded from Asstmt Mdl for Asstmt User

I_ExclsnRatioForAsstmtMdlUser is a Composite CDS View that provides data about "Pctge of Prods Excluded from Asstmt Mdl for Asstmt User" in SAP S/4HANA. It reads from 1 data source (P_NrOfActvExclsnsForASMUser) and exposes 3 fields with key fields AssortmentModuleUUID, AssortmentModuleUser.

Data Sources (1)

SourceAliasJoin Type
P_NrOfActvExclsnsForASMUser Exclusions from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IEXCLRTIOASMDUSR view
EndUserText.label Pctge of Prods Excluded from Asstmt Mdl for Asstmt User view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #COMPOSITE view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY AssortmentModuleUUID P_NrOfActvExclsnsForASMUser AssortmentModuleUUID
KEY AssortmentModuleUser P_NrOfActvExclsnsForASMUser AssortmentModuleUser
AsstmtMdlProdExclusionPercent

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_ExclsnRatioForAsstmtMdlUser.
-- 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: IEXCLRTIOASMDUSR

CREATE VIEW I_ExclsnRatioForAsstmtMdlUser AS
SELECT
  Exclusions.AssortmentModuleUUID AS AssortmentModuleUUID,
  Exclusions.AssortmentModuleUser AS AssortmentModuleUser,
  (division(cast ( 100 * Exclusions.NumberOfExclusions as abap.dec(13,3)), cast ( NumberOfProducts.NumberOfProducts as abap.dec(13,3)), 3) ) AS AsstmtMdlProdExclusionPercent
FROM P_NrOfActvExclsnsForASMUser AS Exclusions
;