SBN_DRF_PACKING_INSTRUCTIONS

DDL: SBN_DRF_PACKING_INSTRUCTIONS SQL: SBNPI Type: view

Get Packing Instruction by MATNR or MTART

SBN_DRF_PACKING_INSTRUCTIONS is a CDS View that provides data about "Get Packing Instruction by MATNR or MTART" in SAP S/4HANA. It reads from 3 data sources (mara, packpo, packkp) and exposes 4 fields.

Data Sources (3)

SourceAliasJoin Type
mara m left_outer
packpo o left_outer
packkp p from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName SBNPI 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 Packing Instruction by MATNR or MTART view

Fields (4)

KeyFieldSource TableSource FieldDescription
packnr packkp packnr Text number
hdcount packkp hdcount Numerator
matnr packpo matnr Vehicle Model
mtart mara mtart Product Type

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_PACKING_INSTRUCTIONS.
-- 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: SBNPI

CREATE VIEW SBN_DRF_PACKING_INSTRUCTIONS AS
SELECT
  p.packnr AS packnr,
  p.hdcount AS hdcount,
  o.matnr AS matnr,
  m.mtart AS mtart
FROM packkp AS p
LEFT OUTER 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 */
;