SAP Message RSAODS207 - Incorrect call sequence of the function module RSAR_ODS_API_GET

Diagnosis
You have called up PSA data from function module RSAR_ODS_API_GET
with the set parameter I_NEXT_FETCH.
Parameter I_NEXT_FETCH means, that you request the next datapacket. All other parameters are, therefore, ignored.
You must first call up this module with the selection parameters.However, this was not the case.

Procedure
Remove the error from your application program.