I_ServiceOrderPeriodCode

DDL: I_SERVICEORDERPERIODCODE Type: view BASIC

Service Order Period Code

I_ServiceOrderPeriodCode is a Basic CDS View that provides data about "Service Order Period Code" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field ServiceOrderPeriodCode. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (2)

CardinalityTargetAliasCondition
[1..*] I_ServiceOrderPeriodCodeText _ServiceOrderPeriodCodeText $projection.ServiceOrderPeriodCode = _ServiceOrderPeriodCodeText.ServiceOrderPeriodCode
[1..1] P_CALENDARENDWEEK _CalendarDate _CalendarDate.CalendarDate = $session.system_date

Annotations (11)

NameValueLevelField
EndUserText.label Service Order Period Code view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ISRVCORDPRD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
Metadata.ignorePropagatedAnnotations true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrderPeriodCode valpos Value key
_ServiceOrderPeriodCodeText _ServiceOrderPeriodCodeText

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 I_ServiceOrderPeriodCode.
-- 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.

CREATE VIEW I_ServiceOrderPeriodCode AS
SELECT
  valpos AS ServiceOrderPeriodCode
FROM dd07l
LEFT OUTER JOIN I_ServiceOrderPeriodCodeText AS _ServiceOrderPeriodCodeText ON ServiceOrderPeriodCode = _ServiceOrderPeriodCodeText.ServiceOrderPeriodCode  -- association [1..*]
LEFT OUTER JOIN P_CALENDARENDWEEK AS _CalendarDate ON _CalendarDate.CalendarDate = $session.system_date  -- association [1..1]
;