P_RepositoryGradeType

DDL: P_REPOSITORYGRADETYPE SQL: PREPGRADETYPE Type: view COMPOSITE

P_RepositoryGradeType is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_Relstartchar, I_ACMCharcsData) and exposes 12 fields with key fields QtyRepositoryAttribute, ArchivingObject.

Data Sources (2)

SourceAliasJoin Type
I_Relstartchar Attribute from
I_ACMCharcsData AttributeType left_outer

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PREPGRADETYPE view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY QtyRepositoryAttribute CharacteristicInternalID Internal char.
KEY ArchivingObject I_Relstartchar ArchivingObject Arch. Object
CharacteristicDescription CharacteristicDescription Catalog Path Description
DatabaseTable DatabaseTable Table Name
DatabaseTableFieldName DatabaseTableFieldName Field Name
ValidFrom ValidFrom Vers.Valid From
ValueAssignmentType RelStrgyCharcValAssignmentType Single-value
CreatedByUser CreatedByUser User Name
LastChangedByUser LastChangedByUser User Name
OriginalStatusText OriginalStatusText Status
CharacteristicValueDescription CharacteristicValueDescription
QtyRepositoryAttributeType I_ACMCharcsData CharcDataType Format

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 P_RepositoryGradeType.
-- 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: PREPGRADETYPE

CREATE VIEW P_RepositoryGradeType AS
SELECT
  CharacteristicInternalID AS QtyRepositoryAttribute,
  Attribute.ArchivingObject AS ArchivingObject,
  CharacteristicDescription,
  DatabaseTable,
  DatabaseTableFieldName,
  ValidFrom,
  RelStrgyCharcValAssignmentType AS ValueAssignmentType,
  CreatedByUser,
  LastChangedByUser,
  OriginalStatusText,
  CharacteristicValueDescription,
  AttributeType.CharcDataType AS QtyRepositoryAttributeType
FROM I_Relstartchar AS Attribute
LEFT OUTER JOIN I_ACMCharcsData AS AttributeType ON /* join condition not captured in parsed metadata */
;