Symptom
- You notice differences on the output when the exact same Report Table is run manually and automatically [schedule job]. Both reports don't have the same results between runs manually or automatically.
- The domain used in the report requires a date parameter e.g. As of Dated or Date Range domains like Person and Employment (As of Date) or Job Information (Date Range).
Environment
- SAP SuccessFactors HXM Suite
Reproducing the Issue
- Run the Ad Hoc/Table report Online or Offline manually by selecting the Required parameters "As of Date". e.g. enter a date As of Today
- Run the same report 'Automatically' via job schedule:
- If from Provisioning without the expression builder ${today} has been selected.
- If from Report Center > View Schedules > My Schedules, select Fixed date
- Compare the two results downloaded and in this case we observed a diiference in the number of row between the two reports output.
Cause
In this case the differences were caused by the different date used to run the report.
- If scheduled from Provisioning: the Expression Builder ${today} is not selected causing the report not picking up the current day [${today}].
- If scheduled from Report Center - the Date parameter is Fixed Date, meaning it will only include results as of a certain date and is not dynamic.
Resolution
To get the same result Online and via Scheduled Job, please set the same criteria for the Run Online/Offline and the Scheduled Job
The job parameters were adjusted, from Provisioning, as follow:
- Select your company
- Go to: Managing Job Scheduler
- Manage Scheduled Jobs
- Edit the the job that has the issue
- In the section "View Scheduled Job"
- Go to: Job Parameters >> Required Parameter >> Expression Builder
- From Expression select the ${Today}
- Click created
- Save
For Report Center > View Schedules > My Schedules:
- When the Scheduling page prompts you to select a Filter criteria in Step 2, there will be two choices: Fixed and Relative. Please select Relative.
- After selecting Relative, more fields will show up in which you can select a dynamic date criteria. For the example here, choose "Today". You can set this up as per whatever requirement.
Keywords
Less Data in Adhoc Less Data in Table Missing data in adhoc schedule job Adhoc run automatically has less data Less data in adhoc Difference in ouput data ad hoc report data Table data scheduled job report center schedules, job schedule parameters, schedule date prompts, date filter, relative date , KBA , person and employment (as of date) , job information (date range) , LOD-SF-ANA-ADH , Adhoc Reports & Report Builder , Problem