P_WorkCenterActivity2

DDL: P_WORKCENTERACTIVITY2 SQL: PWRKCNTRACT2 Type: view COMPOSITE

P_WorkCenterActivity2 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_WorkCenterActivity1) and exposes 83 fields with key fields WorkCenterInternalID, WorkCenterTypeCode.

Data Sources (1)

SourceAliasJoin Type
P_WorkCenterActivity1 wrkctract from

Annotations (7)

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

Fields (83)

KeyFieldSource TableSource FieldDescription
KEY WorkCenterInternalID WorkCenterInternalID Work Center
KEY WorkCenterTypeCode WorkCenterTypeCode Object Type
WorkCenterCategoryCode WorkCenterCategoryCode
WorkCenter WorkCenter Work Center
Plant Plant Valuation Area
StandardWorkFormulaParamGroup StandardWorkFormulaParamGroup
StandardWorkFormulaParam1 StandardWorkFormulaParam1
Param1Language tc20t1 Language Report Text Language
ParamName1 tc20t1 StandardWorkFormulaParamName
StandardWorkFormulaParam2 StandardWorkFormulaParam2
Param2Language tc20t2 Language Report Text Language
ParamName2 tc20t2 StandardWorkFormulaParamName
StandardWorkFormulaParam3 StandardWorkFormulaParam3
Param3Language tc20t3 Language Report Text Language
ParamName3 tc20t3 StandardWorkFormulaParamName
StandardWorkFormulaParam4 StandardWorkFormulaParam4
Param4Language tc20t4 Language Report Text Language
ParamName4 tc20t4 StandardWorkFormulaParamName
StandardWorkFormulaParam5 StandardWorkFormulaParam5
Param5Language tc20t5 Language Report Text Language
ParamName5 tc20t5 StandardWorkFormulaParamName
StandardWorkFormulaParam6 StandardWorkFormulaParam6
Param6Language tc20t6 Language Report Text Language
ParamName6 tc20t6 StandardWorkFormulaParamName
CostCenterAllocation1 CostCenterAllocation1
ControllingArea1 ControllingArea1 Controlling Area
CostCtrActivityType1 CostCtrActivityType1 Activity Type
CostCtrActivityTypeName1 acttypetxt1 CostCtrActivityTypeName
ActivityDescOriginType1 ActivityDescOriginType1
CostCenterActivityAltvDescID1 CostCenterActivityAltvDescID1
ValidityStartDate1 ValidityStartDate1 Validity Start Date
ValidityEndDate1 ValidityEndDate1 ValidTo
CostCenterActivityAltvDesc1 actalttxt1 CostCenterActivityAltvDesc
CostCenterAllocation2 CostCenterAllocation2
ControllingArea2 ControllingArea2 Controlling Area
CostCtrActivityType2 CostCtrActivityType2 Activity Type
CostCtrActivityTypeName2 acttypetxt2 CostCtrActivityTypeName
ActivityDescOriginType2 ActivityDescOriginType2
CostCenterActivityAltvDescID2 CostCenterActivityAltvDescID2
ValidityStartDate2 ValidityStartDate2 Validity Start Date
ValidityEndDate2 ValidityEndDate2 ValidTo
CostCenterActivityAltvDesc2 actalttxt2 CostCenterActivityAltvDesc
CostCenterAllocation3 CostCenterAllocation3
ControllingArea3 ControllingArea3 Controlling Area
CostCtrActivityType3 CostCtrActivityType3 Activity Type
CostCtrActivityTypeName3 acttypetxt3 CostCtrActivityTypeName
ActivityDescOriginType3 ActivityDescOriginType3
CostCenterActivityAltvDescID3 CostCenterActivityAltvDescID3
ValidityStartDate3 ValidityStartDate3 Validity Start Date
ValidityEndDate3 ValidityEndDate3 ValidTo
CostCenterActivityAltvDesc3 actalttxt3 CostCenterActivityAltvDesc
CostCenterAllocation4 CostCenterAllocation4
ControllingArea4 ControllingArea4 Controlling Area
CostCtrActivityType4 CostCtrActivityType4 Activity Type
CostCtrActivityTypeName4 acttypetxt4 CostCtrActivityTypeName
ActivityDescOriginType4 ActivityDescOriginType4
CostCenterActivityAltvDescID4 CostCenterActivityAltvDescID4
ValidityStartDate4 ValidityStartDate4 Validity Start Date
ValidityEndDate4 ValidityEndDate4 ValidTo
CostCenterActivityAltvDesc4 actalttxt4 CostCenterActivityAltvDesc
CostCenterAllocation5 CostCenterAllocation5
ControllingArea5 ControllingArea5 Controlling Area
CostCtrActivityType5 CostCtrActivityType5 Activity Type
CostCtrActivityTypeName5 acttypetxt5 CostCtrActivityTypeName
ActivityDescOriginType5 ActivityDescOriginType5
CostCenterActivityAltvDescID5 CostCenterActivityAltvDescID5
ValidityStartDate5 ValidityStartDate5 Validity Start Date
ValidityEndDate5 ValidityEndDate5 ValidTo
CostCenterActivityAltvDesc5 actalttxt5 CostCenterActivityAltvDesc
CostCenterAllocation6 CostCenterAllocation6
ControllingArea6 ControllingArea6 Controlling Area
CostCtrActivityType6 CostCtrActivityType6 Activity Type
CostCtrActivityTypeName6 acttypetxt6 CostCtrActivityTypeName
ActivityDescOriginType6 ActivityDescOriginType6
CostCenterActivityAltvDescID6 CostCenterActivityAltvDescID6
ValidityStartDate6 ValidityStartDate6 Validity Start Date
ValidityEndDate6 ValidityEndDate6 ValidTo
CostCenterActivityAltvDesc6 actalttxt6 CostCenterActivityAltvDesc
_WorkCenter _WorkCenter
_WorkCenterType _WorkCenterType
_WorkCenterCategory _WorkCenterCategory
_Plant _Plant
_StandardWorkFmlaParamGroup _StandardWorkFmlaParamGroup

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_WorkCenterActivity2.
-- 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: PWRKCNTRACT2

CREATE VIEW P_WorkCenterActivity2 AS
SELECT
  WorkCenterInternalID,
  WorkCenterTypeCode,
  WorkCenterCategoryCode,
  WorkCenter,
  Plant,
  StandardWorkFormulaParamGroup,
  StandardWorkFormulaParam1,
  tc20t1.Language AS Param1Language,
  tc20t1.StandardWorkFormulaParamName AS ParamName1,
  StandardWorkFormulaParam2,
  tc20t2.Language AS Param2Language,
  tc20t2.StandardWorkFormulaParamName AS ParamName2,
  StandardWorkFormulaParam3,
  tc20t3.Language AS Param3Language,
  tc20t3.StandardWorkFormulaParamName AS ParamName3,
  StandardWorkFormulaParam4,
  tc20t4.Language AS Param4Language,
  tc20t4.StandardWorkFormulaParamName AS ParamName4,
  StandardWorkFormulaParam5,
  tc20t5.Language AS Param5Language,
  tc20t5.StandardWorkFormulaParamName AS ParamName5,
  StandardWorkFormulaParam6,
  tc20t6.Language AS Param6Language,
  tc20t6.StandardWorkFormulaParamName AS ParamName6,
  CostCenterAllocation1,
  ControllingArea1,
  CostCtrActivityType1,
  acttypetxt1.CostCtrActivityTypeName AS CostCtrActivityTypeName1,
  ActivityDescOriginType1,
  CostCenterActivityAltvDescID1,
  ValidityStartDate1,
  ValidityEndDate1,
  actalttxt1.CostCenterActivityAltvDesc AS CostCenterActivityAltvDesc1,
  CostCenterAllocation2,
  ControllingArea2,
  CostCtrActivityType2,
  acttypetxt2.CostCtrActivityTypeName AS CostCtrActivityTypeName2,
  ActivityDescOriginType2,
  CostCenterActivityAltvDescID2,
  ValidityStartDate2,
  ValidityEndDate2,
  actalttxt2.CostCenterActivityAltvDesc AS CostCenterActivityAltvDesc2,
  CostCenterAllocation3,
  ControllingArea3,
  CostCtrActivityType3,
  acttypetxt3.CostCtrActivityTypeName AS CostCtrActivityTypeName3,
  ActivityDescOriginType3,
  CostCenterActivityAltvDescID3,
  ValidityStartDate3,
  ValidityEndDate3,
  actalttxt3.CostCenterActivityAltvDesc AS CostCenterActivityAltvDesc3,
  CostCenterAllocation4,
  ControllingArea4,
  CostCtrActivityType4,
  acttypetxt4.CostCtrActivityTypeName AS CostCtrActivityTypeName4,
  ActivityDescOriginType4,
  CostCenterActivityAltvDescID4,
  ValidityStartDate4,
  ValidityEndDate4,
  actalttxt4.CostCenterActivityAltvDesc AS CostCenterActivityAltvDesc4,
  CostCenterAllocation5,
  ControllingArea5,
  CostCtrActivityType5,
  acttypetxt5.CostCtrActivityTypeName AS CostCtrActivityTypeName5,
  ActivityDescOriginType5,
  CostCenterActivityAltvDescID5,
  ValidityStartDate5,
  ValidityEndDate5,
  actalttxt5.CostCenterActivityAltvDesc AS CostCenterActivityAltvDesc5,
  CostCenterAllocation6,
  ControllingArea6,
  CostCtrActivityType6,
  acttypetxt6.CostCtrActivityTypeName AS CostCtrActivityTypeName6,
  ActivityDescOriginType6,
  CostCenterActivityAltvDescID6,
  ValidityStartDate6,
  ValidityEndDate6,
  actalttxt6.CostCenterActivityAltvDesc AS CostCenterActivityAltvDesc6
FROM P_WorkCenterActivity1 AS wrkctract
;