Skip to content

Instantly share code, notes, and snippets.

/**
* getDataCollections(sfcNumber, plant)
*
* Fetches all Data Collection records for a given SFC number and Plant
* from the SAP DMC SFC Reporting API.
*
* Must be run in the browser context of the SAP DMC application
* (uses the existing session cookies for authentication).
*
* @param {string} sfcNumber - e.g. "2102406-19"