Symptom
When checking in the Job Monitor, some Data Export API jobs remain in pending status for hours / days and never complete.
Environment
SAP Analytics Cloud
Reproducing the Issue
Run Data Export API jobs and check their status in the Job Monitor.
Cause
The Data Export section in the Job Monitor is used to track export activity initiated through the Data Export API. A Pending status indicates that a data extraction request has been initiated, but the complete dataset has not yet been retrieved by the consuming application.
If the export is paginated, the job will remain in Pending status until all pages of data have been retrieved. The Data Export API provides next links when additional pages are available. Once all pages have been consumed and the full dataset has been extracted, the job status will automatically change to Completed.
For more information on pagination, please refer to:
Resolution
As the Data Export API is a pull-based export mechanism, these Job Monitor entries do not represent actively running background jobs within SAP Analytics Cloud. Instead, they serve as a record of an export request and whether the consumer has completed retrieval of the exported dataset. Consequently, they have little to no performance impact on SAP Analytics Cloud resources.
The jobs are also not cancellable, as they do not represent an active process executing within SAP Analytics Cloud. Instead, they reflect a data extraction request that has already been generated and is awaiting completion by the consumer.
Currently, the Data Export API has a limit of 1,000,000 records in a single response and will default to pagination if the dataset is larger than this. To improve this functionality, please check KBA 3298660. It explains how to use the "pagesize" parameter as mentioned here: https://api.sap.com/api/DataExport_API/resource/getFactData.
In addition, Data Export job entries are subject to a 7-day retention period and are automatically removed from the Job Monitor after this period expires.
For additional information regarding Data Export entries in the Job Monitor, please refer to:
Keywords
KBA , LOD-ANA-ML-DI , Data Integration, Data Export API, Data Import API , How To
SAP Knowledge Base Article - Public