P_RespyMgmtRelationships

DDL: P_RESPYMGMTRELATIONSHIPS SQL: PRESPYMGMTRELSHP Type: view BASIC Package: CA_RSM_TEAMS_DDIC

View Relationships

P_RespyMgmtRelationships is a Basic CDS View that provides data about "View Relationships" in SAP S/4HANA. It reads from 2 data sources (P_RespyMgmtFuncAndBPRelshp, P_RespyMgmtHdrAndFuncRelshp) and exposes 5 fields with key fields RespyMgmtTeamID, FunctionalAssgmtID, BusinessPartner. Part of development package CA_RSM_TEAMS_DDIC.

Data Sources (2)

SourceAliasJoin Type
P_RespyMgmtFuncAndBPRelshp _FuncAndBPRelshp left_outer
P_RespyMgmtHdrAndFuncRelshp HeaderAndFuncRelshp from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PRESPYMGMTRELSHP view
VDM.private true view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY RespyMgmtTeamID P_RespyMgmtHdrAndFuncRelshp RespyMgmtTeamID Team ID
KEY FunctionalAssgmtID P_RespyMgmtHdrAndFuncRelshp RelatedObjectID
KEY BusinessPartner P_RespyMgmtFuncAndBPRelshp RelatedObjectID
RespyMgmtTeamMemberID P_RespyMgmtFuncAndBPRelshp RelatedObjectID
RelationshipSign P_RespyMgmtHdrAndFuncRelshp RelationshipSign Relationship

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 P_RespyMgmtRelationships.
-- 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: PRESPYMGMTRELSHP

CREATE VIEW P_RespyMgmtRelationships AS
SELECT
  HeaderAndFuncRelshp.RespyMgmtTeamID AS RespyMgmtTeamID,
  HeaderAndFuncRelshp.RelatedObjectID AS FunctionalAssgmtID,
  _FuncAndBPRelshp.RelatedObjectID AS BusinessPartner,
  _FuncAndBPRelshp.RelatedObjectID AS RespyMgmtTeamMemberID,
  HeaderAndFuncRelshp.RelationshipSign AS RelationshipSign
FROM P_RespyMgmtHdrAndFuncRelshp AS HeaderAndFuncRelshp
LEFT OUTER JOIN P_RespyMgmtFuncAndBPRelshp AS _FuncAndBPRelshp ON /* join condition not captured in parsed metadata */
;