P_DrvtvCalcPositionData

DDL: P_DRVTVCALCPOSITIONDATA SQL: PDRVTVCALCPOS Type: view BASIC

P_DrvtvCalcPositionData is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (trft_calc_pos) and exposes 5 fields with key field ObjectIdentity.

Data Sources (1)

SourceAliasJoin Type
trft_calc_pos trft_calc_pos from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PDRVTVCALCPOS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ObjectIdentity os_guid Lot
LotId lot Lot
FlagLongShort flag_long_short Long/Short Position
ClassPosObjectIdentity class_pos_oid DB Object ID
ObjectNumber objnr Val. Obj. No.

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_DrvtvCalcPositionData.
-- 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: PDRVTVCALCPOS

CREATE VIEW P_DrvtvCalcPositionData AS
SELECT
  os_guid AS ObjectIdentity,
  lot AS LotId,
  flag_long_short AS FlagLongShort,
  class_pos_oid AS ClassPosObjectIdentity,
  objnr AS ObjectNumber
FROM trft_calc_pos
;