I_PRADeliveryNetworkStatus

DDL: I_PRADELIVERYNETWORKSTATUS SQL: IPRADNSTS Type: view BASIC

PRA Delivery Network Status

I_PRADeliveryNetworkStatus is a Basic CDS View that provides data about "PRA Delivery Network Status" in SAP S/4HANA. It reads from 1 data source (oiu_pr_dnsth) and exposes 19 fields with key fields DeliveryNetwork, ProductionDate, AllocationFrequency, MajorProduct, PRAApplicationCode. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
oiu_pr_dnsth header from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_DeliveryNetwork _DeliveryNetwork _DeliveryNetwork.DeliveryNetwork = $projection.DeliveryNetwork
[0..1] I_AllocationFrequencyCode _AllocationFrequencyCode _AllocationFrequencyCode.AllocationFrequency = $projection.AllocationFrequency
[0..1] I_MajorProduct _MajorProduct _MajorProduct.MajorProduct = $projection.MajorProduct

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPRADNSTS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label PRA Delivery Network Status view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY DeliveryNetwork oiu_pr_dnsth dn_no Delivery network ID
KEY ProductionDate oiu_pr_dnsth prd_dt Production Date
KEY AllocationFrequency oiu_pr_dnsth freq_cd Frequency
KEY MajorProduct oiu_pr_dnsth majpd_cd Major Product
KEY PRAApplicationCode details sub_system_cd
DelivNtwkProcessingDate details last_prcs_dt
DelivNtwkProcessingTime details last_prcs_time
DelivNtwkProcessingStatusCode details sts_cd
DelivNtwkStatusCloseIndCode details close_ind
DelivNtwkAllocationResultCode details alloc_result_cd
PRADelivNtwkStatusNumber oiu_pr_dnsth dnsth_no DN status no
CreatedByUser oiu_pr_dnsth oiu_cruser Created By
CreationDateTime oiu_pr_dnsth oiu_timestamp Timestamp
CntrctlAllocEntlmntIsContrLvl details ca_ct_lvl_entl
PRAIsProductionClosed details pr_closed
ContractualAllocationIsClosed details ca_closed
_AllocationFrequencyCode _AllocationFrequencyCode
_MajorProduct _MajorProduct
_DeliveryNetwork _DeliveryNetwork

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_PRADeliveryNetworkStatus.
-- 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: IPRADNSTS

CREATE VIEW I_PRADeliveryNetworkStatus AS
SELECT
  header.dn_no AS DeliveryNetwork,
  header.prd_dt AS ProductionDate,
  header.freq_cd AS AllocationFrequency,
  header.majpd_cd AS MajorProduct,
  details.sub_system_cd AS PRAApplicationCode,
  details.last_prcs_dt AS DelivNtwkProcessingDate,
  details.last_prcs_time AS DelivNtwkProcessingTime,
  details.sts_cd AS DelivNtwkProcessingStatusCode,
  details.close_ind AS DelivNtwkStatusCloseIndCode,
  details.alloc_result_cd AS DelivNtwkAllocationResultCode,
  header.dnsth_no AS PRADelivNtwkStatusNumber,
  header.oiu_cruser AS CreatedByUser,
  header.oiu_timestamp AS CreationDateTime,
  details.ca_ct_lvl_entl AS CntrctlAllocEntlmntIsContrLvl,
  details.pr_closed AS PRAIsProductionClosed,
  details.ca_closed AS ContractualAllocationIsClosed
FROM oiu_pr_dnsth AS header
LEFT OUTER JOIN I_DeliveryNetwork AS _DeliveryNetwork ON _DeliveryNetwork.DeliveryNetwork = DeliveryNetwork  -- association [0..1]
LEFT OUTER JOIN I_AllocationFrequencyCode AS _AllocationFrequencyCode ON _AllocationFrequencyCode.AllocationFrequency = AllocationFrequency  -- association [0..1]
LEFT OUTER JOIN I_MajorProduct AS _MajorProduct ON _MajorProduct.MajorProduct = MajorProduct  -- association [0..1]
;