Symptom
1. When generating an HTML report via a business rule triggered by the FSM Event "ActivityClosedEvent", the PDF printout shows the creation date instead of the service date for expenses.
- An issue with expense dates: when the report is generated through the Business Rule, the PDF output displays the creation date instead of the service date. However, when the report is generated via the mobile app (e.g., using the "Print and Send" function), the service date is correctly displayed.
- In the data.js file, there are two date fields for expenses: 'expense.createDateTime' (creation date) and 'expense.date' (service date). The creation date is being printed instead of the service date.
2. The date format '2025-09-25' will display instead '25.09.2025'.
Read more...
Environment
SAP Field Service Management
Product
Keywords
html report, sap field service management, business rule, activity closed event, creation date, service date, expense.createDateTime, expense.date, report template, handlebarsSapHelpers.js, formatDate function, incorrect date, pdf printout, date formatting , KBA , CEC-SRV-FSM-WIN , FSM Mobile - Windows , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview