R_SlsMatlDeterminationRecordTP

DDL: R_SLSMATLDETERMINATIONRECORDTP Type: view_entity TRANSACTIONAL Package: RAP_SD_MATERIAL_DETERMINATION

Sales Material Determination - TP

R_SlsMatlDeterminationRecordTP is a Transactional CDS View that provides data about "Sales Material Determination - TP" in SAP S/4HANA. It reads from 1 data source (I_SlsMatlDeterminationRecord) and exposes 44 fields with key field ConditionRecord. It has 1 association to related views. Part of development package RAP_SD_MATERIAL_DETERMINATION.

Data Sources (1)

SourceAliasJoin Type
I_SlsMatlDeterminationRecord I_SlsMatlDeterminationRecord from

Associations (1)

CardinalityTargetAliasCondition
[0..*] R_SlsMatlDetnRecdAddlSubstitTP _SlsMatlDetnRecdAddlSubstit

Annotations (11)

NameValueLevelField
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.sapObjectNodeType.name SlsMatlDeterminationRecord view
ObjectModel.representativeKey ConditionRecord view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
EndUserText.label Sales Material Determination - TP view
Metadata.ignorePropagatedAnnotations true view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY ConditionRecord ConditionRecord Cond.Record No.
ConditionApplication ConditionApplication Application
ConditionType ConditionType Condition type
ConditionTable ConditionTable Condition Table
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SlsMatlDetnSubstituteMaterial SlsMatlDetnSubstituteMaterial Material
SlsMatlDetnSubstitMaterialUoM SlsMatlDetnSubstitMaterialUoM Valuation Unit
MaterialSubstitutionReason MaterialSubstitutionReason Reason
ConditionValidityEndDate ConditionValidityEndDate Valid To
ConditionValidityStartDate ConditionValidityStartDate Valid From
SDMConversionStatusCode
LastChangeDateTime LastChangeDateTime Timestamp
SDDocumentCategory SDDocumentCategory Document Cat.
SalesDocumentType SalesDocumentType Sales Doc. Type
Customer Customer Sold-to Party
CustomerGroup CustomerGroup Customer Group
SoldToParty SoldToParty Sold-to Party
ShipToParty ShipToParty Ship-To Party (obsolete)
PayerParty PayerParty Payer
SalesEmployee SalesEmployee Sales Employee
ForwardingAgent ForwardingAgent Fwd Agent
Product Product Product Sold
ProductType ProductType Product Type Group
ProductGroup ProductGroup Product Sold Group
MaterialPricingGroup MaterialPricingGroup Mat. Price Grp
OriginallyRequestedMaterial OriginallyRequestedMaterial MaterialEntered
PricingReferenceMaterial PricingReferenceMaterial Pr. Ref. Matl
Plant Plant Valuation Area
PlantCounty PlantCounty County-Dlv.Plnt
PlantRegion PlantRegion Region-Dlv.Plnt
PlantCity PlantCity City-Dlv.Plant
IncotermsClassification IncotermsClassification Incoterms
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
County County Wyoming County
DepartureCountry DepartureCountry Departure Country / Region
DestinationCountry DestinationCountry Dest. Ctry/Reg
Region Region Venue Region
CityCode CityCode IATA: City
Batch Batch Lot No.
CompanyCode CompanyCode Receiver Company Code
PurchasingInfoRecord PurchasingInfoRecord Info Record
_SlsMatlDetnRecdAddlSubstit _SlsMatlDetnRecdAddlSubstit

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 R_SlsMatlDeterminationRecordTP.
-- 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 R_SlsMatlDeterminationRecordTP AS
SELECT
  ConditionRecord,
  ConditionApplication,
  ConditionType,
  ConditionTable,
  SalesOrganization,
  DistributionChannel,
  Division,
  SlsMatlDetnSubstituteMaterial,
  SlsMatlDetnSubstitMaterialUoM,
  MaterialSubstitutionReason,
  ConditionValidityEndDate,
  ConditionValidityStartDate,
  cast ( '01' as sd_sdm_version_kondd ) AS SDMConversionStatusCode,
  LastChangeDateTime,
  SDDocumentCategory,
  SalesDocumentType,
  Customer,
  CustomerGroup,
  SoldToParty,
  ShipToParty,
  PayerParty,
  SalesEmployee,
  ForwardingAgent,
  Product,
  ProductType,
  ProductGroup,
  MaterialPricingGroup,
  OriginallyRequestedMaterial,
  PricingReferenceMaterial,
  Plant,
  PlantCounty,
  PlantRegion,
  PlantCity,
  IncotermsClassification,
  IncotermsTransferLocation,
  County,
  DepartureCountry,
  DestinationCountry,
  Region,
  CityCode,
  Batch,
  CompanyCode,
  PurchasingInfoRecord
FROM I_SlsMatlDeterminationRecord
LEFT OUTER JOIN R_SlsMatlDetnRecdAddlSubstitTP AS _SlsMatlDetnRecdAddlSubstit ON /* condition not available in parsed metadata */  -- association [0..*]
;