Record the Script - Automate_Studio - Latest

Automate Studio with Studio Administrator User Guide

Product type
Software
Portfolio
Integrate
Product family
Automate
Product
Automate > Automate Studio
Version
Latest
ft:locale
en-US
Product name
Automate Studio
ft:title
Automate Studio with Studio Administrator User Guide
Copyright
2025
First publish date
2018
ft:lastEdition
2026-01-13
ft:lastPublication
2026-01-13T10:57:58.991000

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 you use Studio, Choose Fiori System and SAP Shuttle Logon wizard will open. 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 OK.
    2. Click SAP system and select from drop down. Enter the 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.
    Tip: Always log in to the SAP Fiori® system using your user credentials. Since access is done in incognito mode, your credentials will not be saved automatically.

Record the script

Once you Log on to SAP, the SAP Fiori® System name, SAP user, and Status is displayed.

  1. From the Data type dropdown menu, select the required data type - Web-Form (XML), or Excel Worksheet, or SAP API (JSON) .
  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. Choose the Recording Level as either Standard or Basic. The default Recording Level is Standard.
    Tip: Standard Recording mode is included in Automate Studio v25.1 and later versions. It offers more advanced features than the Basic Recording mode.
  5. If necessary, select Launch OData Dialog to display the fields captured during recording, organized in a hierarchy based on the OData metadata of the corresponding Fiori® app.
    Note: Launch OData Dialog is available only when the recording mode is set to Standard. For more details on OData, refer to OData.
  6. Click Start Recording.
  7. 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.
    • Click Regenerate to restart the recording process from the beginning, replacing the current recording.
    • If a 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. You can find this folder at C:\Users\<username>\AppData\Roaming\WinShuttle\DesignTimeCookies.
  8. 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.

If you choose not to save the changes, perform the following steps to cancel and delete a script in SAP:
  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.
Restriction:
  • 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 during its workflow should be recorded as a SAP GUI for HTML app.
  • For certain Fiori® Apps, such as Bill of Material and Manage Product Master Data, the Long Text fields are not being recorded in the script across multiple S/4 HANA versions (2021, 2022, and 2023).

Handling Start and End Date fields for activity type hierarchy

In certain apps such as Manage Global Hierarchies, if the hierarchy type is Activity, there is no section available to input the Start Date and End Date. Despite this, in Automate Studio, these fields appear in the mapper because they are included as part of the payload (network call). Since these fields cannot be skipped or hidden in the payload, you have the following options:
  • Using a script for all hierarchy types: If a script (for example, Manage Global Hierarchies app) has been created for all types of hierarchies, then Date fields are not needed for the Activity Type. In this case, you can use a skip indicator to avoid filling in the values for Start Date and End Date. The hierarchy details will be saved as expected.
  • Using a script for only Activity type hierarchy: If you are using a script specifically to create an Activity Type hierarchy, you can manually delete the Start Date and End Date fields from the Mapper as a one-time step. After doing this, the script will successfully post the other required parameters. This helps ensure the payload is properly structured and avoids processing unnecessary data.
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 the steps 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.