I_REServiceGroupBasicData

DDL: I_RESERVICEGROUPBASICDATA SQL: IRESERVICEGRPBSC Type: view_entity BASIC

Real Estate Service Group

I_REServiceGroupBasicData is a Basic CDS View that provides data about "Real Estate Service Group" in SAP S/4HANA. It reads from 1 data source (vicssg) and exposes 40 fields with key field InternalRealEstateNumber. It has 22 associations to related views.

Data Sources (1)

SourceAliasJoin Type
vicssg vicssg from

Associations (22)

CardinalityTargetAliasCondition
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _ChangedByUser $projection.LastChangedByUser = _ChangedByUser.UserID
[0..1] I_User _ResponsibleUser $projection.Responsible = _ResponsibleUser.UserID
[1..1] I_REKeyAssgmt _REKeyAssgmt $projection.InternalRealEstateNumber = _REKeyAssgmt.InternalRealEstateNumber
[0..1] I_REAuthorizationGroup _REAuthorizationGroup $projection.REAuthorizationGroup = _REAuthorizationGroup.REAuthorizationGroup and _REAuthorizationGroup.RealEstateObjectType = 'J6'
[1..1] I_REServiceGroupType _REServiceGroupType $projection.REServiceGroupType = _REServiceGroupType.REServiceGroupType
[1..1] I_REServiceGroupCategory _REServiceGroupCategory $projection.REServiceGroupCategory = _REServiceGroupCategory.REServiceGroupCategory
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_StatusObject _StatusObject $projection.REStatusObject = _StatusObject.StatusObject
[1..*] I_StatusObjectStatus _StatusObjectStatus $projection.REStatusObject = _StatusObjectStatus.StatusObject
[1..*] I_RESrvcGrpToContractAssgmt _RESrvcGrpToContractAssgmt $projection.REStatusObject = _RESrvcGrpToContractAssgmt.REStatusObjectSource
[0..1] I_REIntegrationObject _REParentIntegrationObject $projection.REParentIntRealEstateNumber = _REParentIntegrationObject.InternalRealEstateNumber
[0..*] I_RESrvcGrpObjectRelation _RESrvcGrpObjectRelation $projection.InternalRealEstateNumber = _RESrvcGrpObjectRelation.InternalRealEstateNumber
[0..*] I_RESrvcGrpSettlementRule _RESrvcGrpSettlementRule $projection.InternalRealEstateNumber = _RESrvcGrpSettlementRule.InternalRealEstateNumber
[0..*] I_RESrvcGrpSettlmtRule2CostCat _RESrvcGrpSettlmtRule2CostCat $projection.InternalRealEstateNumber = _RESrvcGrpSettlmtRule2CostCat.InternalRealEstateNumber
[0..*] I_REApportionmentRule _REApportionmentRule $projection.InternalRealEstateNumber = _REApportionmentRule.InternalRealEstateNumber
[0..*] I_REDenominatorRule _REDenominatorRule $projection.InternalRealEstateNumber = _REDenominatorRule.InternalRealEstateNumber
[0..*] I_REPartnerAssgmt _REPartnerAssgmt $projection.InternalRealEstateNumber = _REPartnerAssgmt.InternalRealEstateNumber
[0..*] I_REObjectAssgmt _REObjectAssgmt $projection.REStatusObject = _REObjectAssgmt.REStatusObjectSource
[0..*] I_REReminderObjRule _REReminderRule $projection.InternalRealEstateNumber = _REReminderRule.InternalRealEstateNumber
[0..*] I_REServiceGroupAcctObjAssgmt _REServiceGroupAcctObjAssgmt $projection.InternalRealEstateNumber = _REServiceGroupAcctObjAssgmt.InternalRealEstateNumber
[1..1] E_REServiceGroup _Extension $projection.InternalRealEstateNumber = _Extension.InternalRealEstateNumber

Annotations (8)

NameValueLevelField
EndUserText.label Real Estate Service Group view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey InternalRealEstateNumber view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.allowExtensions true view
VDM.viewType #BASIC view

Fields (40)

KeyFieldSource TableSource FieldDescription
KEY InternalRealEstateNumber intreno Source Object
REStatusObject objnr Val. Obj. No.
RealEstateServiceGroupNumber sgnr Service Group
REServiceGroupType sgtype Service Group Type
REServiceGroupCategory sgcategory Service Group Category
REServiceGroupName sgxstext Service Group Name (Short)
REServiceGroupLongName sgxltext Service Group Name (Long)
REParentIntRealEstateNumber parentintreno Parent Number
CompanyCode bukrs Value
CreatedByUser rerf Entered By
CreationDate derf First Enterd On
CreationTime terf Time of Entry
RESourceOfCreation reher Source.In.Entry
LastChangedByUser rbear Last Changed By
LastChangeDate dbear Last Processing
LastChangeTime tbear Last Edited At
RESourceOfChange rbher Editing Source
Responsible responsible User Name
REAuthorizationGroup authgrp Authorization Group
_CreatedByUser _CreatedByUser
_ChangedByUser _ChangedByUser
_ResponsibleUser _ResponsibleUser
_REAuthorizationGroup _REAuthorizationGroup
_REServiceGroupType _REServiceGroupType
_REServiceGroupCategory _REServiceGroupCategory
_REKeyAssgmt _REKeyAssgmt
_StatusObject _StatusObject
_StatusObjectStatus _StatusObjectStatus
_REParentIntegrationObject _REParentIntegrationObject
_CompanyCode _CompanyCode
_REPartnerAssgmt _REPartnerAssgmt
_REObjectAssgmt _REObjectAssgmt
_REReminderRule _REReminderRule
_RESrvcGrpObjectRelation _RESrvcGrpObjectRelation
_RESrvcGrpToContractAssgmt _RESrvcGrpToContractAssgmt
_REServiceGroupAcctObjAssgmt _REServiceGroupAcctObjAssgmt
_RESrvcGrpSettlementRule _RESrvcGrpSettlementRule
_RESrvcGrpSettlmtRule2CostCat _RESrvcGrpSettlmtRule2CostCat
_REApportionmentRule _REApportionmentRule
_REDenominatorRule _REDenominatorRule

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 I_REServiceGroupBasicData.
-- 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.
-- SQL view name: IRESERVICEGRPBSC

CREATE VIEW I_REServiceGroupBasicData AS
SELECT
  intreno AS InternalRealEstateNumber,
  objnr AS REStatusObject,
  sgnr AS RealEstateServiceGroupNumber,
  sgtype AS REServiceGroupType,
  sgcategory AS REServiceGroupCategory,
  sgxstext AS REServiceGroupName,
  sgxltext AS REServiceGroupLongName,
  parentintreno AS REParentIntRealEstateNumber,
  bukrs AS CompanyCode,
  rerf AS CreatedByUser,
  derf AS CreationDate,
  terf AS CreationTime,
  reher AS RESourceOfCreation,
  rbear AS LastChangedByUser,
  dbear AS LastChangeDate,
  tbear AS LastChangeTime,
  rbher AS RESourceOfChange,
  Responsible,
  authgrp AS REAuthorizationGroup
FROM vicssg
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _ChangedByUser ON LastChangedByUser = _ChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _ResponsibleUser ON Responsible = _ResponsibleUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_REKeyAssgmt AS _REKeyAssgmt ON InternalRealEstateNumber = _REKeyAssgmt.InternalRealEstateNumber  -- association [1..1]
LEFT OUTER JOIN I_REAuthorizationGroup AS _REAuthorizationGroup ON REAuthorizationGroup = _REAuthorizationGroup.REAuthorizationGroup AND _REAuthorizationGroup.RealEstateObjectType = 'J6'  -- association [0..1]
LEFT OUTER JOIN I_REServiceGroupType AS _REServiceGroupType ON REServiceGroupType = _REServiceGroupType.REServiceGroupType  -- association [1..1]
LEFT OUTER JOIN I_REServiceGroupCategory AS _REServiceGroupCategory ON REServiceGroupCategory = _REServiceGroupCategory.REServiceGroupCategory  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_StatusObject AS _StatusObject ON REStatusObject = _StatusObject.StatusObject  -- association [0..1]
LEFT OUTER JOIN I_StatusObjectStatus AS _StatusObjectStatus ON REStatusObject = _StatusObjectStatus.StatusObject  -- association [1..*]
LEFT OUTER JOIN I_RESrvcGrpToContractAssgmt AS _RESrvcGrpToContractAssgmt ON REStatusObject = _RESrvcGrpToContractAssgmt.REStatusObjectSource  -- association [1..*]
LEFT OUTER JOIN I_REIntegrationObject AS _REParentIntegrationObject ON REParentIntRealEstateNumber = _REParentIntegrationObject.InternalRealEstateNumber  -- association [0..1]
LEFT OUTER JOIN I_RESrvcGrpObjectRelation AS _RESrvcGrpObjectRelation ON InternalRealEstateNumber = _RESrvcGrpObjectRelation.InternalRealEstateNumber  -- association [0..*]
LEFT OUTER JOIN I_RESrvcGrpSettlementRule AS _RESrvcGrpSettlementRule ON InternalRealEstateNumber = _RESrvcGrpSettlementRule.InternalRealEstateNumber  -- association [0..*]
LEFT OUTER JOIN I_RESrvcGrpSettlmtRule2CostCat AS _RESrvcGrpSettlmtRule2CostCat ON InternalRealEstateNumber = _RESrvcGrpSettlmtRule2CostCat.InternalRealEstateNumber  -- association [0..*]
LEFT OUTER JOIN I_REApportionmentRule AS _REApportionmentRule ON InternalRealEstateNumber = _REApportionmentRule.InternalRealEstateNumber  -- association [0..*]
LEFT OUTER JOIN I_REDenominatorRule AS _REDenominatorRule ON InternalRealEstateNumber = _REDenominatorRule.InternalRealEstateNumber  -- association [0..*]
LEFT OUTER JOIN I_REPartnerAssgmt AS _REPartnerAssgmt ON InternalRealEstateNumber = _REPartnerAssgmt.InternalRealEstateNumber  -- association [0..*]
LEFT OUTER JOIN I_REObjectAssgmt AS _REObjectAssgmt ON REStatusObject = _REObjectAssgmt.REStatusObjectSource  -- association [0..*]
LEFT OUTER JOIN I_REReminderObjRule AS _REReminderRule ON InternalRealEstateNumber = _REReminderRule.InternalRealEstateNumber  -- association [0..*]
LEFT OUTER JOIN I_REServiceGroupAcctObjAssgmt AS _REServiceGroupAcctObjAssgmt ON InternalRealEstateNumber = _REServiceGroupAcctObjAssgmt.InternalRealEstateNumber  -- association [0..*]
LEFT OUTER JOIN E_REServiceGroup AS _Extension ON InternalRealEstateNumber = _Extension.InternalRealEstateNumber  -- association [1..1]
;