I_ChangeRecordBsc
Change Record
I_ChangeRecordBsc is a Basic CDS View that provides data about "Change Record" in SAP S/4HANA. It reads from 1 data source (/iam/d_i_root) and exposes 39 fields with key field ChangeRecordUUID. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /iam/d_i_root | Header | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ChangeRecordText | _Text | $projection.ChangeRecordUUID = _Text.ChangeRecordUUID |
| [0..1] | I_LogAccMObjectTypeActive | _LogAccMObjectTypeActive | _LogAccMObjectTypeActive.LogAccMObjectType = 'PLM_CR' |
| [0..*] | I_LogAccMObjSecureIDAssgmt | _LogAccMObjSecureIDAssgmt | $projection.ChangeRecord = _LogAccMObjSecureIDAssgmt.LogAccMObjectID and _LogAccMObjSecureIDAssgmt.LogAccMObjectType = 'PLM_CR' |
| [0..*] | I_LogAccMObjectUserAuthzn | _LogAccMObjectUserAuthzn | $projection.ChangeRecord = _LogAccMObjectUserAuthzn.LogAccMObjectID and _LogAccMObjectUserAuthzn.LogAccMObjectType = 'PLM_CR' and _LogAccMObjectUserAuthzn.LogAccMUserAuthznObject = 'PLM_CR' and _LogAccMObjectUserAuthzn.LogAccMReadActivityIsEnabled = 'X' and _LogAccMObjectUserAuthzn.LogAccMUserAuthznField = 'ACTVT' and _LogAccMObjectUserAuthzn.LogAccMUserEntityID = $session.user |
| [0..1] | I_CalendarDate | _Calendar | _Calendar.CalendarDate = $session.system_date |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
| [0..*] | I_ChgRecdPrioDescTxt | _PriorityText | $projection.ChangeRecordPriority = _PriorityText.ChangeRecordPriority ---->SAP Note 3540685 |
| [0..*] | I_ChgRecdRsnForChgText | _RsnForChgText | $projection.ChgRecdHdrRsnForChgCode = _RsnForChgText.ChgRecdHdrRsnForChgCode ---->SAP Note 3540685 |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | ICHGRECDBSC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Change Record | view | |
| ObjectModel.compositionRoot | true | view |
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChangeRecordUUID | /iam/d_i_root | db_key | UUID |
| ChangeRecord | ||||
| ChangeRecordType | ||||
| ParentChangeRecordUUID | /iam/d_i_root | par_issue_uuid | NodeID | |
| RootChangeRecordUUID | /iam/d_i_root | root_issue_uuid | NodeID | |
| ChangeRecordPriority | /iam/d_i_root | priority | Workflow priority | |
| ChangeRecordStatus | ||||
| ChangeNumber | /iam/d_i_root | change_no | Change Number | |
| ChangeRecordCategory | /iam/d_i_root | issue_category | Issue Cat. | |
| ChgRecordApplication | /iam/d_i_root | application | UI Application | |
| CreatedByUser | /iam/d_i_root | created_by | Version Created By | |
| CreationDateTime | ||||
| LastChangedByUser | /iam/d_i_root | changed_by | User Name | |
| LastChangeDateTime | ||||
| ChangeRecordLifecycleStatus | /iam/d_i_root | lcycle_cd | Issue Lifecycle | |
| ChgRecdDigitalSignatureStatus | /iam/d_i_root | digsign_cd | Digit.Sign. | |
| Partner | ||||
| ChgRecordDescriptionText | ||||
| ChgRecdAuthGroup | /iam/d_i_root | auth_group | AuthorizGroup | |
| ChgRecdReasonForChange | ||||
| chgstatusasChgRecdChangeStatus | ||||
| ChgRecdExpectedCompletionDate | crhdrext | expected_comp_dat | Exp Completion Date | |
| ChgRecdPrflIdn | crhdrext | profile | WBS sched. prof | |
| ChangeRecordDetailDescription | crhdrext | rich_text | Detailed Description | |
| ChgRecdHdrExtnUUID | crhdrext | db_key | UUID | |
| ChgRecdEngEffectiveDate | crhdrext | eng_effective_date | Eng Effective Date | |
| ChgRecdMfgEffectiveDate | crhdrext | mfg_effective_date | Mfg Effective Date | |
| ChgRecdInitiatedStatusAction | crhdrext | digsign_user_act | Pndg Status Chg | |
| ChangeRecordItemEditMode | crhdrext | item_change_allowed | Item Edit Mode | |
| ChgRecdHdrRsnForChgCode | crhdrext | cr_change_reason | ||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| LogAccMSecureID | _LogAccMObjSecureIDAssgmt | LogAccMSecureID | ||
| LogAccMSecureIDOwnerID | ||||
| ChangeRecordPriorityDesc | ||||
| SAPNote3540685_LogAccMObjectTypeActive | ||||
| _LogAccMObjSecureIDAssgmt | _LogAccMObjSecureIDAssgmt | |||
| _LogAccMObjectUserAuthzn | _LogAccMObjectUserAuthzn | |||
| _Text | _Text |
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_ChangeRecordBsc.
-- 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: ICHGRECDBSC
CREATE VIEW I_ChangeRecordBsc AS
SELECT
Header.db_key AS ChangeRecordUUID,
cast(Header.issue_id as /plmb/cr_id preserving type) AS ChangeRecord,
cast(Header.issue_type as /plmb/cr_type preserving type) AS ChangeRecordType,
Header.par_issue_uuid AS ParentChangeRecordUUID,
Header.root_issue_uuid AS RootChangeRecordUUID,
Header.priority AS ChangeRecordPriority,
cast(Header.user_status_01 as /plmb/cr_hdr_status preserving type) AS ChangeRecordStatus,
Header.change_no AS ChangeNumber,
Header.issue_category AS ChangeRecordCategory,
Header.application AS ChgRecordApplication,
Header.created_by AS CreatedByUser,
cast( Header.created_on as tzntstmps ) AS CreationDateTime,
Header.changed_by AS LastChangedByUser,
cast( Header.changed_on as tzntstmps ) AS LastChangeDateTime,
Header.lcycle_cd AS ChangeRecordLifecycleStatus,
Header.digsign_cd AS ChgRecdDigitalSignatureStatus,
cast(ChangeResponsible.partner_id as /plmb/cr_chg_responsible preserving type) AS Partner,
_Text[1:Language = $session.system_language].ChgRecordDescriptionText AS ChgRecordDescriptionText,
Header.auth_group AS ChgRecdAuthGroup,
cast(crhdrext.reasonforchange as /plmi/cr_chg_no_rsn ) AS ChgRecdReasonForChange,
crhdrext.expected_comp_dat AS ChgRecdExpectedCompletionDate,
crhdrext.profile AS ChgRecdPrflIdn,
crhdrext.rich_text AS ChangeRecordDetailDescription,
crhdrext.db_key AS ChgRecdHdrExtnUUID,
crhdrext.eng_effective_date AS ChgRecdEngEffectiveDate,
crhdrext.mfg_effective_date AS ChgRecdMfgEffectiveDate,
crhdrext.digsign_user_act AS ChgRecdInitiatedStatusAction,
crhdrext.item_change_allowed AS ChangeRecordItemEditMode,
crhdrext.cr_change_reason AS ChgRecdHdrRsnForChgCode,
_LogAccMObjSecureIDAssgmt.LogAccMSecureID AS LogAccMSecureID,
_LogAccMObjSecureIDAssgmt._LogAccMSecureIDRepository.LogAccMSecureIDOwnerID AS LogAccMSecureIDOwnerID,
_PriorityText[1:Language = $session.system_language].ChangeRecordPriorityDesc AS ChangeRecordPriorityDesc
FROM /iam/d_i_root AS Header
LEFT OUTER JOIN I_ChangeRecordText AS _Text ON ChangeRecordUUID = _Text.ChangeRecordUUID -- association [0..*]
LEFT OUTER JOIN I_LogAccMObjectTypeActive AS _LogAccMObjectTypeActive ON _LogAccMObjectTypeActive.LogAccMObjectType = 'PLM_CR' -- association [0..1]
LEFT OUTER JOIN I_LogAccMObjSecureIDAssgmt AS _LogAccMObjSecureIDAssgmt ON ChangeRecord = _LogAccMObjSecureIDAssgmt.LogAccMObjectID AND _LogAccMObjSecureIDAssgmt.LogAccMObjectType = 'PLM_CR' -- association [0..*]
LEFT OUTER JOIN I_LogAccMObjectUserAuthzn AS _LogAccMObjectUserAuthzn ON ChangeRecord = _LogAccMObjectUserAuthzn.LogAccMObjectID AND _LogAccMObjectUserAuthzn.LogAccMObjectType = 'PLM_CR' AND _LogAccMObjectUserAuthzn.LogAccMUserAuthznObject = 'PLM_CR' AND _LogAccMObjectUserAuthzn.LogAccMReadActivityIsEnabled = 'X' AND _LogAccMObjectUserAuthzn.LogAccMUserAuthznField = 'ACTVT' AND _LogAccMObjectUserAuthzn.LogAccMUserEntityID = $session.user -- association [0..*]
LEFT OUTER JOIN I_CalendarDate AS _Calendar ON _Calendar.CalendarDate = $session.system_date -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_ChgRecdPrioDescTxt AS _PriorityText ON ChangeRecordPriority = _PriorityText.ChangeRecordPriority -- association [0..*]
LEFT OUTER JOIN I_ChgRecdRsnForChgText AS _RsnForChgText ON ChgRecdHdrRsnForChgCode = _RsnForChgText.ChgRecdHdrRsnForChgCode -- association [0..*]
;
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