I_PRAOwnerAvailabilityHeader

DDL: I_PRAOWNERAVAILABILITYHEADER Type: view_entity BASIC

PRA Owner Availability Header

I_PRAOwnerAvailabilityHeader is a Basic CDS View that provides data about "PRA Owner Availability Header" in SAP S/4HANA. It reads from 1 data source (oiu_sb_oah) and exposes 10 fields with key fields PRAOwnerAvailability, DeliveryNetwork, SalesDate. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
oiu_sb_oah oiu_sb_oah from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_DeliveryNetwork _Delivery $projection.DeliveryNetwork = _Delivery.DeliveryNetwork
[0..1] I_User _User $projection.CreatedByUser = _User.UserID

Annotations (10)

NameValueLevelField
EndUserText.label PRA Owner Availability Header view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.sapObjectNodeType.name PRAOwnerAvailability view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PRAOwnerAvailability oah_no OAH No
KEY DeliveryNetwork Delivery network ID
KEY SalesDate sa_dt Sales Date
PRAMaximumRevision max_revision_no Revision No.
UnitOfMeasure unit_of_meas UoM
CreatedByUser oiu_cruser Created By
CreationDateTime oiu_timestamp Timestamp
OriginTransaction
_Delivery _Delivery
_User _User

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_PRAOwnerAvailabilityHeader.
-- 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_PRAOwnerAvailabilityHeader AS
SELECT
  oah_no AS PRAOwnerAvailability,
  cast( dn_no as oiu_dn_no preserving type ) AS DeliveryNetwork,
  sa_dt AS SalesDate,
  max_revision_no AS PRAMaximumRevision,
  unit_of_meas AS UnitOfMeasure,
  oiu_cruser AS CreatedByUser,
  oiu_timestamp AS CreationDateTime,
  cast( abap.char'O3U_CA063' as fqm_origin_trans_id ) AS OriginTransaction
FROM oiu_sb_oah
LEFT OUTER JOIN I_DeliveryNetwork AS _Delivery ON DeliveryNetwork = _Delivery.DeliveryNetwork  -- association [0..1]
LEFT OUTER JOIN I_User AS _User ON CreatedByUser = _User.UserID  -- association [0..1]
;