I_PRAAddlDispositionCodeVH

DDL: I_PRAADDLDISPOSITIONCODEVH Type: view_entity BASIC

Gas Used or Lost Disposition table

I_PRAAddlDispositionCodeVH (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

PRANonSlsAddlDsposVolDetail · Cross Applications

I_PRAAddlDispositionCodeVH is a Basic CDS View (Dimension) that provides data about "Gas Used or Lost Disposition table" in SAP S/4HANA. It reads from 1 data source (/pra/c_ff_dsp) and exposes 10 fields with key field PRA_GasUsedOrLostDspos. It has 4 associations to related views.

SAP Help Documentation

CategoryCDS Views for Production and Revenue Accounting (PRA)
Data CategoryDimension
Purpose
This CDS view represents the Gas Used or Lost Disposition. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Structure
Important Fields Important fields in this view include the following: Field Name Description Measure or Attribute Comment PRA_GasUsedOrLostDspos /PRA/FF_DISP CHAR Gas Used or Lost Disposition

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentIS-OIL-PRA
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source for Data Extraction, Data Source for Search, Data Source in SQL Select, Data Provider for Value Help
PackageCross Applications for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view represents the Gas Used or Lost Disposition.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
/pra/c_ff_dsp /pra/c_ff_dsp from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_MinorProduct _MinorProduct _MinorProduct.MajorProduct = $projection.MajorProduct and _MinorProduct.MinorProduct = $projection.MinorProduct
[1..1] I_MajorProduct _MajorProduct _MajorProduct.MajorProduct = $projection.MajorProduct
[1..1] I_VolumeType _VolumeType _VolumeType.VolumeType = $projection.VolumeType
[0..*] I_PRAAddlDispositionCodeText _PRAAddlDispositionCodeText _PRAAddlDispositionCodeText.PRA_GasUsedOrLostDspos = $projection.PRA_GasUsedOrLostDspos

Annotations (17)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Gas Used or Lost Disposition table view
ObjectModel.representativeKey PRA_GasUsedOrLostDspos view
AbapCatalog.entityBuffer.definitionAllowed true view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
Analytics.dataExtraction.enabled true view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.technicalName IPRAAddlDispositionCodeVH view
ObjectModel.dataCategory #VALUE_HELP view
Search.searchable true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.sapObjectNodeType.name PRANonSlsAddlDsposVolDetail view
ObjectModel.modelingPattern #VALUE_HELP_PROVIDER view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PRA_GasUsedOrLostDspos disposition Gas Used or Lost Disposition
PRADispositionIsSummary summary Summary Indicator
MajorProduct majpd_cd Major product code
MinorProduct Minor Product Code
PRAGasAnlysVolumeIsPlantFuel vol_gas_port Alignment to Plant Fuel Volumes of Gas Analysis Portal
VolumeType Volume type code
_MajorProduct _MajorProduct
_MinorProduct _MinorProduct
_VolumeType _VolumeType
_PRAAddlDispositionCodeText _PRAAddlDispositionCodeText

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_PRAAddlDispositionCodeVH.
-- 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_PRAAddlDispositionCodeVH AS
SELECT
  disposition AS PRA_GasUsedOrLostDspos,
  summary AS PRADispositionIsSummary,
  majpd_cd AS MajorProduct,
  cast(pd_cd as oiu_pd_cd preserving type) AS MinorProduct,
  vol_gas_port AS PRAGasAnlysVolumeIsPlantFuel,
  cast(vt_cd as oiu_vt_cd preserving type ) AS VolumeType
FROM /pra/c_ff_dsp
LEFT OUTER JOIN I_MinorProduct AS _MinorProduct ON _MinorProduct.MajorProduct = MajorProduct AND _MinorProduct.MinorProduct = MinorProduct  -- association [1..1]
LEFT OUTER JOIN I_MajorProduct AS _MajorProduct ON _MajorProduct.MajorProduct = MajorProduct  -- association [1..1]
LEFT OUTER JOIN I_VolumeType AS _VolumeType ON _VolumeType.VolumeType = VolumeType  -- association [1..1]
LEFT OUTER JOIN I_PRAAddlDispositionCodeText AS _PRAAddlDispositionCodeText ON _PRAAddlDispositionCodeText.PRA_GasUsedOrLostDspos = PRA_GasUsedOrLostDspos  -- association [0..*]
;