C_IntlgntEquipRetRuleRsltRecd
Rule Result selection
C_IntlgntEquipRetRuleRsltRecd is a Consumption CDS View that provides data about "Rule Result selection" in SAP S/4HANA. It reads from 1 data source (I_IntlgntEquipRetRuleRsltRecd) and exposes 21 fields with key fields Material, FldLogsRemotePlant, FldLogsReferenceDocumentNumber, ReferenceDocumentItem, FldLogsMaintenanceOrder. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_IntlgntEquipRetRuleRsltRecd | I_IntlgntEquipRetRuleRsltRecd | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_IntlgntEquipRetPrpsdRsnActn | _PrpsdReason | $projection.FieldLogisticsProposedReason = _PrpsdReason.FieldLogisticsProposedReason |
| [0..1] | I_IntlgntEquipRetRuleNameDesc | _RuleDesc | $projection.FldLogsIntlgntEquipRetRuleName = _RuleDesc.FldLogsIntlgntEquipRetRuleName |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Rule Result selection | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | Vehicle Model | |
| KEY | FldLogsRemotePlant | FldLogsRemotePlant | Plant | |
| KEY | FldLogsReferenceDocumentNumber | FldLogsReferenceDocumentNumber | Reference Doc Number | |
| KEY | ReferenceDocumentItem | ReferenceDocumentItem | Reference item | |
| KEY | FldLogsMaintenanceOrder | FldLogsMaintenanceOrder | Order | |
| KEY | FldLogsIntlgntEquipRetRuleName | FldLogsIntlgntEquipRetRuleName | Symbol.Name | |
| KEY | RemoteStorageLocation | RemoteStorageLocation | Location | |
| FldLogsIntlgntEquipRetRuleText | _RuleDesc | FldLogsIntlgntEquipRetRuleText | ||
| FldLogsRuleExecutedDateTime | FldLogsRuleExecutedDateTime | Time Stamp | ||
| FldLogsChangeDateTime | FldLogsChangeDateTime | Changed On | ||
| FldLogsIntlgntEquipRetStatus | FldLogsIntlgntEquipRetStatus | Workflow Status | ||
| FldLogsRulesRecmddActnText | _PrpsdReason | FldLogsRulesRecmddActnText | ||
| DueDate | DueDate | Promised For | ||
| FldLogsIntlgntEquipRetDuInVal | ||||
| FldLogsIntlgntEquipVirtualDays | ||||
| FieldLogisticsProposedReason | FieldLogisticsProposedReason | Proposed Reason | ||
| FldLogisticsProposedReasonText | _PrpsdReason | FldLogisticsProposedReasonText | ||
| FldLogsProposedReturnQuantity | FldLogsProposedReturnQuantity | Value | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| _PrpsdReason | _PrpsdReason | |||
| _RuleDesc | _RuleDesc |
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 C_IntlgntEquipRetRuleRsltRecd.
-- 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 C_IntlgntEquipRetRuleRsltRecd AS
SELECT
Material,
FldLogsRemotePlant,
FldLogsReferenceDocumentNumber,
ReferenceDocumentItem,
FldLogsMaintenanceOrder,
FldLogsIntlgntEquipRetRuleName,
RemoteStorageLocation,
_RuleDesc.FldLogsIntlgntEquipRetRuleText AS FldLogsIntlgntEquipRetRuleText,
FldLogsRuleExecutedDateTime,
FldLogsChangeDateTime,
FldLogsIntlgntEquipRetStatus,
_PrpsdReason.FldLogsRulesRecmddActnText AS FldLogsRulesRecmddActnText,
DueDate,
cast(dats_days_between($session.system_date,DueDate) as abap.char( 15 ) ) AS FldLogsIntlgntEquipRetDuInVal,
cast( '' as abap.char(50)) AS FldLogsIntlgntEquipVirtualDays,
FieldLogisticsProposedReason,
_PrpsdReason.FldLogisticsProposedReasonText AS FldLogisticsProposedReasonText,
FldLogsProposedReturnQuantity,
BaseUnit
FROM I_IntlgntEquipRetRuleRsltRecd
LEFT OUTER JOIN I_IntlgntEquipRetPrpsdRsnActn AS _PrpsdReason ON FieldLogisticsProposedReason = _PrpsdReason.FieldLogisticsProposedReason -- association [1..1]
LEFT OUTER JOIN I_IntlgntEquipRetRuleNameDesc AS _RuleDesc ON FldLogsIntlgntEquipRetRuleName = _RuleDesc.FldLogsIntlgntEquipRetRuleName -- association [0..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