P_SupAssgmtDetails

DDL: P_SUPASSGMTDETAILS Type: view COMPOSITE

P_SupAssgmtDetails is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_ARunNormal) and exposes 23 fields.

Data Sources (1)

SourceAliasJoin Type
I_ARunNormal Assgmt from

Annotations (9)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PSUPASSGMTDETS view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XXL view

Fields (23)

KeyFieldSource TableSource FieldDescription
SupplyNumber SupplyNumber
SupplyItem SupplyItem
SupplyScheduleLine SupplyScheduleLine
Batch Batch Lot No.
StorageLocation StorageLocation StorageLocation
AssignedSupplyType AssignedSupplyType Stock Source
RequirementDocumentNumber RequirementDocumentNumber
RequirementDocumentItem RequirementDocumentItem
RequirementType RequirementType RequirementType
Material Material Vehicle Model
Plant Plant Valuation Area
RequestedDate RequestedDate Requested date
SupplyDeliveryDate SupplyDeliveryDate
int4endasNumberOfLateSupplies
AssignedQuantityInBaseUnit AssignedQuantityInBaseUnit Assigned Qty
FixedQuantityInBaseUnit FixedQuantityInBaseUnit
SupAssgmtReservedQtyInBaseUnit SupAssgmtReservedQtyInBaseUnit
OnHoldQuantityInBaseUnit OnHoldQuantityInBaseUnit
ReadyForReleaseQtyInBaseUnit ReadyForReleaseQtyInBaseUnit
InboundAssignedQuantityInBsUnt InboundAssignedQuantityInBsUnt
BaseUnit BaseUnit Unit of Measure
RequirementSegment RequirementSegment Req. Segment
StockSegment StockSegment Stock Segment

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_SupAssgmtDetails.
-- 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_SupAssgmtDetails AS
SELECT
  SupplyNumber,
  SupplyItem,
  SupplyScheduleLine,
  Batch,
  StorageLocation,
  AssignedSupplyType,
  RequirementDocumentNumber,
  RequirementDocumentItem,
  RequirementType,
  Material,
  Plant,
  RequestedDate,
  SupplyDeliveryDate,
  case when Assgmt.NumberOfDays > 0 then cast( 1 as abap.int4 ) else cast( 0 as abap.int4 ) end as NumberOfLateSupplies AS int4endasNumberOfLateSupplies,
  AssignedQuantityInBaseUnit,
  FixedQuantityInBaseUnit,
  SupAssgmtReservedQtyInBaseUnit,
  OnHoldQuantityInBaseUnit,
  ReadyForReleaseQtyInBaseUnit,
  InboundAssignedQuantityInBsUnt,
  BaseUnit,
  RequirementSegment,
  StockSegment
FROM I_ARunNormal AS Assgmt
;