SAP Knowledge Base Article - Public

2877407 - EC: Rule to display Current Date in generated Document Template

Symptom

How to create a rule to display Current Date in documents generated via document generation feature?

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

Environment

  • SAP SuccessFactors Employee Central
  • Document Generation

Resolution

  1. Create a new Basic rule
  2. Base object DocumentMappingRuleResult
  3. If condition is set as "always true"
  4. Use Today() function to get the current date of the system

CurrentDate.PNG

See Also

2742128 - How to display "As Of Date" value in a Document Generation?

Keywords

document generation, business rule, current date business rule, document generation current date, document generation current date business rule , KBA , LOD-SF-EC-DOC , Document Generation , How To

Product

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