P_InhRepairNote

DDL: P_INHREPAIRNOTE Type: view_entity TRANSACTIONAL

P_InhRepairNote is a Transactional CDS View in SAP S/4HANA. It reads from 3 data sources (I_InhRepairNote, I_InHouseRepair, I_ServiceDocumentLongText) and exposes 13 fields with key fields CustMgmtObjectType, InHouseRepair, TextObjectType, Language, InHouseRepair.

Data Sources (3)

SourceAliasJoin Type
I_InhRepairNote I_InhRepairNote from
I_InHouseRepair InHouseRepair inner
I_ServiceDocumentLongText new union

Annotations (8)

NameValueLevelField
VDM.private true view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #NONE view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY CustMgmtObjectType CustMgmtObjectType Trans. Cat.
KEY InHouseRepair InHouseRepair Transaction ID
KEY TextObjectType TextObjectType Text ID
KEY Language Language Report Text Language
InHouseRepairUUID InHouseRepairUUID Unique Identifier
TextObjectCategory TextObjectCategory Text object
ServiceObjectTypeasCustMgmtObjectType
KEY InHouseRepair I_ServiceDocumentLongText ServiceDocument Transaction ID
KEY TextObjectType I_ServiceDocumentLongText TextObjectType Text ID
KEY Language I_ServiceDocumentLongText Language Report Text Language
InHouseRepairUUID I_InHouseRepair InHouseRepairUUID Unique Identifier
TextObjectCategory I_ServiceDocumentLongText TextObjectCategory Text object
CreatedByUser

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_InhRepairNote.
-- 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 P_InhRepairNote AS
SELECT
  CustMgmtObjectType,
  InHouseRepair,
  TextObjectType,
  Language,
  InHouseRepairUUID,
  TextObjectCategory,
  CreatedByUser AS ServiceObjectTypeasCustMgmtObjectType,
  cast( new.SrvcDocLongTextCreatedByUser as tdfuser ) AS CreatedByUser
FROM I_InhRepairNote
INNER JOIN I_InHouseRepair AS InHouseRepair ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): I_ServiceDocumentLongText
;