I_ACMRepositoryGrade
Base for Q Repository Grade
I_ACMRepositoryGrade is a Basic CDS View that provides data about "Base for Q Repository Grade" in SAP S/4HANA. It reads from 3 data sources (I_Relstartchar, /accgo/t_qr_ap_q, I_ACMCharcsData) and exposes 15 fields with key fields QuantityRepositoryUUID, QuantityRepositoryVersion, Characteristic.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_Relstartchar | Description | inner |
| /accgo/t_qr_ap_q | Grade | from |
| I_ACMCharcsData | Grade_char | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Base for Q Repository Grade | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | QuantityRepositoryUUID | /accgo/t_qr_ap_q | qrep_guid | QRep GUID |
| KEY | QuantityRepositoryVersion | /accgo/t_qr_ap_q | qrep_version | QRep Version |
| KEY | Characteristic | I_Relstartchar | CharacteristicDescription | Catalog Path Description |
| CharcValueDescription | I_Relstartchar | CharacteristicValueDescription | ||
| QtyRepositoryAttributeValue | /accgo/t_qr_ap_q | attribute_value | Rnd.Attr. Value | |
| AppDocQualityAttributeUnit | /accgo/t_qr_ap_q | attr_uom | Base unit | |
| NonNumericAttrib1Value | /accgo/t_qr_ap_q | attr_val | Grade Value | |
| DiscPremQtyGovAnalysisCode | /accgo/t_qr_ap_q | analysis_code | Governing Analysis | |
| DiscPremQtyOvrdGovAnalysisDesc | Code | DiscPremQtyOvrdGovAnalysisDesc | ||
| GovAnalysisSourceLoc | /accgo/t_qr_ap_q | source_grade | Origin/Destination | |
| GovAnalysisSourceLocText | Source | DomainText | Short Description | |
| ACMAnalysisType | /accgo/t_qr_ap_q | analysis_type | Risk Type | |
| ACMAnalysisTypeText | Type | ACMAnalysisTypeText | ||
| LDCEventKey | /accgo/t_qr_ap_q | uis_evnt_key | LDC Key | |
| CharcDecimals | I_ACMCharcsData | CharcDecimals | Decimal Places |
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_ACMRepositoryGrade.
-- 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_ACMRepositoryGrade AS
SELECT
Grade.qrep_guid AS QuantityRepositoryUUID,
Grade.qrep_version AS QuantityRepositoryVersion,
Description.CharacteristicDescription AS Characteristic,
Description.CharacteristicValueDescription AS CharcValueDescription,
Grade.attribute_value AS QtyRepositoryAttributeValue,
Grade.attr_uom AS AppDocQualityAttributeUnit,
Grade.attr_val AS NonNumericAttrib1Value,
Grade.analysis_code AS DiscPremQtyGovAnalysisCode,
Code.DiscPremQtyOvrdGovAnalysisDesc AS DiscPremQtyOvrdGovAnalysisDesc,
Grade.source_grade AS GovAnalysisSourceLoc,
Source.DomainText AS GovAnalysisSourceLocText,
Grade.analysis_type AS ACMAnalysisType,
Type.ACMAnalysisTypeText AS ACMAnalysisTypeText,
Grade.uis_evnt_key AS LDCEventKey,
Grade_char.CharcDecimals AS CharcDecimals
FROM /accgo/t_qr_ap_q AS Grade
INNER JOIN I_Relstartchar AS Description ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMCharcsData AS Grade_char ON /* join condition not captured in parsed metadata */
;
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