Automate

 View Only
  • 1.  Is it possible to create text on an existing quotation using the transaction VA22

    Posted 07-18-2023 09:39

    Dear All,

    We have to update many quotations and we were wondering if it's possible to do it with Winshuttle Studio.

    I tried it but it's not working. I got a message that it was saved but nothing was really saved.

    Atttached is are screenshot and recorded program.

    Kind Regards,

    Marcel



    ------------------------------
    Marcel Dohnjenkah Gwangwaa
    Vitra IT Services GmbH
    ------------------------------

    Attachment(s)

    Txr
    VA22_Text_Update.Txr   981 KB 1 version
    xlsx
    VA22_Text_Update.xlsx   5 KB 1 version


  • 2.  RE: Is it possible to create text on an existing quotation using the transaction VA22

    Posted 07-20-2023 05:48

    Hi Marcel,

    If you have the winshuttle function module you can also use the add longtext option, which is much easier.

    If you don't have that installed, make sure you go back to the quotation header before pressing save. Now you're saving before the text is entered so the last part of your script will never been taken into account. 

    Kind regards,

    Rick Compen



    ------------------------------
    Rick Compen
    Lumileds Netherlands B.V.
    Eindhoven
    ------------------------------



  • 3.  RE: Is it possible to create text on an existing quotation using the transaction VA22

    Employee
    Posted 07-25-2023 20:42

    Hi Marcel

    I agree with Rick that the Function module way to choose and upload/download long text is the best way to go.

    The two areas that are not easily captured in standard recording modes are (1) the selection of the text type (2)  working with any editor other than the line editor.  With the line editor, you have to break it into 72 character lines.  It's not easy, which is why we have the Function Module method for a number of tcodes.   Here is the documentation for that feature for Studio 20.3:  https://help.precisely.com/r/Automate-Studio/20.3/en-US/Automate-Studio-with-Connect-User-Guide/Transaction/Map-Fields/Add-Long-Text 

     If you don't have the Function Module, you could:

    (1) try a BAPI - for example:  RFC_SAVE_TEXT or RFC_READ_TEXT  (it's technical but it can work)

    (2) try using GUI scripting mode

    Hope that helps,

    Sigrid



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