I_MasterRecipeNonHistoricHdrTP

DDL: I_MASTERRECIPENONHISTORICHDRTP SQL: IMRCNHHDRTP Type: view_entity TRANSACTIONAL Package: VDM_PP_MD_MRC

Master Recipe Non Historical Header

I_MasterRecipeNonHistoricHdrTP is a Transactional CDS View that provides data about "Master Recipe Non Historical Header" in SAP S/4HANA. It reads from 1 data source (I_MasterRecipe) and exposes 18 fields with key fields MasterRecipeGroup, MasterRecipe. It has 3 associations to related views. Part of development package VDM_PP_MD_MRC.

Data Sources (1)

SourceAliasJoin Type
I_MasterRecipe I_MasterRecipe from

Associations (3)

CardinalityTargetAliasCondition
[1..*] I_MasterRecipeHeaderTP _Header
[0..*] I_MasterRecipeMaterialAssgmtTP _MatlAssgmt
[0..*] I_MasterRcpNonHistoricActyTP _Acty

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Master Recipe Non Historical Header view
ObjectModel.representativeKey MasterRecipe view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.sapObjectNodeType.name MasterRecipe view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY MasterRecipeGroup BillOfOperationsGroup Group
KEY MasterRecipe BillOfOperationsVariant Group Counter
BillOfOperationsVersionType BillOfOperationsVersionType Version Profile
BillOfOperationsSubtype BillOfOperationsSubtype Version Profile
LastUsageDate LastUsageDate Store Until
NumberOfUsages NumberOfUsages No. of Periods
HasChangeNumber HasChangeNumber Change no. ind.
HasParameterEffectivity HasParameterEffectivity Param.Eff.Ind.
LastChangeDate LastChangeDate Time Stamp
LastChangeTime LastChangeTime Time changed
LastChangedByUser LastChangedByUser User Name
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
RoutingIsReworkRouting RoutingIsReworkRouting Rework Routing
ProdnProcgIsFlexible ProdnProcgIsFlexible Flexible
clientNULLastzntstmpsasChangedDateTime
_Header _Header
_MatlAssgmt _MatlAssgmt
_Acty _Acty

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_MasterRecipeNonHistoricHdrTP.
-- 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: IMRCNHHDRTP

CREATE VIEW I_MasterRecipeNonHistoricHdrTP AS
SELECT
  BillOfOperationsGroup AS MasterRecipeGroup,
  BillOfOperationsVariant AS MasterRecipe,
  BillOfOperationsVersionType,
  BillOfOperationsSubtype,
  LastUsageDate,
  NumberOfUsages,
  HasChangeNumber,
  HasParameterEffectivity,
  LastChangeDate,
  LastChangeTime,
  LastChangedByUser,
  IsMarkedForDeletion,
  RoutingIsReworkRouting,
  ProdnProcgIsFlexible,
  cast( dats_tims_to_tstmp(I_MasterRecipe.LastChangeDate, LastChangeTime, abap_system_timezone($session.client, 'NULL'), $session.client, 'NULL') as tzntstmps ) as ChangedDateTime AS clientNULLastzntstmpsasChangedDateTime
FROM I_MasterRecipe
LEFT OUTER JOIN I_MasterRecipeHeaderTP AS _Header ON /* condition not available in parsed metadata */  -- association [1..*]
LEFT OUTER JOIN I_MasterRecipeMaterialAssgmtTP AS _MatlAssgmt ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_MasterRcpNonHistoricActyTP AS _Acty ON /* condition not available in parsed metadata */  -- association [0..*]
;