I_SlsMatlLstgOrExclsnRecord

DDL: I_SLSMATLLSTGOREXCLSNRECORD Type: view_entity BASIC Package: VDM_SD_MD_LSTG_EXCLSN

Sales Material Listing Exclusion Record

I_SlsMatlLstgOrExclsnRecord (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Sales Material Listing Or Exclusion Record · Sales

I_SlsMatlLstgOrExclsnRecord is a Basic CDS View that provides data about "Sales Material Listing Exclusion Record" in SAP S/4HANA. It reads from 1 data source (sdmd_lstg_exclsn) and exposes 63 fields with key field SlsMatlLstgOrExclsnRecordUUID. Part of development package VDM_SD_MD_LSTG_EXCLSN.

SAP Help Documentation

CategorySales Master Data Management
StatusMaterial status specific to a distribution chain
Purpose
This CDS view retrieves the condition records (based on standard or custom condition tables) for material listing and exclusion. This CDS view provides the data to answer the following business questions: What condition records exist based on a particular condition type? What is the validity period of a condition record? Under what conditions does material listing or exclusion occur? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following business catalog: SAP_SD_BC_MD_MANAGE_MC ( Sales - Master Data ) In addition, to retrieve condition records that contain sales area-related fields (sales organization, distribution channel, or division), users must be granted read access to relevant organizational units. Example In your system, some condition records contain sales area 1010/10/00 and others contain sales area 1710/10/00. Users whose read access is restricted to sales area 1010/10/00 can only retrieve the conditions records containing sales area 1010/10/00 (not those containing sales area 1710/10/00). Users whose read access is restricted to sales organization 1000 cannot retrieve these condition records at all. Configuration The following configuration activities are relevant in your configuration environment: Maintain Condition Tables for Listing/Exclusion Maintain Access Sequences for Listing/Exclusion Maintain Listing/Exclusion Types For more information, see Configuration Environment of SAP S/4HANA Cloud Public Edition .

Fields
This CDS view contains the following fields: Field Name Description SlsMatlLstgOrExclsnRecordUUID Condition record number ConditionApplication Application area in which a condition is used The value is fixed to V ( Sales/Distribution ). ConditionType Condition type for material listing and exclusion ConditionTable Condition table SalesOrganization Sales organization DistributionChannel Distribution channel Division Division ConditionValidityEndDate Valid-to date of the condition record ConditionValidityStartDate Valid-from date of the condition record LastChangeDateTime Last change date (UTC time stamp) ProdUnivHierarchyNode Product hierarchy node This field always represents a product hierarchy subnode (that is, a text node for structuring purposes) in a condition record. CustomerHierarchyNodeType Customer hierarchy node type CustomerHierarchyNodeID Customer hierarchy node This field always represents a customer hierarchy subnode (that is, a text node or a business partner) in a condition record. CustomerHierarchyRootNode Root node of a customer hierarchy (that is, the customer hierarchy ID) SDDocumentCategory SD document category SalesDocumentType Sales document type Customer Customer CustomerGroup Customer group AdditionalCustomerGroup1 Customer group 1 AdditionalCustomerGroup2 Customer group 2 AdditionalCustomerGroup3 Customer group 3 AdditionalCustomerGroup4 Customer group 4 AdditionalCustomerGroup5 Customer group 5 CustomerConditionGroup1 Customer condition group 1 CustomerConditionGroup2 Customer condition group 2 CustomerConditionGroup3 Customer condition group 3 CustomerConditionGroup4 Customer condition group 4 CustomerConditionGroup5 Customer condition group 5 SoldToParty Sold-to party ShipToParty Ship-to party PayerParty Payer SalesEmployee Sales employee ForwardingAgent Forwarding agent Product Material (that is, product) ProductGroup Material group (that is, product group) AdditionalMaterialGroup1 Material group 1 AdditionalMaterialGroup2 Material group 2 AdditionalMaterialGroup3 Material group

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessSales
Application ComponentSD-MD-MM-LIS-2CL
CapabilitiesData Source for Data Extraction,Data Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageSales for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view retrieves the condition records (based on standard or custom condition tables) for material listing and exclusion.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What condition records exist based on a particular condition type?</p></li> <li><p>What is the validity period of a condition record?</p></li> <li><p>Under what conditions does material listing or exclusion occur?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
sdmd_lstg_exclsn sdmd_lstg_exclsn from

Annotations (12)

NameValueLevelField
EndUserText.label Sales Material Listing Exclusion Record view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.representativeKey SlsMatlLstgOrExclsnRecordUUID view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #A view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
ObjectModel.sapObjectNodeType.name SlsMatlLstgOrExclsnRecord view

Fields (63)

KeyFieldSource TableSource FieldDescription
KEY SlsMatlLstgOrExclsnRecordUUID sdmd_lstg_exclsn list_excl_uuid Material Listing/Exclusion Condition Record UUID
ConditionApplication sdmd_lstg_exclsn kappl Application
ConditionType sdmd_lstg_exclsn kschl Material Listing/Exclusion Type
ConditionTable sdmd_lstg_exclsn conditiontable Condition Table
SalesOrganization sdmd_lstg_exclsn vkorg Sales Organization
DistributionChannel sdmd_lstg_exclsn vtweg Distribution Channel
Division sdmd_lstg_exclsn spart Source supplier
ConditionValidityEndDate sdmd_lstg_exclsn datbi Validity end date of the condition record
ConditionValidityStartDate sdmd_lstg_exclsn datab Validity start date of the condition record
LastChangeDateTime sdmd_lstg_exclsn upd_tmstmp UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
CustomerHierarchyNodeType sdmd_lstg_exclsn cust_hier_node_type Customer Hierarchy Node Type
CustomerHierarchyNodeID sdmd_lstg_exclsn cust_hier_node_value Customer Hierarchy Node ID
CustomerHierarchyRootNode sdmd_lstg_exclsn cust_hier_root_node Customer Hierarchy Root Node ID (Hier ID)
SDDocumentCategory sdmd_lstg_exclsn vbtyp SD Document Category
SalesDocumentType sdmd_lstg_exclsn auart Sales Document Type
Customer sdmd_lstg_exclsn kunnr Customer number
CustomerGroup sdmd_lstg_exclsn kdgrp Customer group
AdditionalCustomerGroup1 sdmd_lstg_exclsn kvgr1 Customer Group 1
AdditionalCustomerGroup2 sdmd_lstg_exclsn kvgr2 Customer Group 2
AdditionalCustomerGroup3 sdmd_lstg_exclsn kvgr3 Customer Group 3
AdditionalCustomerGroup4 sdmd_lstg_exclsn kvgr4 Customer Group 4
AdditionalCustomerGroup5 sdmd_lstg_exclsn kvgr5 Customer Group 5
CustomerConditionGroup1 sdmd_lstg_exclsn kdkg1 Customer Condition Group 1
CustomerConditionGroup2 sdmd_lstg_exclsn kdkg2 Customer Condition Group 2
CustomerConditionGroup3 sdmd_lstg_exclsn kdkg3 Customer Condition Group 3
CustomerConditionGroup4 sdmd_lstg_exclsn kdkg4 Customer Condition Group 4
CustomerConditionGroup5 sdmd_lstg_exclsn kdkg5 Customer Condition Group 5
SoldToParty sdmd_lstg_exclsn kunag Sold-to Party
ShipToParty sdmd_lstg_exclsn kunwe Ship-to Party
PayerParty sdmd_lstg_exclsn knrze Head Office
SalesEmployee sdmd_lstg_exclsn vrtnr Sales Employee
ForwardingAgent sdmd_lstg_exclsn spdnr Forwarding Agent
Product Product
ProductGroup Product Group
AdditionalMaterialGroup1 sdmd_lstg_exclsn mvgr1 Material Group 1
AdditionalMaterialGroup2 sdmd_lstg_exclsn mvgr2 Material Group 2
AdditionalMaterialGroup3 sdmd_lstg_exclsn mvgr3 Material Group 3
AdditionalMaterialGroup4 sdmd_lstg_exclsn mvgr4 Material Group 4
AdditionalMaterialGroup5 sdmd_lstg_exclsn mvgr5 Material Group 5
ProductType Product Type
MaterialPricingGroup sdmd_lstg_exclsn kondm Material Price Group
OriginallyRequestedMaterial sdmd_lstg_exclsn matwa Material Entered
PricingReferenceMaterial sdmd_lstg_exclsn pmatn Pricing Reference Material
UnitOfMeasure sdmd_lstg_exclsn meina Unit of measure
ProdUnivHierarchyNode sdmd_lstg_exclsn prod_hier_node Product Hierarchy Node
SalesOffice sdmd_lstg_exclsn vkbur Sales Office
Plant sdmd_lstg_exclsn werks Receiving Plant
PlantCounty sdmd_lstg_exclsn wkcou County in which plant is located
PlantRegion sdmd_lstg_exclsn wkreg Region in which plant is located
PlantCity sdmd_lstg_exclsn wkcty City in which plant is located
IncotermsClassification sdmd_lstg_exclsn inco1 Incoterms (Part 1)
IncotermsTransferLocation sdmd_lstg_exclsn inco2 Incoterms (Part 2)
InternationalArticleNumber sdmd_lstg_exclsn ean11 International Article Number (EAN/UPC)
DepartureCountry sdmd_lstg_exclsn aland Departure Country/Region (from which the goods are sent)
DestinationCountry sdmd_lstg_exclsn land1 Destination Country/Region
Region sdmd_lstg_exclsn regio Region (State, Province, County)
Batch sdmd_lstg_exclsn charg Chargeable Proc.
CompanyCode sdmd_lstg_exclsn bukrs Company Code
PurchasingInfoRecord sdmd_lstg_exclsn infnr Purchasing Info Record Number
CountryOfOrigin sdmd_lstg_exclsn herkl Country/Region of Origin of Material (Non-Preferential Ori.)
CustomerPriceGroup sdmd_lstg_exclsn konda Customer Price Group
ShippingCondition sdmd_lstg_exclsn vsbed Shipping Conditions
ProductSalesStatus sdmd_lstg_exclsn vmsta Distribution-chain-specific material status

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_SlsMatlLstgOrExclsnRecord.
-- 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 I_SlsMatlLstgOrExclsnRecord AS
SELECT
  sdmd_lstg_exclsn.list_excl_uuid AS SlsMatlLstgOrExclsnRecordUUID,
  sdmd_lstg_exclsn.kappl AS ConditionApplication,
  sdmd_lstg_exclsn.kschl AS ConditionType,
  sdmd_lstg_exclsn.conditiontable AS ConditionTable,
  sdmd_lstg_exclsn.vkorg AS SalesOrganization,
  sdmd_lstg_exclsn.vtweg AS DistributionChannel,
  sdmd_lstg_exclsn.spart AS Division,
  sdmd_lstg_exclsn.datbi AS ConditionValidityEndDate,
  sdmd_lstg_exclsn.datab AS ConditionValidityStartDate,
  sdmd_lstg_exclsn.upd_tmstmp AS LastChangeDateTime,
  sdmd_lstg_exclsn.cust_hier_node_type AS CustomerHierarchyNodeType,
  sdmd_lstg_exclsn.cust_hier_node_value AS CustomerHierarchyNodeID,
  sdmd_lstg_exclsn.cust_hier_root_node AS CustomerHierarchyRootNode,
  sdmd_lstg_exclsn.vbtyp AS SDDocumentCategory,
  sdmd_lstg_exclsn.auart AS SalesDocumentType,
  sdmd_lstg_exclsn.kunnr AS Customer,
  sdmd_lstg_exclsn.kdgrp AS CustomerGroup,
  sdmd_lstg_exclsn.kvgr1 AS AdditionalCustomerGroup1,
  sdmd_lstg_exclsn.kvgr2 AS AdditionalCustomerGroup2,
  sdmd_lstg_exclsn.kvgr3 AS AdditionalCustomerGroup3,
  sdmd_lstg_exclsn.kvgr4 AS AdditionalCustomerGroup4,
  sdmd_lstg_exclsn.kvgr5 AS AdditionalCustomerGroup5,
  sdmd_lstg_exclsn.kdkg1 AS CustomerConditionGroup1,
  sdmd_lstg_exclsn.kdkg2 AS CustomerConditionGroup2,
  sdmd_lstg_exclsn.kdkg3 AS CustomerConditionGroup3,
  sdmd_lstg_exclsn.kdkg4 AS CustomerConditionGroup4,
  sdmd_lstg_exclsn.kdkg5 AS CustomerConditionGroup5,
  sdmd_lstg_exclsn.kunag AS SoldToParty,
  sdmd_lstg_exclsn.kunwe AS ShipToParty,
  sdmd_lstg_exclsn.knrze AS PayerParty,
  sdmd_lstg_exclsn.vrtnr AS SalesEmployee,
  sdmd_lstg_exclsn.spdnr AS ForwardingAgent,
  cast (sdmd_lstg_exclsn.matnr as productnumber preserving type) AS Product,
  cast (sdmd_lstg_exclsn.matkl as productgroup preserving type) AS ProductGroup,
  sdmd_lstg_exclsn.mvgr1 AS AdditionalMaterialGroup1,
  sdmd_lstg_exclsn.mvgr2 AS AdditionalMaterialGroup2,
  sdmd_lstg_exclsn.mvgr3 AS AdditionalMaterialGroup3,
  sdmd_lstg_exclsn.mvgr4 AS AdditionalMaterialGroup4,
  sdmd_lstg_exclsn.mvgr5 AS AdditionalMaterialGroup5,
  cast (sdmd_lstg_exclsn.mtart as producttype preserving type ) AS ProductType,
  sdmd_lstg_exclsn.kondm AS MaterialPricingGroup,
  sdmd_lstg_exclsn.matwa AS OriginallyRequestedMaterial,
  sdmd_lstg_exclsn.pmatn AS PricingReferenceMaterial,
  sdmd_lstg_exclsn.meina AS UnitOfMeasure,
  sdmd_lstg_exclsn.prod_hier_node AS ProdUnivHierarchyNode,
  sdmd_lstg_exclsn.vkbur AS SalesOffice,
  sdmd_lstg_exclsn.werks AS Plant,
  sdmd_lstg_exclsn.wkcou AS PlantCounty,
  sdmd_lstg_exclsn.wkreg AS PlantRegion,
  sdmd_lstg_exclsn.wkcty AS PlantCity,
  sdmd_lstg_exclsn.inco1 AS IncotermsClassification,
  sdmd_lstg_exclsn.inco2 AS IncotermsTransferLocation,
  sdmd_lstg_exclsn.ean11 AS InternationalArticleNumber,
  sdmd_lstg_exclsn.aland AS DepartureCountry,
  sdmd_lstg_exclsn.land1 AS DestinationCountry,
  sdmd_lstg_exclsn.regio AS Region,
  sdmd_lstg_exclsn.charg AS Batch,
  sdmd_lstg_exclsn.bukrs AS CompanyCode,
  sdmd_lstg_exclsn.infnr AS PurchasingInfoRecord,
  sdmd_lstg_exclsn.herkl AS CountryOfOrigin,
  sdmd_lstg_exclsn.konda AS CustomerPriceGroup,
  sdmd_lstg_exclsn.vsbed AS ShippingCondition,
  sdmd_lstg_exclsn.vmsta AS ProductSalesStatus
FROM sdmd_lstg_exclsn
;