I_SupDmndAllDocPlndIndepRqmts

DDL: I_SUPDMNDALLDOCPLNDINDEPRQMTS Type: view BASIC

View for Planned Independent Requirements

I_SupDmndAllDocPlndIndepRqmts is a Basic CDS View that provides data about "View for Planned Independent Requirements" in SAP S/4HANA. It reads from 6 data sources and exposes 55 fields.

Data Sources (6)

SourceAliasJoin Type
I_SupDmndMaterialPlant marc inner
I_SupDmndMaterialPlant marc inner
pbed pbed from
pbed pbed inner
pbid pbid union_all
pbim pbim inner

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ISUPDMNDADPIR view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
EndUserText.label View for Planned Independent Requirements view

Fields (55)

KeyFieldSource TableSource FieldDescription
RequirementDocumentNumber pbim pbdnr Requirements Plan
RequirementDocumentItem
RequirementType
RequestedDate pbed pdatu Settlement Date
ProductAvailabilityDate pbed pdatu Settlement Date
RequestedDeliveryDate pbed pdatu Settlement Date
RequestedRqmtQtyInBaseUnit pbed plnmg Planned qty
ConfirmedRqmtQtyInBaseUnit pbed plnmg Planned qty
DeliveredQuantityInBaseUnit
OpenDemandQuantity pbed plnmg Planned qty
AssignedQuantityInBaseUnit 0
NormalAssignedQuantityInBsUnt 0
PreviewAssignedQuantityInBsUnt 0
BaseUnit pbed meins Valuation Unit
Material pbim matnr Vehicle Model
MaterialGroup I_SupDmndMaterialPlant MaterialGroup Product Group
MaterialType I_SupDmndMaterialPlant MaterialType Material Type
Plant pbim werks Receiving Plant
CrossPlantConfigurableProduct I_SupDmndMaterialPlant CrossPlantConfigurableProduct Cross-plant CP
OrderType pbim bedae Reqmts type
PlndIndepRqmtInternalID pbim bdzei PIR Pointer
MRPArea Single-Character Flag
RequirementSegment pbim sgt_rcat Req. Segment
SegmentationStrategy I_SupDmndMaterialPlant SegmentationStrategy Segment. Strategy
SegmentationStrategyScope I_SupDmndMaterialPlant SegmentationStrategyScope Seg. Scope
PlndIndepRqmtVersion pbim versb Version
Division I_SupDmndMaterialPlant Division Internal Division ID
pbdnrasRequirementDocumentNumber
RequirementDocumentItem
RequirementType
RequestedDate pbed pdatu Settlement Date
ProductAvailabilityDate pbed pdatu Settlement Date
RequestedDeliveryDate pbed pdatu Settlement Date
RequestedRqmtQtyInBaseUnit pbed plnmg Planned qty
ConfirmedRqmtQtyInBaseUnit pbed plnmg Planned qty
DeliveredQuantityInBaseUnit
OpenDemandQuantity pbed plnmg Planned qty
AssignedQuantityInBaseUnit 0
NormalAssignedQuantityInBsUnt 0
PreviewAssignedQuantityInBsUnt 0
BaseUnit pbed meins Valuation Unit
Material pbid matnr Vehicle Model
MaterialGroup I_SupDmndMaterialPlant MaterialGroup Product Group
MaterialType I_SupDmndMaterialPlant MaterialType Material Type
Plant pbid werks Receiving Plant
CrossPlantConfigurableProduct I_SupDmndMaterialPlant CrossPlantConfigurableProduct Cross-plant CP
OrderType pbid bedae Reqmts type
PlndIndepRqmtInternalID pbid bdzei PIR Pointer
MRPArea pbid berid Single-Character Flag
RequirementSegment pbid sgt_rcat Req. Segment
SegmentationStrategy I_SupDmndMaterialPlant SegmentationStrategy Segment. Strategy
SegmentationStrategyScope I_SupDmndMaterialPlant SegmentationStrategyScope Seg. Scope
PlndIndepRqmtVersion pbid versb Version
Division I_SupDmndMaterialPlant Division Internal Division ID
IsInternalBatchManaged I_SupDmndMaterialPlant IsInternalBatchManaged Batches

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_SupDmndAllDocPlndIndepRqmts.
-- 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 I_SupDmndAllDocPlndIndepRqmts AS
SELECT
  pbim.pbdnr AS RequirementDocumentNumber,
  cast( '000000' as posnr ) AS RequirementDocumentItem,
  'PP' AS RequirementType,
  pbed.pdatu AS RequestedDate,
  pbed.pdatu AS ProductAvailabilityDate,
  pbed.pdatu AS RequestedDeliveryDate,
  pbed.plnmg AS RequestedRqmtQtyInBaseUnit,
  pbed.plnmg AS ConfirmedRqmtQtyInBaseUnit,
  cast( 0 as tdd_rrqqty_bu ) AS DeliveredQuantityInBaseUnit,
  pbed.plnmg AS OpenDemandQuantity,
  0 AS AssignedQuantityInBaseUnit,
  0 AS NormalAssignedQuantityInBsUnt,
  0 AS PreviewAssignedQuantityInBsUnt,
  pbed.meins AS BaseUnit,
  pbim.matnr AS Material,
  marc.MaterialGroup AS MaterialGroup,
  marc.MaterialType AS MaterialType,
  pbim.werks AS Plant,
  marc.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
  pbim.bedae AS OrderType,
  pbim.bdzei AS PlndIndepRqmtInternalID,
  cast( pbim.werks as berid ) AS MRPArea,
  pbim.sgt_rcat AS RequirementSegment,
  marc.SegmentationStrategy AS SegmentationStrategy,
  marc.SegmentationStrategyScope AS SegmentationStrategyScope,
  pbim.versb AS PlndIndepRqmtVersion,
  marc.Division AS Division,
  marc.IsInternalBatchManaged AS pbdnrasRequirementDocumentNumber,
  marc.IsInternalBatchManaged AS IsInternalBatchManaged
FROM pbed
INNER JOIN pbim ON /* join condition not captured in parsed metadata */
INNER JOIN I_SupDmndMaterialPlant AS marc ON /* join condition not captured in parsed metadata */
INNER JOIN pbed ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): pbid
;