P_InhRepairItemNote

DDL: P_INHREPAIRITEMNOTE Type: view_entity TRANSACTIONAL

P_InhRepairItemNote is a Transactional CDS View in SAP S/4HANA. It reads from 3 data sources (I_InhRepairItemNote, I_InHouseRepairItem, I_ServiceDocumentLongText) and exposes 15 fields with key fields CustMgmtObjectType, InHouseRepair, InHouseRepairItem, TextObjectType, Language.

Data Sources (3)

SourceAliasJoin Type
I_InhRepairItemNote I_InhRepairItemNote from
I_InHouseRepairItem InHouseRepairItem 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 (15)

KeyFieldSource TableSource FieldDescription
KEY CustMgmtObjectType CustMgmtObjectType Trans. Cat.
KEY InHouseRepair InHouseRepair Transaction ID
KEY InHouseRepairItem InHouseRepairItem Service Document
KEY TextObjectType TextObjectType Text ID
KEY Language Language Report Text Language
InHouseRepairItemUUID InHouseRepairItemUUID Push ItemGU
TextObjectCategory TextObjectCategory Text object
ServiceObjectTypeasCustMgmtObjectType
KEY InHouseRepair I_ServiceDocumentLongText ServiceDocument Transaction ID
KEY InHouseRepairItem I_ServiceDocumentLongText ServiceDocumentItem Service Document
KEY TextObjectType I_ServiceDocumentLongText TextObjectType Text ID
KEY Language I_ServiceDocumentLongText Language Report Text Language
InHouseRepairItemUUID I_InHouseRepairItem InHouseRepairItemUUID Push ItemGU
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_InhRepairItemNote.
-- 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_InhRepairItemNote AS
SELECT
  CustMgmtObjectType,
  InHouseRepair,
  InHouseRepairItem,
  TextObjectType,
  Language,
  InHouseRepairItemUUID,
  TextObjectCategory,
  CreatedByUser AS ServiceObjectTypeasCustMgmtObjectType,
  cast( new.SrvcDocLongTextCreatedByUser as tdfuser preserving type ) AS CreatedByUser
FROM I_InhRepairItemNote
INNER JOIN I_InHouseRepairItem AS InHouseRepairItem ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): I_ServiceDocumentLongText
;