To generate a demand history, you can either enter historical data from SAP Customer Relationship Management (SAP CRM) or from SAP ERP or from both systems.
For more information, see:
Historical Data Capture with SAP CRM
Historical Data Capture with SAP ERP