I_MiscPRTByInternalKey

DDL: I_MISCPRTBYINTERNALKEY SQL: IPPMISCPRTIK Type: view BASIC

Miscellaneous PRT by Internal Key

I_MiscPRTByInternalKey is a Basic CDS View (Dimension) that provides data about "Miscellaneous PRT by Internal Key" in SAP S/4HANA. It reads from 2 data sources (crvs_a, I_ProdnRsceToolMasterData) and exposes 46 fields with key fields ProductionResourceType, ProductionResourceInternalID. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
crvs_a crvs_a inner
I_ProdnRsceToolMasterData PRT from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_MiscProdnRsceToolText _Text $projection.ProductionResourceType = _Text.ProductionResourceType and $projection.ProductionResourceInternalID = _Text.ProductionResourceInternalID

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IPPMISCPRTIK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC view
ObjectModel.representativeKey ProductionResourceInternalID view
ObjectModel.semanticKey MiscProductionResourceTool view
Analytics.dataCategory #DIMENSION view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Miscellaneous PRT by Internal Key view
Search.searchable true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
Metadata.allowExtensions true view

Fields (46)

KeyFieldSource TableSource FieldDescription
KEY ProductionResourceType I_ProdnRsceToolMasterData ProductionResourceType Object Type
KEY ProductionResourceInternalID I_ProdnRsceToolMasterData ProductionResourceInternalID Object ID
MiscProductionResourceTool
ProductionResourceToolGroup1 I_ProdnRsceToolMasterData ProductionResourceToolGroup1 Grouping Key 1
ProductionResourceToolGroup2 I_ProdnRsceToolMasterData ProductionResourceToolGroup2 Grouping Key 2
ProductionResourceUsage I_ProdnRsceToolMasterData ProductionResourceUsage Usage
ProdnRsceToolControlProfile ProdnRsceToolControlProfile PRT Control Profile
ChangeNumber I_ProdnRsceToolMasterData ChangeNumber Change Number
ProdnRsceToolStandardTextCode ProdnRsceToolStandardTextCode Std Text Key
ProdnRsceToolTotQtyCalcFormula ProdnRsceToolTotQtyCalcFormula Formula
ProdnRsceToolUsageQtyCalcFmla ProdnRsceToolUsageQtyCalcFmla Formula
StartDateOffsetReferenceCode StartDateOffsetReferenceCode
EndDateOffsetReferenceCode EndDateOffsetReferenceCode
EndDateOffsetDurnIsReferenced EndDateOffsetDurnIsReferenced
StartDateOffstDurnIsReferenced StartDateOffstDurnIsReferenced
EndDteOffstRefCodeIsReferenced EndDteOffstRefCodeIsReferenced
StartDateOffsetRefCodeIsRefcd StartDateOffsetRefCodeIsRefcd
PRTTotQtyCalcFmlaIsReferenced PRTTotQtyCalcFmlaIsReferenced
PRTUsgeQtyCalcFmlaIsReferenced PRTUsgeQtyCalcFmlaIsReferenced
PRTControlProfileIsReferenced PRTControlProfileIsReferenced
PRTStdTextCodeIsReferenced PRTStdTextCodeIsReferenced
StartDateOffsetDuration StartDateOffsetDuration
StartDateOffsetDurationUnit StartDateOffsetDurationUnit Unit
EndDateOffsetDuration EndDateOffsetDuration
EndDateOffsetDurationUnit EndDateOffsetDurationUnit Unit
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
MiscPRTAuthorizationGroup I_ProdnRsceToolMasterData MiscPRTAuthorizationGroup Authorization
_ProductionResourceType _ProductionResourceType
_Text _Text
_ProdnRsceToolGroup1 _ProdnRsceToolGroup1
_ProdnRsceToolGroup2 _ProdnRsceToolGroup2
_ProductionResourceUsage _ProductionResourceUsage
_ProdnRsceToolControlProfile _ProdnRsceToolControlProfile
_ProdnRsceToolStandardText _ProdnRsceToolStandardText
_ProdnRsceToolTotQtyCalcFmla _ProdnRsceToolTotQtyCalcFmla
_ProdnRsceToolUsageQtyCalcFmla _ProdnRsceToolUsageQtyCalcFmla
_StartDateOffsetReferenceCode _StartDateOffsetReferenceCode
_EndDateOffsetReferenceCode _EndDateOffsetReferenceCode
_StartDateOffsetDurationUnit _StartDateOffsetDurationUnit
_EndDateOffsetDurationUnit _EndDateOffsetDurationUnit
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_ChangeMaster _ChangeMaster

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_MiscPRTByInternalKey.
-- 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: IPPMISCPRTIK

CREATE VIEW I_MiscPRTByInternalKey AS
SELECT
  PRT.ProductionResourceType AS ProductionResourceType,
  PRT.ProductionResourceInternalID AS ProductionResourceInternalID,
  cast(crvs_a.sfhnr as pph_sfhnr preserving type) AS MiscProductionResourceTool,
  PRT.ProductionResourceToolGroup1 AS ProductionResourceToolGroup1,
  PRT.ProductionResourceToolGroup2 AS ProductionResourceToolGroup2,
  PRT.ProductionResourceUsage AS ProductionResourceUsage,
  ProdnRsceToolControlProfile,
  PRT.ChangeNumber AS ChangeNumber,
  ProdnRsceToolStandardTextCode,
  ProdnRsceToolTotQtyCalcFormula,
  ProdnRsceToolUsageQtyCalcFmla,
  StartDateOffsetReferenceCode,
  EndDateOffsetReferenceCode,
  EndDateOffsetDurnIsReferenced,
  StartDateOffstDurnIsReferenced,
  EndDteOffstRefCodeIsReferenced,
  StartDateOffsetRefCodeIsRefcd,
  PRTTotQtyCalcFmlaIsReferenced,
  PRTUsgeQtyCalcFmlaIsReferenced,
  PRTControlProfileIsReferenced,
  PRTStdTextCodeIsReferenced,
  StartDateOffsetDuration,
  StartDateOffsetDurationUnit,
  EndDateOffsetDuration,
  EndDateOffsetDurationUnit,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  LastChangedByUser,
  PRT.MiscPRTAuthorizationGroup AS MiscPRTAuthorizationGroup
FROM I_ProdnRsceToolMasterData AS PRT
INNER JOIN crvs_a ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MiscProdnRsceToolText AS _Text ON ProductionResourceType = _Text.ProductionResourceType AND ProductionResourceInternalID = _Text.ProductionResourceInternalID  -- association [0..*]
;