Choose a creation method and log on to SAP
Always record and test your script in a non-production SAP system. For the highest-quality recording, click only the SAP fields you want to include in the script. If necessary, practice a few times in SAP Fiori® application before you start to record in Studio. If you want to create a loop, be sure to type the first line item in the correct location for recording that SAP Fiori® app, and then click Insert Row, Create item, or Page down. It's good to record two line items, so that you can see the repeatable pattern.
- Click the File tab, and then click New.
- Click Fiori, and click Recording a Fiori App.
- On the Studio logon screen,
- The first time that you use Studio, Choose Fiori
System. SAP Shuttle Logon wizard
opens. Click Add System and enter the following details.
- Fiori System - Add System or select from drop down.
- Browser - Select checkbox in case of SAML based authentication.
- Launchpad address
- Client
- User name
- Password
- Language
- Save as auto logon credentials
- Click SAP system and select from drop down. Enter required details.
- Click Advanced Fiori Sign In. In the SAP Shuttle Logon box, choose your SAP system, and then type your client number, user name, and password. You may opt to select Save as auto logon credentials.
- Click Save Auto Logon.
- The first time that you use Studio, Choose Fiori
System. SAP Shuttle Logon wizard
opens. Click Add System and enter the following details.
- Click Sign In to Fiori.
Record the script
Once you Log on to SAP, the SAP Fiori® System name, SAP user, and Status is displayed.
- In the Data type box, choose the type of data file you want to use—an Excel worksheet.
- To use an existing data file for your script, check the I have an existing
data file box, and then click the folder icon next to the Data
file box and browse to the file that you want to use.Note: If the data file contains any PivotTables, 3-D charts, or custom XML, the file will open in read-only mode. To keep PivotTables and other elements in the file, open it in Excel and run it in Background Mode.
- To automatically map the fields to the data file, check the Auto map when recording is finished box.
- Click Start Recording.
- In the Fiori Recording Dialog window, select the Fiori
app and enter values in the fields that you want to include in the script.Note:
- Click Discard Recording, to stop the recording without finishing the script.
-
If the user has logged into the SAP Fiori® system previously using the browser, automatic login might occur due to stored cookies. Delete the cookies from the DesignTimeCookies folder if credentials are not requested (C:\Users\<username>\AppData\Roaming\WinShuttle\DesignTimeCookies)
- When you have finished entering data, click the Post or Save on the SAP Fiori® app and then close the Fiori Recording Dialog window. Use entry with fewer line items while recording.
For the next step, see Map the fields.
- Navigate to the SAP Script Editor where your script is open.
- Click File.
- Select New.
- In the dialog that appears, select Fiori as the template type.
- A Save dialog box will appear. Click Discard All Changes to delete the current script without saving.
Error appears if the user leaves Incoterm location blank in Manage Sales Order app during recording. These errors are still shown in the logs even if the error is fixed.
Record script that includes a loop
If you are recording a script that includes multiple line items for one set of header fields, follow steps 1-6 from the above section to record the script, and then do the following:
- Type information into the fields that will become the header, and then press Enter.
- Enter the data for the line item.
- Click the SAP Create Item or Insert Row button.
- Repeat steps 2-3 to enter the second line item. This creates a visible pattern that you can find in the Mapper. After you add the loop, you will disable the extra line item's rows in the Mapper.
You will add the loop when you map the fields.
- An error occurs if date fields are recorded using date time picker.
- Recording for editing and deleting operations is not supported in some of the SAP Fiori® applications.
- SAP Fiori® applications that redirect to SAP GUI for HTML screens, should be recorded as a SAP GUI for HTML app.