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-10-09
Published on
2024-10-09T14:58:14.549846

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 you want to create a loop, be sure to type the first line item in the correct location for recording that 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 GUI for HTML, and select one of the following.
  3. Complete the required steps as per your selection.
  4. Click OK.

Create from SAP Easy Access Menu

When you select Create from SAP Easy Access Menu, follow these steps.

  1. To create script from SAP Easy Access with the web version of SAP Logon pad. SAP Shuttle Logon wizard opens when there is no system saved. In the WebUI System Details enter the details and Click OK. In the Instructions for creating a script from SAP Easy Access Menu, enter the following details:
    1. SAP system
    2. Launchpad Address
    3. Client
    4. Language
    5. Data type

    Click Advanced SAP Logon to save the system details.

    Tip: To fetch the Launchpad Address URL, Login to the SAP Logon application on your machine and connect to the desired server. Search webgui in the drop-down and it redirects to SAP Easy Access URL.
  2. On the SAPNetWeaver screen enter the details and click OK.
  3. In the Record Web UI or SAP GUI App window,

    Enable menu settings to show T-codes in the drop down for SAP Easy Access.

    1. In the Menu drop down, click Settings.
    2. Expand Interaction Design option, and select Visualization.
    3. In the Header Area, enable the toggle for Show OK Code field.
    4. Click Save.
  4. Select the SAP GUI 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 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).

  5. Enter data and click Post or Save on the SAP app and then close the Record Web UI or SAP GUI App window.

    For the next step, see Map the fields.

    If you make a mistake and decide to click Cancel in SAP, you can delete the script after it opens by clicking File, clicking New, clicking GUI for HTML, and then clicking Discard All Changes in the Save box.

Create from SAP GUI for HTML app

When you select Create from SAP GUI for HTML app, follow these steps.
  1. On the SAP Shuttle Logon screen, the following details are displayed. Fill these details and click OK.
    • Connection Name
    • Launchpad address
    • Client
    • Language
  2. To create script from GUI for HTML apps with Fiori launchpad. SAP Shuttle Logon wizard opens. In the WebUI System Details enter the following credentials:
    1. Fiori system
    2. Launchpad Address
    3. App ID
    4. Client
    5. Language
    6. Data type

    Click the Advanced Fiori Sign in box to add details.

  3. In the Data type box, choose the type of data file you want to use—an Excel worksheet.

  4. 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.
  5. To automatically map the fields to the data file, check the Auto map when recording is finished box.
  6. Click Start Recording.
    Note:
    • Click Discard Recording, to stop the recording without finishing the script.
    • If the user has logged into the 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).

  7. Enter data and click Post or Save on the SAP app and then close the Record Web UI or SAP GUI App window.

For the next step, see Map the fields.

If you make a mistake and decide to click Cancel in SAP, you can delete the script after it opens by clicking File, clicking New, clicking GUI for HTML, and then clicking Discard All Changes in the Save box.

When recording scripts for SAP GUI for HTML and the Easy Access menu, the sequence of fields in the mapper grid batches may vary. These variations result from network calls, internet speed, and system environment.

Ensure the validation-related call is recorded during script recording for successful execution.

Click Discard Recording, to stop the recording without finishing the script.

If the user has logged into the 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.

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