I_SalesPlanItem

DDL: I_SALESPLANITEM SQL: ISDSLSPLANITEM Type: view BASIC

Sales Plan Item

I_SalesPlanItem is a Basic CDS View (Dimension) that provides data about "Sales Plan Item" in SAP S/4HANA. It reads from 1 data source (salesplan_item) and exposes 58 fields with key field SalesPlanItemUUID. It has 13 associations to related views.

Data Sources (1)

SourceAliasJoin Type
salesplan_item salesplan_item from

Associations (13)

CardinalityTargetAliasCondition
[1..1] I_SalesPlan _SalesPlan $projection.SalesPlanUUID = _SalesPlan.SalesPlanUUID
[0..1] I_SalesOrganization _SalesOrganization $projection.SalesOrganization = _SalesOrganization.SalesOrganization
[0..1] I_DistributionChannel _DistributionChannel $projection.DistributionChannel = _DistributionChannel.DistributionChannel
[0..1] I_Division _Division $projection.Division = _Division.Division
[0..1] I_CustomerGroup _CustomerGroup $projection.CustomerGroup = _CustomerGroup.CustomerGroup
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_Product _Product $projection.Product = _Product.Product
[0..1] I_ProductGroup_2 _ProductGroup $projection.ProductGroup = _ProductGroup.ProductGroup
[0..1] I_MaterialGroup _MaterialGroup $projection.MaterialGroup = _MaterialGroup.MaterialGroup
[0..1] I_Material _Material $projection.Material = _Material.Material
[0..1] I_PersonWorkAgreement_1 _SalesEmployee $projection.SalesEmployee = _SalesEmployee.PersonWorkAgreement
[0..1] I_Currency _SalesPlanCurrency $projection.SalesPlanCurrency = _SalesPlanCurrency.Currency
[0..1] I_UnitOfMeasure _SalesPlanUnit $projection.SalesPlanUnit = _SalesPlanUnit.UnitOfMeasure

Annotations (11)

NameValueLevelField
EndUserText.label Sales Plan Item view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ISDSLSPLANITEM view
ObjectModel.representativeKey SalesPlanItemUUID view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
Metadata.allowExtensions true view

Fields (58)

KeyFieldSource TableSource FieldDescription
KEY SalesPlanItemUUID salesplanitemuuid SP Item UUID
SalesPlanUUID salesplan_item salesplanuuid Sales Plan UUID
SalesOrganization salesorganization Sales Organization
DistributionChannel distributionchannel RefDistCh-Cust/Mat.
OrganizationDivision organizationdivision Org. Division
SalesOffice salesoffice Sales Office
SalesGroup salesgroup Sales Group
SalesDistrict salesdistrict Sales District
Customer customer Sold-to Party
CustomerGroup customergroup Customer Group
ShipToParty shiptoparty Ship-To Party (obsolete)
BillToParty billtoparty Inv. Recipient
PayerParty payerparty Payer
AdditionalCustomerGroup1 additionalcustomergroup1 Customer Grp 1
AdditionalCustomerGroup2 additionalcustomergroup2 Customer Grp 2
AdditionalCustomerGroup3 additionalcustomergroup3 Customer Grp 3
AdditionalCustomerGroup4 additionalcustomergroup4 Customer Grp 4
AdditionalCustomerGroup5 additionalcustomergroup5 Customer Grp 5
Division division Internal Division ID
Product Product Sold
ProductGroup Product Sold Group
Material material Vehicle Model
MaterialGroup materialgroup Product Group
AdditionalMaterialGroup1 additionalmaterialgroup1 MaterialGroup 1
AdditionalMaterialGroup2 additionalmaterialgroup2 MaterialGroup 2
AdditionalMaterialGroup3 additionalmaterialgroup3 MaterialGroup 3
AdditionalMaterialGroup4 additionalmaterialgroup4 MaterialGroup 4
AdditionalMaterialGroup5 additionalmaterialgroup5 MaterialGroup 5
SalesEmployee salesemployee Sales Employee
Plant plant Valuation Area
ShippingType shippingtype Shipping Type
ProfitCenter profitcenter Profit Center
CostCenter costcenter Cost Center
CompanyCode companycode Receiver Company Code
ControllingArea controllingarea Controlling Area
BusinessArea businessarea Business Area
Country country Venue: Ctry/Reg
BillToPartyCountry billtopartycountry Dst.CtryRg.Ord.
Region region Venue Region
BillToPartyRegion billtopartyregion Region Order
SalesPlanPeriod salesplanperiod Sales Plan period
SalesPlanAmount salesplanamount Sales Plan amount
SalesPlanCurrency salesplan_item salesplancurrency Currency
SalesPlanQuantity salesplanquantity Planned Qty
SalesPlanUnit salesplanunit Unit of Measure
_SalesPlan _SalesPlan
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_Division _Division
_CustomerGroup _CustomerGroup
_Customer _Customer
_Product _Product
_ProductGroup _ProductGroup
_MaterialGroup _MaterialGroup
_Material _Material
_SalesEmployee _SalesEmployee
_SalesPlanCurrency _SalesPlanCurrency
_SalesPlanUnit _SalesPlanUnit

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_SalesPlanItem.
-- 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: ISDSLSPLANITEM

CREATE VIEW I_SalesPlanItem AS
SELECT
  SalesPlanItemUUID,
  salesplan_item.salesplanuuid AS SalesPlanUUID,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  SalesOffice,
  SalesGroup,
  SalesDistrict,
  Customer,
  CustomerGroup,
  ShipToParty,
  BillToParty,
  PayerParty,
  AdditionalCustomerGroup1,
  AdditionalCustomerGroup2,
  AdditionalCustomerGroup3,
  AdditionalCustomerGroup4,
  AdditionalCustomerGroup5,
  Division,
  cast (product as productnumber preserving type ) AS Product,
  cast (productgroup as productgroup preserving type ) AS ProductGroup,
  Material,
  MaterialGroup,
  AdditionalMaterialGroup1,
  AdditionalMaterialGroup2,
  AdditionalMaterialGroup3,
  AdditionalMaterialGroup4,
  AdditionalMaterialGroup5,
  SalesEmployee,
  Plant,
  ShippingType,
  ProfitCenter,
  CostCenter,
  CompanyCode,
  ControllingArea,
  BusinessArea,
  Country,
  BillToPartyCountry,
  Region,
  BillToPartyRegion,
  SalesPlanPeriod,
  SalesPlanAmount,
  salesplan_item.salesplancurrency AS SalesPlanCurrency,
  SalesPlanQuantity,
  SalesPlanUnit
FROM salesplan_item
LEFT OUTER JOIN I_SalesPlan AS _SalesPlan ON SalesPlanUUID = _SalesPlan.SalesPlanUUID  -- association [1..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN I_DistributionChannel AS _DistributionChannel ON DistributionChannel = _DistributionChannel.DistributionChannel  -- association [0..1]
LEFT OUTER JOIN I_Division AS _Division ON Division = _Division.Division  -- association [0..1]
LEFT OUTER JOIN I_CustomerGroup AS _CustomerGroup ON CustomerGroup = _CustomerGroup.CustomerGroup  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [0..1]
LEFT OUTER JOIN I_ProductGroup_2 AS _ProductGroup ON ProductGroup = _ProductGroup.ProductGroup  -- association [0..1]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup  -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [0..1]
LEFT OUTER JOIN I_PersonWorkAgreement_1 AS _SalesEmployee ON SalesEmployee = _SalesEmployee.PersonWorkAgreement  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _SalesPlanCurrency ON SalesPlanCurrency = _SalesPlanCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _SalesPlanUnit ON SalesPlanUnit = _SalesPlanUnit.UnitOfMeasure  -- association [0..1]
;