SAP Knowledge Base Article - Public

3042197 - EC: Document generation rule to display HR Manager phone number


  • How to display job relationship (HR Manager) phone number in document generation template?
  • Business rule to display job relationship phone number/email address information in document generation template

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental. 


SAP SuccessFactors Employee Central - Document Generation


  1. Create a new rule with base object DocumentMappingRuleResult
  2. Add a parameter Job Relationships (code: jobRelationsInfo)
  3. Create the logic as per below screenshot


  • You can create different rules for other relationship types like Matrix Manager, Custom Manager etc.
  • You can also create rule to get email information of job relationship by changing phone information to email information


job relationship, document generation, phone information, hr manager, matrix relationship, business rule, email information, document generation job relationship rule , KBA , LOD-SF-EC-DOC , Document Generation , How To


SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions