SBN_DRF_PI_DETAILS
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)
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA