P_JP_SalesOrderWorkPackage

DDL: P_JP_SALESORDERWORKPACKAGE SQL: PJPMAPSOWP Type: view CONSUMPTION

P_JP_SalesOrderWorkPackage is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_WorkPackage) and exposes 5 fields with key field WorkPackage.

Data Sources (1)

SourceAliasJoin Type
I_WorkPackage I_WorkPackage from

Annotations (7)

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

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY WorkPackage WorkPackage Plan Item
SalesOrder SalesOrder SD Document
SalesOrderItem SalesOrderItem Sales Order Item
WorkPackageNameLen
Lines 1

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_JP_SalesOrderWorkPackage.
-- 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: PJPMAPSOWP

CREATE VIEW P_JP_SalesOrderWorkPackage AS
SELECT
  WorkPackage,
  SalesOrder,
  SalesOrderItem,
  length(WorkPackage) AS WorkPackageNameLen,
  1 AS Lines
FROM I_WorkPackage
;