C_WrkOrdForOPg

DDL: C_WRKORDFOROPG SQL: CWRKORDDET Type: view CONSUMPTION

Work Order Details for Object Page

C_WrkOrdForOPg is a Consumption CDS View that provides data about "Work Order Details for Object Page" in SAP S/4HANA. It reads from 2 data sources (I_ServicePerformerToSuplr, I_Supplier) and exposes 9 fields with key fields Person, BusinessPartnerSupplier, EndDate.

Data Sources (2)

SourceAliasJoin Type
I_ServicePerformerToSuplr supplier from
I_Supplier supplierdet left_outer

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CWRKORDDET view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Work Order Details for Object Page view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
AccessControl.personalData.blocking #REQUIRED view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Person I_ServicePerformerToSuplr Person Person/ Farm/ Field
KEY BusinessPartnerSupplier I_ServicePerformerToSuplr BusinessPartnerSupplier Supplier
KEY EndDate I_ServicePerformerToSuplr EndDate End Date
SupplierName I_Supplier SupplierName Supplier Name
StartDate I_ServicePerformerToSuplr StartDate Start Date
Supplier
RelationshipCategory I_ServicePerformerToSuplr RelationshipCategory Relationsh.Cat.
_ServicePerformer _ServicePerformer
_BusinessPartnerSupplier _BusinessPartnerSupplier

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 C_WrkOrdForOPg.
-- 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: CWRKORDDET

CREATE VIEW C_WrkOrdForOPg AS
SELECT
  supplier.Person AS Person,
  supplier.BusinessPartnerSupplier AS BusinessPartnerSupplier,
  supplier.EndDate AS EndDate,
  supplierdet.SupplierName AS SupplierName,
  supplier.StartDate AS StartDate,
  concat( '#Supplier-displayFactSheet?Supplier=', BusinessPartnerSupplier) AS Supplier,
  supplier.RelationshipCategory AS RelationshipCategory
FROM I_ServicePerformerToSuplr AS supplier
LEFT OUTER JOIN I_Supplier AS supplierdet ON /* join condition not captured in parsed metadata */
;