Automate

 View Only
  • 1.  FB02 TEXTS IN ACCOUNTING DOCUMENT ADD

    Posted 07-20-2020 22:17
    I am working on a script to add text to a document. I am recording in GUI scripting mode to look for the needed field. When I add the text into the box it dose not save the text when running the script. I noticed if I double click on the text area it will open into word for long text.  

    Thanks for you help in advance.



    ------------------------------
    Benjamin Kielas | Data Lead
    Generac Power Systems, Inc. | 2625106580
    ------------------------------


  • 2.  RE: FB02 TEXTS IN ACCOUNTING DOCUMENT ADD

    Posted 07-21-2020 04:34
    I had the same problem in VA01. With VA02 I had to put the text with add longtext to get it right.


    ------------------------------
    PP Wortman | Master Data
    Dekker Zevenhuizen B.V. | 0612608007
    ------------------------------



  • 3.  RE: FB02 TEXTS IN ACCOUNTING DOCUMENT ADD

    Employee
    Posted 07-21-2020 08:44
    Hi Benjamin

    Double clicking into the "word processor" like entry will require GUI scripting.

    There is also an option in most tcodes to use a line editor - which would require breaking it into 72 characters.

    But if you are on version 12.1, you can easily enter long text via functionality in the Winshuttle Function Module.  Here is the documentation:  https://docs.winshuttle.com/studio-en-12-1-x-online-help-studio-w-connect/12/Record-long-text.htm
    You would record a simple FB02 script and the simply choose the long text you want to add to it.  It will add key fields and they take care of uploading/downloading the long text.  
    If you have access to our online training (open a support ticket if you do not), there is a short session covering this functionality here:  https://winshuttle.ancileuperform.com/gm/folder-1.11.5843?mode=EU&originalContext=1.11.1834

    Best Regards,
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------



  • 4.  RE: FB02 TEXTS IN ACCOUNTING DOCUMENT ADD

    Posted 07-21-2020 12:15
    Thank you for this information. I was able to collectively create the script with all the feedback.

    ------------------------------
    Benjamin Kielas | Data Lead
    Generac Power Systems, Inc. | 2625106580
    ------------------------------



  • 5.  RE: FB02 TEXTS IN ACCOUNTING DOCUMENT ADD

    Posted 07-21-2020 08:46
    Hi Benjamin,

    For trx FB02 is long text functionlity also available.
    Make a recording for FB02. Open the recording in Winshuttle Studio.
    Go to Map and choose Add Long Text from the menu.
    A screen pops up where you can select the long texts you want to add in the script.
    For using this the Winshuttle Function Module must be installed. (At least corresponding to your Studioversion of higher level. Preferable the highest available version.)

    Sigrid was faster. :-)

    ------------------------------
    Jan van Asseldonk | Consultant
    CTAC | +31629078169
    ------------------------------



  • 6.  RE: FB02 TEXTS IN ACCOUNTING DOCUMENT ADD

    Posted 07-21-2020 12:15
    Thank you for this information. I was able to collectively create the script with all the feedback.

    ------------------------------
    Benjamin Kielas | Data Lead
    Generac Power Systems, Inc. | 2625106580
    ------------------------------



  • 7.  RE: FB02 TEXTS IN ACCOUNTING DOCUMENT ADD

    Employee
    Posted 07-21-2020 15:40
    Glad you got it sorted out, Benjamin!

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------



  • 8.  RE: FB02 TEXTS IN ACCOUNTING DOCUMENT ADD

    Posted 07-21-2020 12:15
    Thank you for this information. I was able to collectively create the script with all the feedback.

    ------------------------------
    Benjamin Kielas | Data Lead
    Generac Power Systems, Inc. | 2625106580
    ------------------------------