Record the Script - Automate_Studio - Latest

Automate Studio with Evolve User Guide

Product type
Software
Portfolio
Integrate
Product family
Automate
Product
Automate > Automate Studio
Version
Latest
Language
English
Product name
Automate Studio
Title
Automate Studio with Evolve User Guide
Copyright
2024
First publish date
2018
Last updated
2024-07-22
Published on
2024-07-22T13:07:48.665095

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.

  1. Click the File tab, and then click New.
  2. Click Fiori, and click Recording a Fiori App.
  3. On the Studio logon screen,
    1. The first time that you use Studio, Choose Fiori System. SAP Shuttle Logon wizard opens. Enter the following details.
      • Fiori System - Drop down displays the list of SAP Fiori® systems defined in Evolve. By default the drop down is empty.
      • Browser - by default selected for SAML based authentication and Logon Type is selected as Browser Based in Evolve.
      • Launchpad address -
      • Client
      • User name
      • Password
      • Language
      • Save as auto logon credentials
      Click OK.
    2. Click SAP system and select from drop down. Enter required details.
    3. 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.
    4. Click Save Auto Logon.
  4. 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.

  1. In the Data type box, choose the type of data file you want to use—an Excel worksheet.
  2. 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.
  3. To automatically map the fields to the data file, check the Auto map when recording is finished box.
  4. Click Start Recording.
  5. 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)

  6. 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.

Perform these steps to cancel and delete a script in SAP after choosing not to save changes.
  1. Navigate to the SAP Script Editor where your script is open.
  2. Click File.
  3. Select New.
  4. In the dialog that appears, select Fiori as the template type.
  5. A Save dialog box will appear. Click Discard All Changes to delete the current script without saving.
Tip: While recording the Post Good Receipt for PO, unwanted fields and data might appear in the mapper. Manually review and adjust the mappings to ensure accuracy. For apps like, Post General Journal Entry ensure data entry for at least one line item before clicking the Add button to avoid errors like No message returned by SAP.

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:

  1. Type information into the fields that will become the header, and then press Enter.
  2. Enter the data for the line item.
  3. Click the SAP Create Item or Insert Row button.
  4. 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.

Note:
  • 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.