Automate

 View Only
  • 1.  winshuttle working with word pop up

    Posted 07-10-2025 16:12

    I am trying to create a script where I add or change additional data text for sales data in t-code XD02. Sap is set up when you click change it opens the text in a word pop up. How would a write a script to interact with this attached is the script I am trying to work with. It is a GUI script. 



    ------------------------------
    Carlos Velez
    Southwire Company, LLC
    ------------------------------

    Attachment(s)

    xlsx
    XD02_20250710_153614.xlsx   5 KB 1 version
    TxR
    XD02_20250710_153614.TxR   647 KB 1 version


  • 2.  RE: winshuttle working with word pop up

    Posted 07-11-2025 10:32

    Hi Carlos,

    I've found it works best to switch to the standard text editor. The Word pop up will cause problems.

    Using the standard text editor also allows you to target .txt files for uploading with the GUI scripting.

    Thanks,
    Derek



    ------------------------------
    Derek Sayres
    Manager, Data Analytics
    Entegris
    ------------------------------



  • 3.  RE: winshuttle working with word pop up

    Employee
    Posted 07-14-2025 10:20
    Edited by Sigrid Kok 07-14-2025 10:21

    Hi Carlos,

    Derek is correct. There are occasions where it's not really an SAP window anymore - the Word editor and also navigating a Windows pop-up to save reports. We cannot capture those in a recording, because it's no longer an SAP application.

    There are options to use the line editor, as well as saving the report as a text file using a simple pop-up that provides the path and file name to export.

    For long text, if you have the Function Module installed, you should be able to use the long text feature for XD02 - please see the documentation here: https://help.precisely.com/r/n/Automate-Studio/Connect/Latest/en-US/Automate-Studio-with-Studio-Administrator-User-Guide/Add-Long-Text 

    Best Regards,

    Sigrid



    ------------------------------
    Sigrid Kok
    *Precisely Software Inc.
    ------------------------------