R_ProjSrvcOrgTP

DDL: R_PROJSRVCORGTP Type: view_entity TRANSACTIONAL Package: VDM_PPM_OBJECTS_TP_SERVICE_ORG

Service Organization

R_ProjSrvcOrgTP is a Transactional CDS View that provides data about "Service Organization" in SAP S/4HANA. It reads from 1 data source (R_ProjSrvcOrg) and exposes 28 fields with key field ProjectServiceOrganizationUUID. It has 10 associations to related views. Part of development package VDM_PPM_OBJECTS_TP_SERVICE_ORG.

Data Sources (1)

SourceAliasJoin Type
R_ProjSrvcOrg ServiceOrganization from

Associations (10)

CardinalityTargetAliasCondition
[1..1] R_ProjSrvcOrgTextTP _TextBetter _TextBetter.Language = $session.system_language and _TextBetter.ProjectServiceOrganization = $projection.ProjectServiceOrganization
[1..*] I_DivisionText _DivisionText _DivisionText.Division = $projection.ProjSrvcOrgDivision
[1..1] I_ControllingArea _ControllingAreaText _ControllingAreaText.ControllingArea = $projection.ProjSrvcOrgControllingArea
[1..1] I_CompanyCode _CompanyCodeText _CompanyCodeText.CompanyCode = $projection.ProjSrvcOrgCompanyCode
[1..1] I_PurchasingOrganization _PurchasingOrganizationText _PurchasingOrganizationText.PurchasingOrganization = $projection.ProjSrvcOrgPurchaseOrg
[1..1] I_Plant _PlantText _PlantText.Plant = $projection.ProjSrvcOrgPlant
[1..*] I_SalesOrganizationText _SalesOrganizationText _SalesOrganizationText.SalesOrganization = $projection.ProjSrvcOrgSalesOrg
[1..*] I_DistributionChannelText _DistributionChannelText _DistributionChannelText.DistributionChannel = $projection.ProjSrvcOrgDistributionChannel
[1..*] R_ProjSrvcOrgCostCenterTP _CostCenter
[1..*] R_ProjSrvcOrgTextTP _Text

Annotations (8)

NameValueLevelField
EndUserText.label Service Organization view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.sapObjectNodeType.name ProjectServiceOrganization view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY ProjectServiceOrganizationUUID ProjectServiceOrganizationUUID Service Org UUID
ProjectServiceOrganizationOID ProjectServiceOrganizationOID ServOrgOID
ProjectServiceOrganization Service Org.
ProjSrvcOrgIsProjDeliveryOrg ProjSrvcOrgIsProjDeliveryOrg
ProjSrvcOrgIsResourceOrg ProjSrvcOrgIsResourceOrg
ProjSrvcOrgIsTimePostingAllwd ProjSrvcOrgIsTimePostingAllwd
ProjSrvcOrgControllingArea ProjSrvcOrgControllingArea
ProjSrvcOrgCompanyCode ProjSrvcOrgCompanyCode
ProjSrvcOrgSalesOrg ProjSrvcOrgSalesOrg
ProjSrvcOrgDivision ProjSrvcOrgDivision
ProjSrvcOrgDistributionChannel ProjSrvcOrgDistributionChannel
ProjSrvcOrgPurchaseOrg ProjSrvcOrgPurchaseOrg
ProjSrvcOrgPlant ProjSrvcOrgPlant
ProjSrvcOrgDataMigrationStatus ProjSrvcOrgDataMigrationStatus Migration Status
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
_CostCenter _CostCenter
_Text _Text
_TextBetter _TextBetter
_DivisionText _DivisionText
_ControllingAreaText _ControllingAreaText
_CompanyCodeText _CompanyCodeText
_PurchasingOrganizationText _PurchasingOrganizationText
_PlantText _PlantText
_SalesOrganizationText _SalesOrganizationText
_DistributionChannelText _DistributionChannelText

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_ProjSrvcOrgTP.
-- 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_ProjSrvcOrgTP AS
SELECT
  ProjectServiceOrganizationUUID,
  ProjectServiceOrganizationOID,
  cast (ProjectServiceOrganization as /s4ppm/tv_svorg_id) AS ProjectServiceOrganization,
  ProjSrvcOrgIsProjDeliveryOrg,
  ProjSrvcOrgIsResourceOrg,
  ProjSrvcOrgIsTimePostingAllwd,
  ProjSrvcOrgControllingArea,
  ProjSrvcOrgCompanyCode,
  ProjSrvcOrgSalesOrg,
  ProjSrvcOrgDivision,
  ProjSrvcOrgDistributionChannel,
  ProjSrvcOrgPurchaseOrg,
  ProjSrvcOrgPlant,
  ProjSrvcOrgDataMigrationStatus,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime
FROM R_ProjSrvcOrg AS ServiceOrganization
LEFT OUTER JOIN R_ProjSrvcOrgTextTP AS _TextBetter ON _TextBetter.Language = $session.system_language AND _TextBetter.ProjectServiceOrganization = ProjectServiceOrganization  -- association [1..1]
LEFT OUTER JOIN I_DivisionText AS _DivisionText ON _DivisionText.Division = ProjSrvcOrgDivision  -- association [1..*]
LEFT OUTER JOIN I_ControllingArea AS _ControllingAreaText ON _ControllingAreaText.ControllingArea = ProjSrvcOrgControllingArea  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCodeText ON _CompanyCodeText.CompanyCode = ProjSrvcOrgCompanyCode  -- association [1..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganizationText ON _PurchasingOrganizationText.PurchasingOrganization = ProjSrvcOrgPurchaseOrg  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _PlantText ON _PlantText.Plant = ProjSrvcOrgPlant  -- association [1..1]
LEFT OUTER JOIN I_SalesOrganizationText AS _SalesOrganizationText ON _SalesOrganizationText.SalesOrganization = ProjSrvcOrgSalesOrg  -- association [1..*]
LEFT OUTER JOIN I_DistributionChannelText AS _DistributionChannelText ON _DistributionChannelText.DistributionChannel = ProjSrvcOrgDistributionChannel  -- association [1..*]
LEFT OUTER JOIN R_ProjSrvcOrgCostCenterTP AS _CostCenter ON /* condition not available in parsed metadata */  -- association [1..*]
LEFT OUTER JOIN R_ProjSrvcOrgTextTP AS _Text ON /* condition not available in parsed metadata */  -- association [1..*]
;