R_MasterWarrantyTP

DDL: R_MASTERWARRANTYTP Type: view_entity TRANSACTIONAL

Master Warranty

R_MasterWarrantyTP is a Transactional CDS View that provides data about "Master Warranty" in SAP S/4HANA. It reads from 1 data source (I_MasterWarranty) and exposes 21 fields with key field MasterWarranty. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MasterWarranty I_MasterWarranty from

Associations (2)

CardinalityTargetAliasCondition
[1..*] R_MasterWarrantyItemTP _MasterWarrantyItem
[1..*] R_MasterWarrantyTextTP _MasterHdrTxt

Annotations (10)

NameValueLevelField
AccessControl.personalData.blocking #NOT_REQUIRED view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Master Warranty view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.representativeKey MasterWarranty view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.sapObjectNodeType.name MasterWarranty view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY MasterWarranty MasterWarranty Master warranty
WarrantyType WarrantyType Warranty type
ExternalWarranty ExternalWarranty ExtWarrantyNo.
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
WarrantySortField WarrantySortField WarrantySortFld
WarrantyGroup WarrantyGroup WarrantyGroup
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
AuthorizationGroup AuthorizationGroup AuthorizGroup
IsDeleted IsDeleted TRUE
ObjectInternalID ObjectInternalID Object number
PartnerSchema PartnerSchema Partner Det.Prc
Language Language Report Text Language
MstrWrntyAttachmentIsEnabled
MasterWarrantyChangeDateTime MasterWarrantyChangeDateTime Timestamp
_WarrantyType _WarrantyType
_MasterWarrantyItem _MasterWarrantyItem
_MasterHdrTxt _MasterHdrTxt

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 R_MasterWarrantyTP.
-- 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 R_MasterWarrantyTP AS
SELECT
  MasterWarranty,
  WarrantyType,
  ExternalWarranty,
  ValidityStartDate,
  ValidityEndDate,
  WarrantySortField,
  WarrantyGroup,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  LastChangedByUser,
  AuthorizationGroup,
  IsDeleted,
  ObjectInternalID,
  PartnerSchema,
  Language,
  ' ' AS MstrWrntyAttachmentIsEnabled,
  MasterWarrantyChangeDateTime
FROM I_MasterWarranty
LEFT OUTER JOIN R_MasterWarrantyItemTP AS _MasterWarrantyItem ON /* condition not available in parsed metadata */  -- association [1..*]
LEFT OUTER JOIN R_MasterWarrantyTextTP AS _MasterHdrTxt ON /* condition not available in parsed metadata */  -- association [1..*]
;