I_OrglChangeServiceDocItem

DDL: I_ORGLCHANGESERVICEDOCITEM Type: view_entity BASIC

ServiceDocItem in an Orgl Change

I_OrglChangeServiceDocItem is a Basic CDS View that provides data about "ServiceDocItem in an Orgl Change" in SAP S/4HANA. It reads from 1 data source (finoc_orglchgsrv) and exposes 18 fields with key fields OrganizationalChange, ServiceDocumentType, ServiceDocument, ServiceDocumentItem. It has 9 associations to related views.

Data Sources (1)

SourceAliasJoin Type
finoc_orglchgsrv finoc_orglchgsrv from

Associations (9)

CardinalityTargetAliasCondition
[1] I_OrganizationalChange _OrglChange $projection.OrganizationalChange = _OrglChange.OrganizationalChange
[0..1] I_ServiceDocumentType _ServiceDocumentType $projection.ServiceDocumentType = _ServiceDocumentType.ServiceDocumentType
[0..*] I_ServiceDocument _ServiceDocument $projection.ServiceDocumentItem = _ServiceDocument.ServiceDocument and $projection.ServiceDocumentType = _ServiceDocument.ServiceDocumentType
[0..*] I_ServiceDocumentItem _ServiceDocumentItem $projection.ServiceDocument = _ServiceDocumentItem.ServiceDocument and $projection.ServiceDocumentType = _ServiceDocumentItem.ServiceDocumentType and $projection.ServiceDocumentItem = _ServiceDocumentItem.ServiceDocumentItem
[1..*] I_ProfitCenter _ProfitCtr $projection.ControllingArea = _ProfitCtr.ControllingArea and $projection.ProfitCenter = _ProfitCtr.ProfitCenter
[1..*] I_ProfitCenter _ProfitCtrNew $projection.ControllingArea = _ProfitCtrNew.ControllingArea and $projection.ProfitCenterByOrglChange = _ProfitCtrNew.ProfitCenter
[0..*] I_ProfitCenterText _ProfitCenterBfrOrglChangeText $projection.ControllingArea = _ProfitCenterBfrOrglChangeText.ControllingArea and $projection.ProfitCenter = _ProfitCenterBfrOrglChangeText.ProfitCenter and _ProfitCenterBfrOrglChangeText.ValidityEndDate = '99991231'
[0..*] I_ProfitCenterText _ProfitCenterByOrglChangeText $projection.ControllingArea = _ProfitCenterByOrglChangeText.ControllingArea and $projection.ProfitCenterByOrglChange = _ProfitCenterByOrglChangeText.ProfitCenter and _ProfitCenterByOrglChangeText.ValidityEndDate = '99991231'
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label ServiceDocItem in an Orgl Change view
VDM.viewType #BASIC view
ObjectModel.representativeKey ServiceDocumentItem view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
Analytics.internalName #LOCAL view
Analytics.technicalName IFINOCORGLCHGSRV view
Metadata.allowExtensions true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY OrganizationalChange orgl_change Organizational Change
KEY ServiceDocumentType service_doc_type Transaction Type
KEY ServiceDocument service_doc_id Transaction ID
KEY ServiceDocumentItem service_doc_item_id Service Doc. Item
ControllingArea kokrs Org. Value
ProfitCenter prctr Profit Centers
ProfitCenterByOrglChange prctr_new New Profit Center
LastChangeDateTime last_changed_on Time Stamp
LastChangedByUser last_changed_by Username
_OrglChange _OrglChange
_ServiceDocumentType _ServiceDocumentType
_ServiceDocument _ServiceDocument
_ServiceDocumentItem _ServiceDocumentItem
_ProfitCtr _ProfitCtr
_ProfitCtrNew _ProfitCtrNew
_ProfitCenterBfrOrglChangeText _ProfitCenterBfrOrglChangeText
_ProfitCenterByOrglChangeText _ProfitCenterByOrglChangeText
_ControllingArea _ControllingArea

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_OrglChangeServiceDocItem.
-- 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_OrglChangeServiceDocItem AS
SELECT
  orgl_change AS OrganizationalChange,
  service_doc_type AS ServiceDocumentType,
  service_doc_id AS ServiceDocument,
  service_doc_item_id AS ServiceDocumentItem,
  kokrs AS ControllingArea,
  prctr AS ProfitCenter,
  prctr_new AS ProfitCenterByOrglChange,
  last_changed_on AS LastChangeDateTime,
  last_changed_by AS LastChangedByUser
FROM finoc_orglchgsrv
LEFT OUTER JOIN I_OrganizationalChange AS _OrglChange ON OrganizationalChange = _OrglChange.OrganizationalChange  -- association [1]
LEFT OUTER JOIN I_ServiceDocumentType AS _ServiceDocumentType ON ServiceDocumentType = _ServiceDocumentType.ServiceDocumentType  -- association [0..1]
LEFT OUTER JOIN I_ServiceDocument AS _ServiceDocument ON ServiceDocumentItem = _ServiceDocument.ServiceDocument AND ServiceDocumentType = _ServiceDocument.ServiceDocumentType  -- association [0..*]
LEFT OUTER JOIN I_ServiceDocumentItem AS _ServiceDocumentItem ON ServiceDocument = _ServiceDocumentItem.ServiceDocument AND ServiceDocumentType = _ServiceDocumentItem.ServiceDocumentType AND ServiceDocumentItem = _ServiceDocumentItem.ServiceDocumentItem  -- association [0..*]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCtr ON ControllingArea = _ProfitCtr.ControllingArea AND ProfitCenter = _ProfitCtr.ProfitCenter  -- association [1..*]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCtrNew ON ControllingArea = _ProfitCtrNew.ControllingArea AND ProfitCenterByOrglChange = _ProfitCtrNew.ProfitCenter  -- association [1..*]
LEFT OUTER JOIN I_ProfitCenterText AS _ProfitCenterBfrOrglChangeText ON ControllingArea = _ProfitCenterBfrOrglChangeText.ControllingArea AND ProfitCenter = _ProfitCenterBfrOrglChangeText.ProfitCenter AND _ProfitCenterBfrOrglChangeText.ValidityEndDate = '99991231'  -- association [0..*]
LEFT OUTER JOIN I_ProfitCenterText AS _ProfitCenterByOrglChangeText ON ControllingArea = _ProfitCenterByOrglChangeText.ControllingArea AND ProfitCenterByOrglChange = _ProfitCenterByOrglChangeText.ProfitCenter AND _ProfitCenterByOrglChangeText.ValidityEndDate = '99991231'  -- association [0..*]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
;