SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Customize Automation Generated Through Recorder

Customize sales orders creation (SAP GUI for Windows) bot which is generated using Recorder

Overview

🎓 beginner 20 min. SAP Build Process AutomationBeginnerSAP Business Technology PlatformFree Tier

You will learn

  • How to customize a recorder generated automation
  • How to use environment variables
Céline Audin C Céline Audin May 15, 2024
Created by March 19, 2023
Contributors

Prerequisites

Steps

Intro

In this tutorial, you will use the sales order project you created in the previous tutorial with the Recorder. You will customize the Create Sales Order automation and application to retrieve sales order data from an excel file that holds 20 entries and create a new sales order in SAP GUI for Windows.


Step 1 Customize the application

In SAP Build Process Automation, open your Create Sales Order project where you recorded the application using the Recorder.

  1. Select the Create Sales Order application.

    Generated application
    Generated application

  2. Select the capture containing the order details.

  3. Select the field containing Material.

  4. Rename the material field to Material Field.

  5. Select Remove the Id Criteria.

    Modify application fields
    Modify application fields

  6. Select Name to add it as a Criteria.

  7. Select Is a collection.

    Is a Collection icon
    Is a Collection icon

    Is a collection is used to declare a field as a column containing multiple fields rather than just one field.

    Modify application fields
    Modify application fields

  8. Repeat the steps 3-7 for the remaining five fields Order Quantity Field, Customer Group Field, Price Group Field, Price List Field and Storage Location Field.

    The application now recognizes Material, Order Quantity, Customer Group Field, Price Group Field, Price List Field and Storage Location Field as columns and not as fields.

    Modify application fields
    Modify application fields

  9. Now select on capture 3 the GUI table and choose Declare Element.

    Declare table
    Declare table

    The GUI table is declared and can be used to access certain activities necessary to customize your automation such as Get visible row count.

    Table declared
    Table declared

  10. Now select on the capture the Create Item button and choose Declare Element.

    Declare Create Item
    Declare Create Item

    The Create Item button is declared and can be used in your customized automation.

    Create Item declared
    Create Item declared

  11. Finally, select the Standard Order xxx has been saved status bar, change the name to Saved standard order number and choose Declare Element.

    Status bar declared
    Status bar declared

  12. Choose Save to save your work.

    You have completed declaring the elements necessary to customize your automation.

Step 2 Create environment variables
+
Step 3 Customize the automation
+
Step 4 Test your automation
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Customize the application 2. Create environment variables 3. Customize the automation 4. Test your automation

Learn more →