SAP Knowledge Base Article - Public

2587281 - How to Map Timestamp Using a Business Rule to a Document Template

Symptom

  • How to Mapp Time to a Document Template base on Time Zone
  • Display the Timestamp in Document Template

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

Environment

Employee Central - Document Generation

Resolution

Please configure the rule as follows -:

1) Base Object = Document Mapping Rule Result

1time.png

Rule

2time.png

For Ireland , UK UTC Minutes = 0

As seen below Time zone Minutes can be change in the Rule:

 Example :

  • For  Saudi Arabia :UTC + 3hours= 180 Minutes  so  Minutes - Number: 180
  • For  Indian Minutes - Number: 330 , So  :UTC + 5 hours 30 mins= 330 Minutes

3time.png

Create Document Template

5time.png

Manage Document Template Mapping

6time.png

Test

Generate Document

9time.png

Download Result

7time.png

Keywords

ECT-89369 Document Generation, Time , Document Mapping Rule Result, Business Rule, Time Zone,Timestamp, Current Time UTC , KBA , LOD-SF-EC-DOC , Document Generation , Problem

Product

SAP SuccessFactors Employee Central all versions