R_InhRepairItmSrvcQtanTP

DDL: R_INHREPAIRITMSRVCQTANTP Type: view_entity TRANSACTIONAL

Related SrvcQtan for Inh Repr Item - TP

R_InhRepairItmSrvcQtanTP is a Transactional CDS View that provides data about "Related SrvcQtan for Inh Repr Item - TP" in SAP S/4HANA. It reads from 2 data sources (I_InHouseRepairItem, I_CustMgmtTransactionRelation) and exposes 20 fields with key fields InHouseRepair, InHouseRepairItem, ServiceQuotation. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_InHouseRepairItem ihritem from
I_CustMgmtTransactionRelation rel inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_InHouseRepairTP _InHouseRepairTP $projection.InHouseRepair = _InHouseRepairTP.InHouseRepair

Annotations (8)

NameValueLevelField
EndUserText.label Related SrvcQtan for Inh Repr Item - TP view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY InHouseRepair I_InHouseRepairItem InHouseRepair
KEY InHouseRepairItem I_InHouseRepairItem InHouseRepairItem
KEY ServiceQuotation srvcdoc ServiceDocument Transaction ID
InHouseRepairItemUUID I_InHouseRepairItem InHouseRepairItemUUID Push ItemGU
InhRepairType I_InHouseRepairItem InhRepairType Type of Data
ServiceQuotationIsNotNew stat SrvcMgmtObjectStatusIsInactive
ServiceQuotationIsOpen srvcdoc ServiceDocumentIsOpen
ServiceQuotationIsReleased srvcdoc ServiceDocumentIsReleased
RespEmployeeBusinessPartnerId I_InHouseRepairItem RespEmployeeBusinessPartnerId Employee Resp.
SalesOrganization I_InHouseRepairItem SalesOrganization Sales Organization
DistributionChannel I_InHouseRepairItem DistributionChannel RefDistCh-Cust/Mat.
Division I_InHouseRepairItem Division Internal Division ID
SalesOffice I_InHouseRepairItem SalesOffice Sales Office
SalesGroup I_InHouseRepairItem SalesGroup Sales Group
SalesOrganizationOrgUnitID I_InHouseRepairItem SalesOrganizationOrgUnitID
SalesOfficeOrgUnitID I_InHouseRepairItem SalesOfficeOrgUnitID
SalesGroupOrgUnitID I_InHouseRepairItem SalesGroupOrgUnitID
_InHouseRepairTP _InHouseRepairTP
_InHouseRepairItemTP _InHouseRepairItemTP
_InHouseRepair _InHouseRepair

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_InhRepairItmSrvcQtanTP.
-- 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_InhRepairItmSrvcQtanTP AS
SELECT
  ihritem.InHouseRepair AS InHouseRepair,
  ihritem.InHouseRepairItem AS InHouseRepairItem,
  srvcdoc.ServiceDocument AS ServiceQuotation,
  ihritem.InHouseRepairItemUUID AS InHouseRepairItemUUID,
  ihritem.InhRepairType AS InhRepairType,
  stat.SrvcMgmtObjectStatusIsInactive AS ServiceQuotationIsNotNew,
  srvcdoc.ServiceDocumentIsOpen AS ServiceQuotationIsOpen,
  srvcdoc.ServiceDocumentIsReleased AS ServiceQuotationIsReleased,
  ihritem.RespEmployeeBusinessPartnerId AS RespEmployeeBusinessPartnerId,
  ihritem.SalesOrganization AS SalesOrganization,
  ihritem.DistributionChannel AS DistributionChannel,
  ihritem.Division AS Division,
  ihritem.SalesOffice AS SalesOffice,
  ihritem.SalesGroup AS SalesGroup,
  ihritem.SalesOrganizationOrgUnitID AS SalesOrganizationOrgUnitID,
  ihritem.SalesOfficeOrgUnitID AS SalesOfficeOrgUnitID,
  ihritem.SalesGroupOrgUnitID AS SalesGroupOrgUnitID
FROM I_InHouseRepairItem AS ihritem
INNER JOIN I_CustMgmtTransactionRelation AS rel ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_InHouseRepairTP AS _InHouseRepairTP ON InHouseRepair = _InHouseRepairTP.InHouseRepair  -- association [1..1]
;