I_OrglChgFxdAstUploadPreview

DDL: I_ORGLCHGFXDASTUPLOADPREVIEW Type: view_entity BASIC Package: ODATA_ORGL_CHANGE_IMPORT

Uploaded Fixed Assets

I_OrglChgFxdAstUploadPreview is a Basic CDS View that provides data about "Uploaded Fixed Assets" in SAP S/4HANA. It reads from 1 data source (finoc_imp_fa) and exposes 25 fields with key fields OrganizationalChange, UploadedByUser, FileLineNumber, OrganizationalChangeUUID. It has 8 associations to related views. Part of development package ODATA_ORGL_CHANGE_IMPORT.

Data Sources (1)

SourceAliasJoin Type
finoc_imp_fa finoc_imp_fa from

Associations (8)

CardinalityTargetAliasCondition
[0..1] I_OrganizationalChange _OrganizationalChange $projection.OrganizationalChange = _OrganizationalChange.OrganizationalChange
[0..1] I_MasterFixedAsset _MasterFixedAsset $projection.CompanyCode = _MasterFixedAsset.CompanyCode and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset
[1..1] I_FixedAsset _FixedAsset $projection.CompanyCode = _FixedAsset.CompanyCode and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset and $projection.FixedAsset = _FixedAsset.FixedAsset
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[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'
[1..*] I_OrglChangeMessageTypeText _OrglChangeMessageTypeText $projection.OrglChangeMessageType = _OrglChangeMessageTypeText.OrglChangeMessageType

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Uploaded Fixed Assets view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY OrganizationalChange orgl_change Organizational Change
KEY UploadedByUser imported_by User Name
KEY FileLineNumber file_row_number Row No. in File
KEY OrganizationalChangeUUID draftuuid UUID
CompanyCode bukrs Value
MasterFixedAsset anln1 Asset
FixedAsset anln2 Sub-number
ControllingArea kokrs Org. Value
ProfitCenter prctr Profit Centers
ProfitCenterByOrglChange prctr_new New Profit Center
OrglChangeMessageType msg_type Message Type
SystemMessageClass msg_id MESSAGE-ID from PROGRAM statement
SystemMessageNumber msg_number Message Number
SystemMessageVariable1 msg_v1 Message var.
SystemMessageVariable2 msg_v2 Message var.
SystemMessageVariable3 msg_v3 Message var.
SystemMessageVariable4 msg_v4 Message var.
_OrganizationalChange _OrganizationalChange
_MasterFixedAsset _MasterFixedAsset
_FixedAsset _FixedAsset
_CompanyCode _CompanyCode
_ControllingArea _ControllingArea
_ProfitCenterBfrOrglChangeText _ProfitCenterBfrOrglChangeText
_ProfitCenterByOrglChangeText _ProfitCenterByOrglChangeText
_OrglChangeMessageTypeText _OrglChangeMessageTypeText

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_OrglChgFxdAstUploadPreview.
-- 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_OrglChgFxdAstUploadPreview AS
SELECT
  orgl_change AS OrganizationalChange,
  imported_by AS UploadedByUser,
  file_row_number AS FileLineNumber,
  draftuuid AS OrganizationalChangeUUID,
  bukrs AS CompanyCode,
  anln1 AS MasterFixedAsset,
  anln2 AS FixedAsset,
  kokrs AS ControllingArea,
  prctr AS ProfitCenter,
  prctr_new AS ProfitCenterByOrglChange,
  msg_type AS OrglChangeMessageType,
  msg_id AS SystemMessageClass,
  msg_number AS SystemMessageNumber,
  msg_v1 AS SystemMessageVariable1,
  msg_v2 AS SystemMessageVariable2,
  msg_v3 AS SystemMessageVariable3,
  msg_v4 AS SystemMessageVariable4
FROM finoc_imp_fa
LEFT OUTER JOIN I_OrganizationalChange AS _OrganizationalChange ON OrganizationalChange = _OrganizationalChange.OrganizationalChange  -- association [0..1]
LEFT OUTER JOIN I_MasterFixedAsset AS _MasterFixedAsset ON CompanyCode = _MasterFixedAsset.CompanyCode AND MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset  -- association [0..1]
LEFT OUTER JOIN I_FixedAsset AS _FixedAsset ON CompanyCode = _FixedAsset.CompanyCode AND MasterFixedAsset = _FixedAsset.MasterFixedAsset AND FixedAsset = _FixedAsset.FixedAsset  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [1..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_OrglChangeMessageTypeText AS _OrglChangeMessageTypeText ON OrglChangeMessageType = _OrglChangeMessageTypeText.OrglChangeMessageType  -- association [1..*]
;