ScmPrd_Matpack

DDL: SCMPRD_MATPACK SQL: SCMPRDMATPACK Type: view

Redirect for /SAPAPO/MATPACK

ScmPrd_Matpack is a CDS View that provides data about "Redirect for /SAPAPO/MATPACK" in SAP S/4HANA. It reads from 1 data source (mara) and exposes 20 fields.

Data Sources (1)

SourceAliasJoin Type
mara mara from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName SCMPRDMATPACK view
EndUserText.label Redirect for /SAPAPO/MATPACK view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #AUTOMATED view

Fields (20)

KeyFieldSource TableSource FieldDescription
matid mara scm_matid_guid22 Product ID
MAXW
MAXW_UOM mara ergei Unit of weight
MAXW_TOL mara gewto Excess wt tolerance
MAXV
MAXV_UOM mara ervoe Volume unit
MAXV_TOL mara volto Excess volume tol.
PMTYP mara vhart Packag.Mat.Type
CLOSED_PM mara kzgvh Closed
MAX_FILL_UP
HUTYP mara hutyp HUTyp
TARE_VAR mara tare_var Variable TW
MAXC mara maxc Max. Capacity
MAXC_TOL mara maxc_tol Overcapac. Tol.
MAXL mara maxl Max.Length
MAXB mara maxb Max. Pack Width
MAXH mara maxh Max.Height
MAXDIM_UOM mara maxdim_uom Unit of Measure
PS_SMARTFORM mara ps_smartform Form Name
PS_PDF_FORM

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 ScmPrd_Matpack.
-- 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: SCMPRDMATPACK

CREATE VIEW ScmPrd_Matpack AS
SELECT
  mara.scm_matid_guid22 AS matid,
  cast ( mara.ergew as /scwm/de_maxw ) AS MAXW,
  mara.ergei AS MAXW_UOM,
  mara.gewto AS MAXW_TOL,
  cast ( mara.ervol as /scwm/de_maxv ) AS MAXV,
  mara.ervoe AS MAXV_UOM,
  mara.volto AS MAXV_TOL,
  mara.vhart AS PMTYP,
  mara.kzgvh AS CLOSED_PM,
  cast ( mara.fuelg as /scwm/de_max_fill_up ) AS MAX_FILL_UP,
  mara.hutyp AS HUTYP,
  mara.tare_var AS TARE_VAR,
  mara.maxc AS MAXC,
  mara.maxc_tol AS MAXC_TOL,
  mara.maxl AS MAXL,
  mara.maxb AS MAXB,
  mara.maxh AS MAXH,
  mara.maxdim_uom AS MAXDIM_UOM,
  mara.ps_smartform AS PS_SMARTFORM,
  cast( '' as /scwm/de_ps_pdfname ) AS PS_PDF_FORM
FROM mara
;