I_HrRelation

DDL: I_HRRELATION SQL: IHRRELATN Type: view BASIC Package: VDM_SHCM_EMPLOYEE_V2

Read HRP1001 relation table

I_HrRelation is a Basic CDS View that provides data about "Read HRP1001 relation table" in SAP S/4HANA. It reads from 1 data source (wfd_d_assgmt) and exposes 10 fields with key fields PlanVersion, ObjectType, HumRsceObjectId, HumRsceRelshpSpecification, HumRsceRelationship. Part of development package VDM_SHCM_EMPLOYEE_V2.

Data Sources (1)

SourceAliasJoin Type
wfd_d_assgmt assgmt inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IHRRELATN view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Read HRP1001 relation table view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PlanVersion
KEY ObjectType
KEY HumRsceObjectId
KEY HumRsceRelshpSpecification
KEY HumRsceRelationship
Status
StartDate
EndDate
RelatedObjectType
HumRsceRelatedObjectId

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_HrRelation.
-- 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: IHRRELATN

CREATE VIEW I_HrRelation AS
SELECT
  cast('' as plvar) AS PlanVersion,
  cast('CP' as otype preserving type ) AS ObjectType,
  cast(wfd_d_keymap.central_person as hrobjid preserving type ) AS HumRsceObjectId,
  cast('B' as rsign preserving type ) AS HumRsceRelshpSpecification,
  cast('207' as relat) AS HumRsceRelationship,
  cast('' as istat_d preserving type ) AS Status,
  cast('00000000' as begdatum ) AS StartDate,
  cast('99991231' as enddatum ) AS EndDate,
  cast('BP' as sclas preserving type ) AS RelatedObjectType,
  cast(wfd_d_keymap.business_partner_id as sobid ) AS HumRsceRelatedObjectId
INNER JOIN wfd_d_assgmt AS assgmt ON /* join condition not captured in parsed metadata */
;