You can generate a Fiori-based SAP API script using the SAP API (JSON) data type.
- Click the File tab, and then click New.
- Click Fiori.
- In the Data Type drop-down, select SAP API (JSON).
- Browse to select the data file.Note: If you have an existing .json or .txt data file, check the I have an existing data file box and browse to select the file.
-
Click Start Recording and complete the recording in SAP. After recording, the mapper shows the Upload Type.
-
In the Mapper, the Upload Type is set to Single by default. You can change this to Bulk if needed.
- Toggle the SAP API (JSON) data source to generate a JSON payload based on the selected upload type.
- Click Generate to regenerate the payload if any changes are
made in the Mapper.Note: Only Fiori scripts with a JSON data source are supported for SAP Data API creation. If a non-Fiori script is selected, a notification prompt will appear. After submission, the API will be listed in the SAP Data API solution page in Evolve.