A_SrvcOrdInHouseRepairItem

DDL: A_SRVCORDINHOUSEREPAIRITEM Type: view_entity CONSUMPTION

In-House Service Object of Srvc Ord

A_SrvcOrdInHouseRepairItem is a Consumption CDS View that provides data about "In-House Service Object of Srvc Ord" in SAP S/4HANA. It reads from 2 data sources (I_ServiceDocumentEnhcd, I_ServiceDocumentPredecessor) and exposes 16 fields with key fields ServiceOrder, InHouseRepair, InHouseRepairItem.

Data Sources (2)

SourceAliasJoin Type
I_ServiceDocumentEnhcd ServiceDoc from
I_ServiceDocumentPredecessor ServiceDocPredecessor inner

Annotations (11)

NameValueLevelField
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label In-House Service Object of Srvc Ord view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrder I_ServiceDocumentEnhcd ServiceDocument Transaction ID
KEY InHouseRepair _IHRItem InHouseRepair
KEY InHouseRepairItem _IHRItem InHouseRepairItem
ServiceObjectType I_ServiceDocumentEnhcd ServiceObjectType Object Type
ServiceDocumentType I_ServiceDocumentEnhcd ServiceDocumentType Transaction Type
RespEmployeeBusinessPartnerId I_ServiceDocumentEnhcd ResponsibleEmployee Employee Resp.
Division I_ServiceDocumentEnhcd Division Internal Division ID
SalesOffice I_ServiceDocumentEnhcd SalesOffice Sales Office
SalesOrganization I_ServiceDocumentEnhcd SalesOrganization Sales Organization
DistributionChannel I_ServiceDocumentEnhcd DistributionChannel RefDistCh-Cust/Mat.
SalesOfficeOrgUnitID I_ServiceDocumentEnhcd SalesOfficeOrgUnitID
SalesGroupOrgUnitID I_ServiceDocumentEnhcd SalesGroupOrgUnitID
SalesGroup I_ServiceDocumentEnhcd SalesGroup Sales Group
SalesOrganizationOrgUnitID I_ServiceDocumentEnhcd SalesOrganizationOrgUnitID
ServiceOrganization I_ServiceDocumentEnhcd ServiceOrganization
_ServiceOrder _ServiceOrder

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 A_SrvcOrdInHouseRepairItem.
-- 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 A_SrvcOrdInHouseRepairItem AS
SELECT
  ServiceDoc.ServiceDocument AS ServiceOrder,
  _IHRItem.InHouseRepair AS InHouseRepair,
  _IHRItem.InHouseRepairItem AS InHouseRepairItem,
  ServiceDoc.ServiceObjectType AS ServiceObjectType,
  ServiceDoc.ServiceDocumentType AS ServiceDocumentType,
  ServiceDoc.ResponsibleEmployee AS RespEmployeeBusinessPartnerId,
  ServiceDoc.Division AS Division,
  ServiceDoc.SalesOffice AS SalesOffice,
  ServiceDoc.SalesOrganization AS SalesOrganization,
  ServiceDoc.DistributionChannel AS DistributionChannel,
  ServiceDoc.SalesOfficeOrgUnitID AS SalesOfficeOrgUnitID,
  ServiceDoc.SalesGroupOrgUnitID AS SalesGroupOrgUnitID,
  ServiceDoc.SalesGroup AS SalesGroup,
  ServiceDoc.SalesOrganizationOrgUnitID AS SalesOrganizationOrgUnitID,
  ServiceDoc.ServiceOrganization AS ServiceOrganization
FROM I_ServiceDocumentEnhcd AS ServiceDoc
INNER JOIN I_ServiceDocumentPredecessor AS ServiceDocPredecessor ON /* join condition not captured in parsed metadata */
;