SBN_DRF_PI_DETAILS

DDL: SBN_DRF_PI_DETAILS SQL: SBN_PI_DETAIL Type: view Package: ARBS4_LO_DRF

Get PI details

SBN_DRF_PI_DETAILS is a CDS View that provides data about "Get PI details" in SAP S/4HANA. It reads from 5 data sources (mara, packpo, packkp, packkp, makt) and exposes 27 fields. Part of development package ARBS4_LO_DRF.

Data Sources (5)

SourceAliasJoin Type
mara m left_outer
packpo o inner
packkp p from
packkp sp left_outer
makt t left_outer

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName SBN_PI_DETAIL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
EndUserText.label Get PI details view

Fields (27)

KeyFieldSource TableSource FieldDescription
id packkp packnr Text number
packitem packpo packitem Item number
packnr packkp packnr Text number
hdcount packkp hdcount Numerator
pobjid packkp pobjid Packing object
chtim packkp chtim Time Stamp
paitemtype packpo paitemtype Item category
matnr packpo matnr Vehicle Model
maktx makt maktx Product Description
trgqty packpo trgqty Target quantity
minqty packpo minqty Minimum Qty
rndqty packpo rndqty Rounding qty
unitqty packpo unitqty Unit of measure
matmixawd packpo matmixawd MixdMatAllowed
indnohu packpo indnohu Non-HU-relevant
is_aux
vhart mara vhart Packag.Mat.Type
laeng mara laeng Length
breit mara breit Width
hoehe mara hoehe Height
volum mara volum Volume
ntgew mara ntgew Net Weight
brgew mara brgew Weight
meabm mara meabm Unit
voleh mara voleh Volume Unit
gewei mara gewei Weight Unit
subpacknr packpo subpacknr Packing object

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 SBN_DRF_PI_DETAILS.
-- 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: SBN_PI_DETAIL

CREATE VIEW SBN_DRF_PI_DETAILS AS
SELECT
  p.packnr AS id,
  o.packitem AS packitem,
  p.packnr AS packnr,
  p.hdcount AS hdcount,
  p.pobjid AS pobjid,
  p.chtim AS chtim,
  o.paitemtype AS paitemtype,
  o.matnr AS matnr,
  t.maktx AS maktx,
  o.trgqty AS trgqty,
  o.minqty AS minqty,
  o.rndqty AS rndqty,
  o.unitqty AS unitqty,
  o.matmixawd AS matmixawd,
  o.indnohu AS indnohu,
  '' AS is_aux,
  m.vhart AS vhart,
  m.laeng AS laeng,
  m.breit AS breit,
  m.hoehe AS hoehe,
  m.volum AS volum,
  m.ntgew AS ntgew,
  m.brgew AS brgew,
  m.meabm AS meabm,
  m.voleh AS voleh,
  m.gewei AS gewei,
  o.subpacknr AS subpacknr
FROM packkp AS p
INNER JOIN packpo AS o ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN mara AS m ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN makt AS t ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN packkp AS sp ON /* join condition not captured in parsed metadata */
;