P_ProductPlantBasic

DDL: P_PRODUCTPLANTBASIC Type: view BASIC Package: VDM_MD_PRODUCT

Product Plant

P_ProductPlantBasic is a Basic CDS View that provides data about "Product Plant" in SAP S/4HANA. It reads from 1 data source (marc) and exposes 221 fields with key fields Product, Plant. It has 1 association to related views. Part of development package VDM_MD_PRODUCT.

Data Sources (1)

SourceAliasJoin Type
marc Plant from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_Product _Product $projection.Product = _Product.Product

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PPRDPLANTBASIC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view
VDM.private true view

Fields (221)

KeyFieldSource TableSource FieldDescription
KEY Product
KEY Plant marc werks Receiving Plant
MaintenanceStatus marc pstat Processing Status
IsMarkedForDeletion marc lvorm Stock del. flag
ValuationCategory marc bwtty Valuation Cat.
IsInternalBatchManaged marc xchar HU assignment
ProfileCode marc mmsta Primary Status
ProfileValidityStartDate marc mmstd Valid From
ABCIndicator marc maabc ABC Indicator
ProductIsCriticalPrt marc kzkri Critical Part
PurchasingGroup marc ekgrp Sub. purchasing grp
GoodsIssueUnit marc ausme Unit of Issue
MRPProfile marc dispr MRP profile
MRPType marc dismm MRP Type
MRPResponsible marc dispo MRP Controller
PlannedDeliveryDurationInDays marc plifz Plnd Deliv.Time
GoodsReceiptDuration marc webaz GR Proc. Time
PeriodType marc perkz Period Type
AssemblyScrapPercent marc ausss Assembly scrap
LotSizingProcedure marc disls Lot Sizing Procedure
ProcurementType marc beskz Procuremt Type
ProcurementSubType marc sobsl SpecProcuremKey
ReorderThresholdQuantity marc minbe Reorder Point
SafetyStockQuantity marc eisbe Safety Stock
MinimumLotSizeQuantity marc bstmi Min. Lot Size
MaximumLotSizeQuantity marc bstma To Lot Size
FixedLotSizeQuantity marc bstfe Fixed lot size
LotSizeRoundingQuantity marc bstrf Rounding value
MaximumStockQuantity marc mabst Max.Stock Level
LotSizeIndependentCosts marc losfx LSI Costs
DependentRequirementsType marc sbdkz Indiv./ Coll.
StorageCostsPercentageCode marc lagpr Storage Costs
ProductIsToBeDiscontinued marc kzaus Share of scrap
EffectiveOutDate marc ausdt Dunning Date
FollowUpProduct marc nfmat Follow-Up Matl
ProdRqmtsAreConsolidated marc kzbed Reqmts grouping
MRPAvailabilityType marc miskz Mixed MRP
SchedulingMarginKey
MatlCompIsMarkedForBackflush marc rgekz Backflushing
ProductionSupervisor marc fevor Prodn Supervisor
ProcessingTimeInDays marc bearz Processing Time
SetupAndTeardownTime marc ruezt Setup time
TransitionTime marc tranz Move Time
MaterialBaseQuantity marc basmg Base quantity
InHouseProductionTime marc dzeit InhseProdTime
MaximumStoragePeriod marc maxlz Max. Storage
ProdMaximumStoragePeriodUnit marc lzeih Time unit
ProdIsWithdrawnFrmProdnBin marc kzpro Withd.fm.pr.bin
OverDelivToleranceLimit marc ueeto Overdeliv. Tol.
UnlimitedOverDelivIsAllowed marc ueetk Unlimited
UnderDelivToleranceLimit marc uneto Underdel. Tol.
TotalReplenishmentLeadTime marc wzeit Total RL time
ReplacementPartType marc atpkz Replacemt Part
HasPostToInspectionStock
InspLotSampleQuantityInPercent marc sproz Sample %
QualityMgmtCtrlKey marc ssqss QM Control Key
InspLotDurationInDays marc mpdau Mean insp. dur.
InspLotDocumentationIsRequired marc kzdkz Doc. required
RecrrgInspIntervalTimeInDays marc prfrq Inspection Interval
LoadingGroup marc ladgr Loading Group
IsBatchManagementRequired marc xchpf Batch Mgmt Rqt(Plnt)
QuotaArrangementUsage marc usequ Quota arr.usage
SrvcLvl marc lgrad Target Service Level
AvailabilityCheckType marc mtvfp Avail. check
FiscalYearVariant marc periv FYear Variant
CorrectionFactorIsRequired marc kzkfk Corr. factors
WrkCentersShipgSetupTimeInDays marc vrvez Setup time
CapPlanningQuantityInBaseUoM marc vbamg Base quantity
ProductShippingProcessingTime marc vbeaz Processing time
SourceOfSupplyCategory marc bwscl Supply source
IsAutoPurOrdCreationAllowed marc kautb Autom. PO
IsSourceListRequired marc kordb Source list
CountryOfOrigin
RegionOfOrigin
CommoditiyCodeNumberUnit marc expme Comm. code unit
ExportAndImportProductGroup marc mtver Intrastat Group
ProfitCenter marc prctr Profit Centers
MRPPlanningCalendar marc mrppp Planning cal.
RepetitiveManufacturingIsAllwd
PlanningTimeFence marc fxhor Plng time fence
ProdRqmtsConsumptionMode marc vrmod Consmption mode
BackwardCnsmpnPeriodInWorkDays
FwdConsumptionPeriodInWorkDays
HasProductionVersion marc verkz Version
SourceBOMAlternative marc stlal AlternativeBOM
ProductBOMUsage marc stlan Usage
TaskListGroup marc plnnr Task List Group
TaskListGroupCounter marc aplal Group Counter
CostingLotSize marc losgr Cstg Lot Size
CostingSpecialProcurementType
ProductProductionQuantityUnit marc frtme Production unit
ProductionInvtryManagedLoc marc lgpro Storage Location
MRPGroup marc disgr MRP Group
ComponentScrapInPercent marc kausf Component Scrap
ProductQualityCertificateType marc qzgtp CertificateType
ProductPlantHasInspectionSetup marc qmatv Insp. Setup
RqmtQtyRcptTaktTmeInWrkgDays marc takzt Takt time
RangeOfCvrgPrflCode marc rwpro Coverage Prof.
InventoryForCycleCountInd marc abcin CC Phys. Inv.
VarianceKey marc awsls Variance key
SerialNumberProfile marc sernp SerialNoProfile
ProductConfiguration marc cuobj Object Number
ConfigurableProduct marc stdpd Conf. Material
RepetitiveManufacturingProfile
IsNegativeStockAllowed marc xmcng Neg. Stocks
SuplrQualityManagementSystem marc qssys Target QM Sys.
PlanAndOrderDayDetermination marc lfrhy Planning Cycle
RoundingProfile marc rdprf Rounding Prfl.
ConsumptionReferenceProduct marc vrbmt Ref.matl: cons.
ConsumptionReferencePlant marc vrbwk Ref.plant:cons.
ConsumptionRefUsageEndDate marc vrbdt Date to
ConsumptionQtyMultiplier marc vrbfk Multiplier
ProvisioningServiceLevel marc servg Service Level
IsCoProduct marc kzkup Co-Product
PlanningStrategyGroup marc strgr Strategy Group
DfltStorageLocationExtProcmt marc lgfsb Storage Location
IsBulkMaterialComponent marc schgt Bulk material
CycleCountingIndicatorIsFixed marc ccfix CC ind. fixed
StockDeterminationGroup marc eprio Withdr.Seq.Grp
MatlQualityAuthorizationGroup marc qmata QM Matl Auth.
TaskListType marc plnty Task List Type
ProductionSchedulingProfile
IsSafetyTime marc shflg Safety Time Ind
SafetyDuration marc shzet Safety Time
PlannedOrderActionControl marc mdach Action Control
ProdnOrderIsBatchRequired marc kzech Enter batch
ProductUnitGroup
MaterialFreightGroup marc mfrgr Prod.Frgt Group
CostingProductionVersion marc fvidk Prod. Version
IsFixedPriceCoProduct marc fxpru Fixed-Price Co-Prod.
ProductLogisticsHandlingGroup marc loggr Logistics group
DistrCntrDistributionProfile marc fprfm Dist.prof.
ProductCFOPCategory marc indus Mat. category
ProductCASNumber marc casnr CAS no.(pharm.)
ProdIntlTradeClassification marc gpnum PRODCOM no.
ConsumptionTaxCtrlCode marc steuc Control Code
ItmIsRlvtToJITDelivSchedules marc fabkz Sched. Agr. Forecast
TransitionMatrixProductsGroup marc matgr Mat. Grouping
ProposedProductSupplyArea marc vspvb Supply Area
PerdPrflForSftyTme marc shpro Time Profile
IsMRPDependentRqmt marc ahdis MRP Relevant
ProductIsForCrossProject marc kzpsp Cross-Project
OrderChangeManagementProfile marc ocmpf Overall profile
MinimumSafetyStockQuantity marc eislo Min. Saf. Stock
ProductIsCostingRelevant
WrhsMgmtPtwyAndStkRemovalStrgy marc rotation_date Putaway/StkRmvl
OriglBatchManagementIsRequired marc uchkz OB Management
OriginalBatchReferenceMaterial marc ucmat PB Material
ProductIsExciseTaxRelevant marc excise_tax_rlvnce Is Excise Tax Relevant
IsAdvancedPlanningUsed marc ppskz Advanced Planning
ConsignmentControl marc cons_procg Consign.Control
GoodIssueProcessingDays marc gi_pr_time GI Proc.Time
IsPurgAcrossPurgGroup marc multiple_ekgrp Across Purch.Group
LocProdGoodsReceiptProcHours
LocProdGoodsIssueProcHours
LocProdStorageCostValue marc scm_scost Prod.Stor. Costs
ReplenishmentLeadTimeDays marc scm_reldt Repl. Lead Time
PPPlanningProcedure marc scm_rrp_type PP Plng Proced.
ProdnPlngHeuristic marc scm_heur_id Heuristic
ProductPlanningPackage marc scm_package_id Plan. Package
SftyStkVioltnPnltyCostValue marc scm_sspen Safety Stk Pen.
ProductAlertRelevanceCode marc scm_get_alerts Product Alerts
ResourceNetworkName marc scm_res_net_name Network name
GRHandlingCapacityQuantity marc scm_conhap GR Handlg Cap. Cons.
GRHandlingCapacityUnit marc scm_hunit UoM:HandlCap GR
GIHandlingCapacityQuantity marc scm_conhap_out GI Handlg Cap. Cons.
GIHandlingCapacityUnit marc scm_hunit_out UoM:HandlCap GI
IsLocDependentShelfLifeUsed marc scm_shelf_life_loc Shelf Life(Loc)
ShelfLifeLocDependent
MaturationDurnLocDependent
RqdMinShelfLifeLocDepdnt
RqdMaxShelfLifeLocDepdnt
LotSizeUnit marc scm_lsuom Lot Size Unit
ReorderDaysSupplyInWorkDays
TargetDaysSupplyInWorkDays
PlngCalendarPerdcLotSizing marc scm_tstrid Per.LS Plng Cal
RequirementStrategy marc scm_stra1 Requirement Str.
AlertThldForDlydRcptDurn
AlertThldForEarlyRcptDurn
PeggingStrategy marc scm_peg_strategy Peggng Strategy
IsAlertsInPeggingAvoided marc scm_peg_wo_alert_fst Avoid Alerts
IsFixedPeggingForProdRetained marc scm_fixpeg_prod_set Fixed Pegging
BOMTypeExplosionUsed marc scm_whatbom Plan Explosion
ProductPlanningGroup marc scm_rrp_sel_group Planning Group
InteractiveSourcingProfile marc scm_intsrc_prof Profile
ProductPriority marc scm_prio Priority
MinPassingAmtContinuousPegging marc scm_min_pass_amount Min Passing Amt
ConversionRule marc scm_profid Conversion Rule
IsTotalQtyReceiptElement marc scm_ges_mng_use Entire Receipt
IsTotalQtyStockElement marc scm_ges_bst_use Entire Stock
ESPPIsUsed marc esppflg Extended SPP
SrvcPartsThroughputTimeDurn
ThirdPartyOrderProcessing marc scm_tpop TPOP
VCLSafetyStockQuantity marc scm_safty_v Safety Stock for VCL
ParLocSafetyStockQuantity marc scm_ppsaftystk SFT Parent Location
VCLParLocSafetyStockQuantity marc scm_ppsaftystk_v SFT Parent Loc. VCL
RepairSafetyStockQuantity marc scm_repsafty Rep. Safety St.
VCLRepairSafetyStockQuantity marc scm_repsafty_v Rep. SFT f. VCL
VCLReorderPointQuantity marc scm_reord_v Reord. Point (VCL)
VCLMaximumStockQuantity marc scm_maxstock_v Maximum Stock (VCL)
CostFactorForStockHoldingVal marc scm_scost_prcnt Holding Cost Factor
ProductProcurementCostsVal marc scm_proc_cost Procuremt Costs
GoodsReceiptHandlingCost marc scm_ndcostwe GR Costs
GoodsIssueHandlingCost marc scm_ndcostwa GI Costs
ConsumptionOfStorageCapacity marc scm_coninp Stor. Consumptn
GIPostingIsSynchronous marc conf_gmsync Sync.GI Posting
ConsumptionOfStorageCapUnit marc scm_iunit Unit of Meas.
MRPSafetyStockMethod marc sfty_stk_meth Safety Stock Method
ProductMaxControlTemperature marc temp_ctrl_max Max. Temp.
ProductMinControlTemperature marc temp_ctrl_min Min. Temp.
ProductControlTemperatureUnit marc temp_uom Temp. UoM
JITProdnConfProfile marc jitprodnconfprofile JIT Production Confirmation Profile
SegmentationStrategyForPlant marc sgt_covs Segment. Strategy
DefaultSegmentValue marc sgt_defsc Stock Segment
SgmtHasPrioInProductStockSort marc sgt_mrpsi Sort Stock
ItemUniqueIdentifierIsRelevant marc iuid_relevant IUID-Relevant
ItemUniqueIdentifierType marc iuid_type IUID Type
ExtAllocOfItmUnqIdtIsRelevant marc uid_iea Ext. Allocation
ATPCheckHorizonInDays marc atp_check_horizon
ATPCheckHorizonFactoryCalendar marc atp_chk_hrzn_valdtn_cal
_Product _Product

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 P_ProductPlantBasic.
-- 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 P_ProductPlantBasic AS
SELECT
  cast ( Plant.matnr as productnumber preserving type ) AS Product,
  Plant.werks AS Plant,
  Plant.pstat AS MaintenanceStatus,
  Plant.lvorm AS IsMarkedForDeletion,
  Plant.bwtty AS ValuationCategory,
  Plant.xchar AS IsInternalBatchManaged,
  Plant.mmsta AS ProfileCode,
  Plant.mmstd AS ProfileValidityStartDate,
  Plant.maabc AS ABCIndicator,
  Plant.kzkri AS ProductIsCriticalPrt,
  Plant.ekgrp AS PurchasingGroup,
  Plant.ausme AS GoodsIssueUnit,
  Plant.dispr AS MRPProfile,
  Plant.dismm AS MRPType,
  Plant.dispo AS MRPResponsible,
  Plant.plifz AS PlannedDeliveryDurationInDays,
  Plant.webaz AS GoodsReceiptDuration,
  Plant.perkz AS PeriodType,
  Plant.ausss AS AssemblyScrapPercent,
  Plant.disls AS LotSizingProcedure,
  Plant.beskz AS ProcurementType,
  Plant.sobsl AS ProcurementSubType,
  Plant.minbe AS ReorderThresholdQuantity,
  Plant.eisbe AS SafetyStockQuantity,
  Plant.bstmi AS MinimumLotSizeQuantity,
  Plant.bstma AS MaximumLotSizeQuantity,
  Plant.bstfe AS FixedLotSizeQuantity,
  Plant.bstrf AS LotSizeRoundingQuantity,
  Plant.mabst AS MaximumStockQuantity,
  Plant.losfx AS LotSizeIndependentCosts,
  Plant.sbdkz AS DependentRequirementsType,
  Plant.lagpr AS StorageCostsPercentageCode,
  Plant.kzaus AS ProductIsToBeDiscontinued,
  Plant.ausdt AS EffectiveOutDate,
  Plant.nfmat AS FollowUpProduct,
  Plant.kzbed AS ProdRqmtsAreConsolidated,
  Plant.miskz AS MRPAvailabilityType,
  cast( Plant.fhori as vdm_fhori preserving type ) AS SchedulingMarginKey,
  Plant.rgekz AS MatlCompIsMarkedForBackflush,
  Plant.fevor AS ProductionSupervisor,
  Plant.bearz AS ProcessingTimeInDays,
  Plant.ruezt AS SetupAndTeardownTime,
  Plant.tranz AS TransitionTime,
  Plant.basmg AS MaterialBaseQuantity,
  Plant.dzeit AS InHouseProductionTime,
  Plant.maxlz AS MaximumStoragePeriod,
  Plant.lzeih AS ProdMaximumStoragePeriodUnit,
  Plant.kzpro AS ProdIsWithdrawnFrmProdnBin,
  Plant.ueeto AS OverDelivToleranceLimit,
  Plant.ueetk AS UnlimitedOverDelivIsAllowed,
  Plant.uneto AS UnderDelivToleranceLimit,
  Plant.wzeit AS TotalReplenishmentLeadTime,
  Plant.atpkz AS ReplacementPartType,
  cast (Plant.insmk as hasposttoinspectionstock preserving type ) AS HasPostToInspectionStock,
  Plant.sproz AS InspLotSampleQuantityInPercent,
  Plant.ssqss AS QualityMgmtCtrlKey,
  Plant.mpdau AS InspLotDurationInDays,
  Plant.kzdkz AS InspLotDocumentationIsRequired,
  Plant.prfrq AS RecrrgInspIntervalTimeInDays,
  Plant.ladgr AS LoadingGroup,
  Plant.xchpf AS IsBatchManagementRequired,
  Plant.usequ AS QuotaArrangementUsage,
  Plant.lgrad AS SrvcLvl,
  Plant.mtvfp AS AvailabilityCheckType,
  Plant.periv AS FiscalYearVariant,
  Plant.kzkfk AS CorrectionFactorIsRequired,
  Plant.vrvez AS WrkCentersShipgSetupTimeInDays,
  Plant.vbamg AS CapPlanningQuantityInBaseUoM,
  Plant.vbeaz AS ProductShippingProcessingTime,
  Plant.bwscl AS SourceOfSupplyCategory,
  Plant.kautb AS IsAutoPurOrdCreationAllowed,
  Plant.kordb AS IsSourceListRequired,
  cast ( Plant.herkl as cmd_prd_countryoforigin preserving type ) AS CountryOfOrigin,
  cast ( Plant.herkr as regionoforigin preserving type ) AS RegionOfOrigin,
  Plant.expme AS CommoditiyCodeNumberUnit,
  Plant.mtver AS ExportAndImportProductGroup,
  Plant.prctr AS ProfitCenter,
  Plant.mrppp AS MRPPlanningCalendar,
  cast ( Plant.sauft as cmd_prd_rem_enabled preserving type ) AS RepetitiveManufacturingIsAllwd,
  Plant.fxhor AS PlanningTimeFence,
  Plant.vrmod AS ProdRqmtsConsumptionMode,
  cast ( Plant.vint1 as backwardcnsmpnperiodinworkdays preserving type ) AS BackwardCnsmpnPeriodInWorkDays,
  cast ( Plant.vint2 as fwdconsumptionperiodinworkdays preserving type ) AS FwdConsumptionPeriodInWorkDays,
  Plant.verkz AS HasProductionVersion,
  Plant.stlal AS SourceBOMAlternative,
  Plant.stlan AS ProductBOMUsage,
  Plant.plnnr AS TaskListGroup,
  Plant.aplal AS TaskListGroupCounter,
  Plant.losgr AS CostingLotSize,
  cast ( Plant.sobsk as specialprocurementtype preserving type ) AS CostingSpecialProcurementType,
  Plant.frtme AS ProductProductionQuantityUnit,
  Plant.lgpro AS ProductionInvtryManagedLoc,
  Plant.disgr AS MRPGroup,
  Plant.kausf AS ComponentScrapInPercent,
  Plant.qzgtp AS ProductQualityCertificateType,
  Plant.qmatv AS ProductPlantHasInspectionSetup,
  Plant.takzt AS RqmtQtyRcptTaktTmeInWrkgDays,
  Plant.rwpro AS RangeOfCvrgPrflCode,
  Plant.abcin AS InventoryForCycleCountInd,
  Plant.awsls AS VarianceKey,
  Plant.sernp AS SerialNumberProfile,
  Plant.cuobj AS ProductConfiguration,
  Plant.stdpd AS ConfigurableProduct,
  cast ( Plant.sfepr as cmd_prd_rem_profile preserving type ) AS RepetitiveManufacturingProfile,
  Plant.xmcng AS IsNegativeStockAllowed,
  Plant.qssys AS SuplrQualityManagementSystem,
  Plant.lfrhy AS PlanAndOrderDayDetermination,
  Plant.rdprf AS RoundingProfile,
  Plant.vrbmt AS ConsumptionReferenceProduct,
  Plant.vrbwk AS ConsumptionReferencePlant,
  Plant.vrbdt AS ConsumptionRefUsageEndDate,
  Plant.vrbfk AS ConsumptionQtyMultiplier,
  Plant.servg AS ProvisioningServiceLevel,
  Plant.kzkup AS IsCoProduct,
  Plant.strgr AS PlanningStrategyGroup,
  Plant.lgfsb AS DfltStorageLocationExtProcmt,
  Plant.schgt AS IsBulkMaterialComponent,
  Plant.ccfix AS CycleCountingIndicatorIsFixed,
  Plant.eprio AS StockDeterminationGroup,
  Plant.qmata AS MatlQualityAuthorizationGroup,
  Plant.plnty AS TaskListType,
  cast ( Plant.sfcpf as productionschedulingprofile preserving type ) AS ProductionSchedulingProfile,
  Plant.shflg AS IsSafetyTime,
  Plant.shzet AS SafetyDuration,
  Plant.mdach AS PlannedOrderActionControl,
  Plant.kzech AS ProdnOrderIsBatchRequired,
  cast( Plant.megru as productunitgroup preserving type ) AS ProductUnitGroup,
  Plant.mfrgr AS MaterialFreightGroup,
  Plant.fvidk AS CostingProductionVersion,
  Plant.fxpru AS IsFixedPriceCoProduct,
  Plant.loggr AS ProductLogisticsHandlingGroup,
  Plant.fprfm AS DistrCntrDistributionProfile,
  Plant.indus AS ProductCFOPCategory,
  Plant.casnr AS ProductCASNumber,
  Plant.gpnum AS ProdIntlTradeClassification,
  Plant.steuc AS ConsumptionTaxCtrlCode,
  Plant.fabkz AS ItmIsRlvtToJITDelivSchedules,
  Plant.matgr AS TransitionMatrixProductsGroup,
  Plant.vspvb AS ProposedProductSupplyArea,
  Plant.shpro AS PerdPrflForSftyTme,
  Plant.ahdis AS IsMRPDependentRqmt,
  Plant.kzpsp AS ProductIsForCrossProject,
  Plant.ocmpf AS OrderChangeManagementProfile,
  Plant.eislo AS MinimumSafetyStockQuantity,
  cast ( Plant.ncost as productiscostingrelevant preserving type ) AS ProductIsCostingRelevant,
  Plant.rotation_date AS WrhsMgmtPtwyAndStkRemovalStrgy,
  Plant.uchkz AS OriglBatchManagementIsRequired,
  Plant.ucmat AS OriginalBatchReferenceMaterial,
  Plant.excise_tax_rlvnce AS ProductIsExciseTaxRelevant,
  Plant.ppskz AS IsAdvancedPlanningUsed,
  Plant.cons_procg AS ConsignmentControl,
  Plant.gi_pr_time AS GoodIssueProcessingDays,
  Plant.multiple_ekgrp AS IsPurgAcrossPurgGroup,
  cast ( Plant.scm_grprt as cmd_prd_good_rcpt_proc_time_n preserving type ) AS LocProdGoodsReceiptProcHours,
  cast ( Plant.scm_giprt as cmd_prd_good_issue_proc_time_n preserving type ) AS LocProdGoodsIssueProcHours,
  Plant.scm_scost AS LocProdStorageCostValue,
  Plant.scm_reldt AS ReplenishmentLeadTimeDays,
  Plant.scm_rrp_type AS PPPlanningProcedure,
  Plant.scm_heur_id AS ProdnPlngHeuristic,
  Plant.scm_package_id AS ProductPlanningPackage,
  Plant.scm_sspen AS SftyStkVioltnPnltyCostValue,
  Plant.scm_get_alerts AS ProductAlertRelevanceCode,
  Plant.scm_res_net_name AS ResourceNetworkName,
  Plant.scm_conhap AS GRHandlingCapacityQuantity,
  Plant.scm_hunit AS GRHandlingCapacityUnit,
  Plant.scm_conhap_out AS GIHandlingCapacityQuantity,
  Plant.scm_hunit_out AS GIHandlingCapacityUnit,
  Plant.scm_shelf_life_loc AS IsLocDependentShelfLifeUsed,
  cast( Plant.scm_shelf_life_dur as cmd_prd_shelf_life_dur_l_n preserving type ) AS ShelfLifeLocDependent,
  cast (Plant.scm_maturity_dur as cmd_prd_maturity_dur_l_n preserving type ) AS MaturationDurnLocDependent,
  cast (Plant.scm_shlf_lfe_req_min as cmd_prd_shelf_life_req_min_l_n preserving type ) AS RqdMinShelfLifeLocDepdnt,
  cast (Plant.scm_shlf_lfe_req_max as cmd_prd_shelf_life_req_max_l_n preserving type ) AS RqdMaxShelfLifeLocDepdnt,
  Plant.scm_lsuom AS LotSizeUnit,
  cast (Plant.scm_reord_dur as cmd_prd_reord_dur_n preserving type ) AS ReorderDaysSupplyInWorkDays,
  cast (Plant.scm_target_dur as cmd_prd_target_dur_n preserving type ) AS TargetDaysSupplyInWorkDays,
  Plant.scm_tstrid AS PlngCalendarPerdcLotSizing,
  Plant.scm_stra1 AS RequirementStrategy,
  cast (Plant.scm_peg_past_alert as cmd_prd_dm_pegging_past_alert preserving type ) AS AlertThldForDlydRcptDurn,
  cast (Plant.scm_peg_future_alert as cmd_prd_dm_pegging_futur_alert preserving type ) AS AlertThldForEarlyRcptDurn,
  Plant.scm_peg_strategy AS PeggingStrategy,
  Plant.scm_peg_wo_alert_fst AS IsAlertsInPeggingAvoided,
  Plant.scm_fixpeg_prod_set AS IsFixedPeggingForProdRetained,
  Plant.scm_whatbom AS BOMTypeExplosionUsed,
  Plant.scm_rrp_sel_group AS ProductPlanningGroup,
  Plant.scm_intsrc_prof AS InteractiveSourcingProfile,
  Plant.scm_prio AS ProductPriority,
  Plant.scm_min_pass_amount AS MinPassingAmtContinuousPegging,
  Plant.scm_profid AS ConversionRule,
  Plant.scm_ges_mng_use AS IsTotalQtyReceiptElement,
  Plant.scm_ges_bst_use AS IsTotalQtyStockElement,
  Plant.esppflg AS ESPPIsUsed,
  cast(Plant.scm_thruput_time as cmd_prd_srvc_prts_thruput_time preserving type ) AS SrvcPartsThroughputTimeDurn,
  Plant.scm_tpop AS ThirdPartyOrderProcessing,
  Plant.scm_safty_v AS VCLSafetyStockQuantity,
  Plant.scm_ppsaftystk AS ParLocSafetyStockQuantity,
  Plant.scm_ppsaftystk_v AS VCLParLocSafetyStockQuantity,
  Plant.scm_repsafty AS RepairSafetyStockQuantity,
  Plant.scm_repsafty_v AS VCLRepairSafetyStockQuantity,
  Plant.scm_reord_v AS VCLReorderPointQuantity,
  Plant.scm_maxstock_v AS VCLMaximumStockQuantity,
  Plant.scm_scost_prcnt AS CostFactorForStockHoldingVal,
  Plant.scm_proc_cost AS ProductProcurementCostsVal,
  Plant.scm_ndcostwe AS GoodsReceiptHandlingCost,
  Plant.scm_ndcostwa AS GoodsIssueHandlingCost,
  Plant.scm_coninp AS ConsumptionOfStorageCapacity,
  Plant.conf_gmsync AS GIPostingIsSynchronous,
  Plant.scm_iunit AS ConsumptionOfStorageCapUnit,
  Plant.sfty_stk_meth AS MRPSafetyStockMethod,
  Plant.temp_ctrl_max AS ProductMaxControlTemperature,
  Plant.temp_ctrl_min AS ProductMinControlTemperature,
  Plant.temp_uom AS ProductControlTemperatureUnit,
  Plant.jitprodnconfprofile AS JITProdnConfProfile,
  Plant.sgt_covs AS SegmentationStrategyForPlant,
  Plant.sgt_defsc AS DefaultSegmentValue,
  Plant.sgt_mrpsi AS SgmtHasPrioInProductStockSort,
  Plant.iuid_relevant AS ItemUniqueIdentifierIsRelevant,
  Plant.iuid_type AS ItemUniqueIdentifierType,
  Plant.uid_iea AS ExtAllocOfItmUnqIdtIsRelevant,
  Plant.atp_check_horizon AS ATPCheckHorizonInDays,
  Plant.atp_chk_hrzn_valdtn_cal AS ATPCheckHorizonFactoryCalendar
FROM marc AS Plant
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [1..1]
;