I_ChangeRecdRefInspPlanTP_2
Change Record Reference Object Inspection Plan
I_ChangeRecdRefInspPlanTP_2 is a Transactional CDS View that provides data about "Change Record Reference Object Inspection Plan" in SAP S/4HANA. It reads from 1 data source (I_ChgRecdRefInspectionPlanBsc) and exposes 19 fields with key field ChangeRecordReferenceUUID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChgRecdRefInspectionPlanBsc | reference_inp | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ChangeRecordDraftTP | _ChangeRecordTP | $projection.ChangeRecordUUID = _ChangeRecordTP.ChangeRecordUUID |
| [0..1] | E_ChgRecdRefInspectionPlanBsc | _InspectionPlanExtension | $projection.ChangeRecordReferenceUUID = _InspectionPlanExtension.ChangeRecordReferenceUUID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICHGRECREFINPTP2 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | Change Record Reference Object Inspection Plan | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChangeRecordReferenceUUID | I_ChgRecdRefInspectionPlanBsc | ChangeRecordReferenceUUID | |
| BOOInternalVersionCounter | ||||
| ChangeRecordUUID | I_ChgRecdRefInspectionPlanBsc | ChangeRecordUUID | ||
| ChangeRecord | I_ChgRecdRefInspectionPlanBsc | ChangeRecord | ||
| ChangeRecordReferenceType | I_ChgRecdRefInspectionPlanBsc | ChangeRecordReferenceType | ||
| ChangeRecordReferenceSubtype | I_ChgRecdRefInspectionPlanBsc | ChangeRecordReferenceSubtype | ||
| ChangeRecordRefObjectUUID | I_ChgRecdRefInspectionPlanBsc | ChangeRecordRefObjectUUID | ||
| ChangeRecordReference | I_ChgRecdRefInspectionPlanBsc | ChangeRecordReference | ||
| ParentChangeRecordRefUUID | I_ChgRecdRefInspectionPlanBsc | ParentChangeRecordRefUUID | ||
| IsMainReference | I_ChgRecdRefInspectionPlanBsc | IsMainReference | ||
| CreatedByUser | I_ChgRecdRefInspectionPlanBsc | CreatedByUser | ||
| CreationDateTime | I_ChgRecdRefInspectionPlanBsc | CreationDateTime | ||
| LastChangedByUser | I_ChgRecdRefInspectionPlanBsc | LastChangedByUser | ||
| LastChangeDateTime | I_ChgRecdRefInspectionPlanBsc | LastChangeDateTime | ||
| ChangeRecordItemRelevance | I_ChgRecdRefInspectionPlanBsc | ChangeRecordItemRelevance | ||
| ChangeRecordVirtualRefInd | I_ChgRecdRefInspectionPlanBsc | ChangeRecordVirtualRefInd | ||
| ChangeRecordItemProcgStatus | I_ChgRecdRefInspectionPlanBsc | ChangeRecordItemProcgStatus | ||
| _ChangeRecordTP | _ChangeRecordTP | |||
| _ChangeRecordAPITP | _ChangeRecordAPITP |
@AbapCatalog.sqlViewName: 'ICHGRECREFINPTP2'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.viewType: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.serviceQuality: #C
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.lifecycle.contract.type:#SAP_INTERNAL_API
@EndUserText.label: 'Change Record Reference Object Inspection Plan'
define view I_ChangeRecdRefInspPlanTP_2
as select from I_ChgRecdRefInspectionPlanBsc as reference_inp
left outer to one join I_BillOfOperations as InspectionPlan on reference_inp.ChgRecRefInternalKey1 = InspectionPlan.BillOfOperationsType
and reference_inp.ChgRecRefInternalKey2 = InspectionPlan.BillOfOperationsGroup
and reference_inp.ChgRecRefInternalKey3 = InspectionPlan.BillOfOperationsVariant
association to parent I_ChangeRecordTP_2 as _ChangeRecordAPITP on $projection.ChangeRecordUUID = _ChangeRecordAPITP.ChangeRecordUUID
association [1..1] to I_ChangeRecordDraftTP as _ChangeRecordTP on $projection.ChangeRecordUUID = _ChangeRecordTP.ChangeRecordUUID
association [0..1] to E_ChgRecdRefInspectionPlanBsc as _InspectionPlanExtension on $projection.ChangeRecordReferenceUUID = _InspectionPlanExtension.ChangeRecordReferenceUUID
{
key reference_inp.ChangeRecordReferenceUUID,
case
when InspectionPlan.BillOfOperationsType is null then cast(SUBSTRING( reference_inp.ChangeRecordReference, 1, 1) as plnty)
else cast(InspectionPlan.BillOfOperationsType as plnty)
end as BillOfOperationsType,
case
when InspectionPlan.BillOfOperationsGroup is null then cast(SUBSTRING( reference_inp.ChangeRecordReference, 2, 9) as plnnr)
else cast(InspectionPlan.BillOfOperationsGroup as plnnr)
end as InspectionPlanGroup,
case
when InspectionPlan.BillOfOperationsVariant is null then cast (SUBSTRING( reference_inp.ChangeRecordReference, 10, 2) as plnal)
else cast(InspectionPlan.BillOfOperationsVariant as plnal)
end as InspectionPlan,
// deprecated,should not be used
cast ('00000000' as cim_count ) as BOOInternalVersionCounter,
// deprecated, should not be used
//cast ('00000000' as plantext ) as BillOfOperationsDesc,
reference_inp.ChangeRecordUUID,
reference_inp.ChangeRecord,
reference_inp.ChangeRecordReferenceType,
reference_inp.ChangeRecordReferenceSubtype,
reference_inp.ChangeRecordRefObjectUUID,
reference_inp.ChangeRecordReference,
reference_inp.ParentChangeRecordRefUUID,
reference_inp.IsMainReference,
reference_inp.CreatedByUser,
reference_inp.CreationDateTime,
reference_inp.LastChangedByUser,
reference_inp.LastChangeDateTime,
reference_inp.ChangeRecordItemRelevance,
reference_inp.ChangeRecordVirtualRefInd,
reference_inp.ChangeRecordItemProcgStatus,
_ChangeRecordTP,
_ChangeRecordAPITP
}
where
InspectionPlan.BillOfOperationsType = 'Q' or
InspectionPlan.BillOfOperationsType is null
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BILLOFOPERATIONS",
"I_CHGRECDREFINSPECTIONPLANBSC"
],
"ASSOCIATED":
[
"E_CHGRECDREFINSPECTIONPLANBSC",
"I_CHANGERECORDDRAFTTP",
"I_CHANGERECORDTP_2"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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