C_InhReprItmMngReprObjectObjPg

DDL: C_INHREPRITMMNGREPROBJECTOBJPG Type: view_entity CONSUMPTION

Management of In-House Service Object

C_InhReprItmMngReprObjectObjPg is a Consumption CDS View that provides data about "Management of In-House Service Object" in SAP S/4HANA. It reads from 1 data source (I_InHouseRepairItemTP) and exposes 83 fields with key fields InHouseRepair, InHouseRepairItem. It has 14 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_InHouseRepairItemTP I_InHouseRepairItemTP projection

Associations (14)

CardinalityTargetAliasCondition
[0..1] C_SrvcMgmtSoldToPartyQuickVw _SoldToPartyQuickView $projection.SoldToParty = _SoldToPartyQuickView.BusinessPartner
[0..1] C_SrvcMgmtCntctPersnQuickVw _ContactPersonQuickView $projection.ContactPersonBusinessPartnerId = _ContactPersonQuickView.BusinessPartner and $projection.SoldToParty = _ContactPersonQuickView.SoldToParty
[0..1] C_SrvcMgmtSoldToPartyQuickVw _ShipToPartyQuickView $projection.ShipToParty = _ShipToPartyQuickView.BusinessPartner
[0..1] C_SrvcMgmtSoldToPartyQuickVw _EndCustomerQuickView $projection.InHouseRepairEndCustomer = _EndCustomerQuickView.BusinessPartner
[0..*] C_InhReprItmReprObjExectblActn _InhRepairItemExectblAction $projection.InHouseRepair = _InhRepairItemExectblAction.InHouseRepair and $projection.InHouseRepairItem = _InhRepairItemExectblAction.InHouseRepairItem
[0..*] C_InhRepairItemContract _InhouseRepairContract $projection.InHouseRepair = _InhouseRepairContract.InHouseRepair and $projection.InHouseRepairItem = _InhouseRepairContract.InHouseRepairItem and $projection.SoldToParty = _InhouseRepairContract.SoldToParty and $projection.InhRepairReferenceEquipment = _InhouseRepairContract.InhRepairReferenceEquipment and $projection.DistributionChannel = _InhouseRepairContract.DistributionChannel and $projection.Division = _InhouseRepairContract.Division and $projection.SalesOrganization = _InhouseRepairContract.SalesOrganization
[0..*] C_InhReprItmMngReprObjQtanLink _ServiceQuotation $projection.InHouseRepairItemUUID = _ServiceQuotation.InHouseRepairItemUUID
[0..*] C_InhReprItmMngReprObjOrdLink _ServiceOrder $projection.InHouseRepairItemUUID = _ServiceOrder.InHouseRepairItemUUID
[0..*] C_InhReprItmMngReprObjQtanLink _OpenServiceQuotation $projection.InHouseRepairItemUUID = _OpenServiceQuotation.InHouseRepairItemUUID and _OpenServiceQuotation.ServiceQuotationIsOpen = 'X'
[0..*] C_InhReprItmMngReprObjQtanLink _CompletedServiceQuotation $projection.InHouseRepairItemUUID = _CompletedServiceQuotation.InHouseRepairItemUUID and _CompletedServiceQuotation.ServiceQuotationIsOpen = ''
[0..*] C_InhReprItmMngReprObjOrdLink _OpenServiceOrder $projection.InHouseRepairItemUUID = _OpenServiceOrder.InHouseRepairItemUUID and _OpenServiceOrder.ServiceOrderIsOpen = 'X'
[0..*] C_InhReprItmMngReprObjOrdLink _CompletedServiceOrder $projection.InHouseRepairItemUUID = _CompletedServiceOrder.InHouseRepairItemUUID and _CompletedServiceOrder.ServiceOrderIsOpen = ''
[1..*] C_InhReprItmMngReprObjSrlNmbr _InhReprItmMngReprObjSrlNmbr $projection.InHouseRepair = _InhReprItmMngReprObjSrlNmbr.InHouseRepair and $projection.InHouseRepairItem = _InhReprItmMngReprObjSrlNmbr.InHouseRepairItem
[0..*] C_InhReprItmMngReprObjHistory _InhReprItmMngReprObjHistory $projection.InHouseRepair = _InhReprItmMngReprObjHistory.InHouseRepair and $projection.InHouseRepairItem = _InhReprItmMngReprObjHistory.InHouseRepairItem

Annotations (11)

NameValueLevelField
EndUserText.label Management of In-House Service Object view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey InHouseRepairItem view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.allowExtensions true view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.quota.maximumFields 204 view
AbapCatalog.extensibility.quota.maximumBytes 6800 view

Fields (83)

KeyFieldSource TableSource FieldDescription
KEY InHouseRepair InHouseRepair
KEY InHouseRepairItem InHouseRepairItem
InHouseRepairItemUUID InHouseRepairItemUUID
LastChangeDateTime LastChangeDateTime Timestamp
CreationDateTime CreationDateTime Timestamp
InHouseRepairUUID InHouseRepairUUID
InhRepairType InhRepairType
InhRepairItemCategory InhRepairItemCategory
InhRepairItemStatus InhRepairItemStatus
Product Product Product Sold
ProductNameasProductNamelocalized
InhRepairReferenceEquipment InhRepairReferenceEquipment
TechObjIsEquipOrFuncnlLoc TechObjIsEquipOrFuncnlLoc Tech. Obj. Type
TechnicalObject TechnicalObject Technical Object
SerialNumber SerialNumber Serial Number
SoldToParty SoldToParty Sold-to Party
SoldToPartyName
ContactPersonBusinessPartnerId ContactPerson Contact Person Key
ContactPersonName
ShipToParty ShipToParty Ship-To Party (obsolete)
ShipToPartyName
ShipToPartyAddressID ShipToPartyAddressID Ship-to Party Address
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SalesOrganization SalesOrganization Sales Organization
RespEmployeeBusinessPartnerId RespEmployeeBusinessPartnerId
ResponsibleEmployeeName
InHouseRepairEndCustomer _InHouseRepairTP InHouseRepairEndCustomer
InHouseRepairEndCustomerName
InhRepairItemAvailyStatus InhRepairItemAvailyStatus
ParentInHouseRepairItem ParentInHouseRepairItem
Quantity Quantity Value
QuantityUnit QuantityUnit Unit of measure
UnitOfMeasureNamelocalized
CustRetMatlAuthzn _CustomerReturnsItemReference CustRetMatlAuthzn
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
SalesOrganizationOrgUnitID SalesOrganizationOrgUnitID
SalesOfficeOrgUnitID SalesOfficeOrgUnitID
SalesGroupOrgUnitID SalesGroupOrgUnitID
IncotermsPart1 IncotermsPart1 Incoterms
IncotermsPart2 IncotermsPart2 Incoterms 2
ShippingCondition ShippingCondition Shipping Conditions
DeliveryPriority DeliveryPriority Delivery Prior.
Plant Plant Valuation Area
PlantName
StorageLocation StorageLocation StorageLocation
StorageLocationName
InhRepairItemSpecialStockType InhRepairItemSpecialStockType
InhReprItmSpecialStockTypeTextlocalized
InhReprItmInvtryUsabilityCode InhReprItmInvtryUsabilityCode
InhReprItmInvtryUsblyCodeTextlocalized
CompanyCode
InhRepairItemIsObsolete InhRepairItemIsObsolete
_InhRepairItemExectblAction _InhRepairItemExectblAction
_InhouseRepairContract _InhouseRepairContract
_InHouseRepair _InHouseRepair
_InhRepairItemCategory _InhRepairItemCategory
_InhRepairItemStatus _InhRepairItemStatus
_InhRepairItemAvailyStatus _InhRepairItemAvailyStatus
_InhRepairReferenceEquipment _InhRepairReferenceEquipment
_Product _Product
_SoldToPartyQuickView _SoldToPartyQuickView
_ContactPersonQuickView _ContactPersonQuickView
_ShipToPartyQuickView _ShipToPartyQuickView
_EndCustomerQuickView _EndCustomerQuickView
_ServiceQuotation _ServiceQuotation
_ServiceOrder _ServiceOrder
_OpenServiceQuotation _OpenServiceQuotation
_CompletedServiceQuotation _CompletedServiceQuotation
_OpenServiceOrder _OpenServiceOrder
_CompletedServiceOrder _CompletedServiceOrder
_InhReprItmMngReprObjSrlNmbr _InhReprItmMngReprObjSrlNmbr
_QuantityUnitOfMeasure _QuantityUnitOfMeasure
_ProductText _ProductText
_InhRepairReferenceEquipText _InhRepairReferenceEquipText
_Plant _Plant
_StorageLocation _StorageLocation
_InhReprItemSpecialStockType _InhReprItemSpecialStockType
_InhReprItemSpecialStockTypeT _InhReprItemSpecialStockTypeT
_InhReprItmInvtryUsblyCode _InhReprItmInvtryUsblyCode
_InhReprItmInvtryUsblyCodeTxt _InhReprItmInvtryUsblyCodeTxt
_InhReprItmMngReprObjHistory _InhReprItmMngReprObjHistory

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 C_InhReprItmMngReprObjectObjPg.
-- 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 C_InhReprItmMngReprObjectObjPg AS
SELECT
  InHouseRepair,
  InHouseRepairItem,
  InHouseRepairItemUUID,
  LastChangeDateTime,
  CreationDateTime,
  InHouseRepairUUID,
  InhRepairType,
  InhRepairItemCategory,
  InhRepairItemStatus,
  Product,
  _ProductText.ProductName as ProductName : localized AS ProductNameasProductNamelocalized,
  InhRepairReferenceEquipment,
  TechObjIsEquipOrFuncnlLoc,
  TechnicalObject,
  SerialNumber,
  SoldToParty,
  cast(_InHouseRepairTP._SoldToParty.BusinessPartnerName as crms4_repa_soldto_pty_name_lbl preserving type) AS SoldToPartyName,
  ContactPerson AS ContactPersonBusinessPartnerId,
  cast(_InHouseRepairTP._ContactPerson.BusinessPartnerName as crms4_repa_cntct_pers_name_lbl preserving type) AS ContactPersonName,
  ShipToParty,
  cast(_ShipToParty.BusinessPartnerName as crms4_repa_shipto_pty_name_lbl preserving type) AS ShipToPartyName,
  ShipToPartyAddressID,
  DistributionChannel,
  Division,
  SalesOrganization,
  RespEmployeeBusinessPartnerId,
  cast(_InHouseRepairTP._ResponsibleEmployee.BusinessPartnerName as crms4_repa_resp_empl_name_lbl preserving type) AS ResponsibleEmployeeName,
  _InHouseRepairTP.InHouseRepairEndCustomer AS InHouseRepairEndCustomer,
  cast(_InHouseRepairTP._EndCustomer.BusinessPartnerName as crms4_repa_endcust_name_lbl preserving type) AS InHouseRepairEndCustomerName,
  InhRepairItemAvailyStatus,
  ParentInHouseRepairItem,
  Quantity,
  QuantityUnit,
  _QuantityUnitOfMeasure._Text.UnitOfMeasureName : localized AS UnitOfMeasureNamelocalized,
  _CustomerReturnsItemReference.CustRetMatlAuthzn AS CustRetMatlAuthzn,
  SalesOffice,
  SalesGroup,
  SalesOrganizationOrgUnitID,
  SalesOfficeOrgUnitID,
  SalesGroupOrgUnitID,
  IncotermsPart1,
  IncotermsPart2,
  ShippingCondition,
  DeliveryPriority,
  Plant,
  InHouseRepairItemTP._Plant.PlantName AS PlantName,
  StorageLocation,
  InHouseRepairItemTP._StorageLocation.StorageLocationName AS StorageLocationName,
  InhRepairItemSpecialStockType,
  InHouseRepairItemTP._InhReprItemSpecialStockTypeT.InhReprItmSpecialStockTypeText : localized AS InhReprItmSpecialStockTypeTextlocalized,
  InhReprItmInvtryUsabilityCode,
  InHouseRepairItemTP._InhReprItmInvtryUsblyCodeTxt.InhReprItmInvtryUsblyCodeText : localized AS InhReprItmInvtryUsblyCodeTextlocalized,
  _InHouseRepair._SalesOrganization.CompanyCode AS CompanyCode,
  InhRepairItemIsObsolete
FROM I_InHouseRepairItemTP
LEFT OUTER JOIN C_SrvcMgmtSoldToPartyQuickVw AS _SoldToPartyQuickView ON SoldToParty = _SoldToPartyQuickView.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN C_SrvcMgmtCntctPersnQuickVw AS _ContactPersonQuickView ON ContactPersonBusinessPartnerId = _ContactPersonQuickView.BusinessPartner AND SoldToParty = _ContactPersonQuickView.SoldToParty  -- association [0..1]
LEFT OUTER JOIN C_SrvcMgmtSoldToPartyQuickVw AS _ShipToPartyQuickView ON ShipToParty = _ShipToPartyQuickView.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN C_SrvcMgmtSoldToPartyQuickVw AS _EndCustomerQuickView ON InHouseRepairEndCustomer = _EndCustomerQuickView.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN C_InhReprItmReprObjExectblActn AS _InhRepairItemExectblAction ON InHouseRepair = _InhRepairItemExectblAction.InHouseRepair AND InHouseRepairItem = _InhRepairItemExectblAction.InHouseRepairItem  -- association [0..*]
LEFT OUTER JOIN C_InhRepairItemContract AS _InhouseRepairContract ON InHouseRepair = _InhouseRepairContract.InHouseRepair AND InHouseRepairItem = _InhouseRepairContract.InHouseRepairItem AND SoldToParty = _InhouseRepairContract.SoldToParty AND InhRepairReferenceEquipment = _InhouseRepairContract.InhRepairReferenceEquipment AND DistributionChannel = _InhouseRepairContract.DistributionChannel AND Division = _InhouseRepairContract.Division AND SalesOrganization = _InhouseRepairContract.SalesOrganization  -- association [0..*]
LEFT OUTER JOIN C_InhReprItmMngReprObjQtanLink AS _ServiceQuotation ON InHouseRepairItemUUID = _ServiceQuotation.InHouseRepairItemUUID  -- association [0..*]
LEFT OUTER JOIN C_InhReprItmMngReprObjOrdLink AS _ServiceOrder ON InHouseRepairItemUUID = _ServiceOrder.InHouseRepairItemUUID  -- association [0..*]
LEFT OUTER JOIN C_InhReprItmMngReprObjQtanLink AS _OpenServiceQuotation ON InHouseRepairItemUUID = _OpenServiceQuotation.InHouseRepairItemUUID AND _OpenServiceQuotation.ServiceQuotationIsOpen = 'X'  -- association [0..*]
LEFT OUTER JOIN C_InhReprItmMngReprObjQtanLink AS _CompletedServiceQuotation ON InHouseRepairItemUUID = _CompletedServiceQuotation.InHouseRepairItemUUID AND _CompletedServiceQuotation.ServiceQuotationIsOpen = ''  -- association [0..*]
LEFT OUTER JOIN C_InhReprItmMngReprObjOrdLink AS _OpenServiceOrder ON InHouseRepairItemUUID = _OpenServiceOrder.InHouseRepairItemUUID AND _OpenServiceOrder.ServiceOrderIsOpen = 'X'  -- association [0..*]
LEFT OUTER JOIN C_InhReprItmMngReprObjOrdLink AS _CompletedServiceOrder ON InHouseRepairItemUUID = _CompletedServiceOrder.InHouseRepairItemUUID AND _CompletedServiceOrder.ServiceOrderIsOpen = ''  -- association [0..*]
LEFT OUTER JOIN C_InhReprItmMngReprObjSrlNmbr AS _InhReprItmMngReprObjSrlNmbr ON InHouseRepair = _InhReprItmMngReprObjSrlNmbr.InHouseRepair AND InHouseRepairItem = _InhReprItmMngReprObjSrlNmbr.InHouseRepairItem  -- association [1..*]
LEFT OUTER JOIN C_InhReprItmMngReprObjHistory AS _InhReprItmMngReprObjHistory ON InHouseRepair = _InhReprItmMngReprObjHistory.InHouseRepair AND InHouseRepairItem = _InhReprItmMngReprObjHistory.InHouseRepairItem  -- association [0..*]
;