I_OrglChgProjectUploadPreview
Uploaded Projects
I_OrglChgProjectUploadPreview is a Basic CDS View that provides data about "Uploaded Projects" in SAP S/4HANA. It reads from 1 data source (finoc_imp_pro) and exposes 22 fields with key fields OrganizationalChange, UploadedByUser, FileLineNumber, OrganizationalChangeUUID. It has 6 associations to related views. Part of development package ODATA_ORGL_CHANGE_IMPORT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| finoc_imp_pro | finoc_imp_pro | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_OrganizationalChange | _OrganizationalChange | $projection.OrganizationalChange = _OrganizationalChange.OrganizationalChange |
| [1..1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [1] | I_ProjectBasicData | _ProjectBasicData | $projection.ProjectInternalID = _ProjectBasicData.ProjectInternalID |
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Uploaded Projects | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 | |
| ProjectInternalID | Project def. | |||
| ProjectExternalID | Project def. | |||
| 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 | |||
| _ControllingArea | _ControllingArea | |||
| _ProfitCenterBfrOrglChangeText | _ProfitCenterBfrOrglChangeText | |||
| _ProfitCenterByOrglChangeText | _ProfitCenterByOrglChangeText | |||
| _OrglChangeMessageTypeText | _OrglChangeMessageTypeText | |||
| _ProjectBasicData | _ProjectBasicData |
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_OrglChgProjectUploadPreview.
-- 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_OrglChgProjectUploadPreview AS
SELECT
orgl_change AS OrganizationalChange,
imported_by AS UploadedByUser,
file_row_number AS FileLineNumber,
draftuuid AS OrganizationalChangeUUID,
cast (ps_prj_pnr as fis_projectint_no_conv preserving type) AS ProjectInternalID,
cast (ps_pspid as fis_projectext_no_conv preserving type) AS ProjectExternalID,
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_pro
LEFT OUTER JOIN I_OrganizationalChange AS _OrganizationalChange ON OrganizationalChange = _OrganizationalChange.OrganizationalChange -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea -- association [1..1]
LEFT OUTER JOIN I_ProjectBasicData AS _ProjectBasicData ON ProjectInternalID = _ProjectBasicData.ProjectInternalID -- 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_OrglChangeMessageTypeText AS _OrglChangeMessageTypeText ON OrglChangeMessageType = _OrglChangeMessageTypeText.OrglChangeMessageType -- association [1..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA