Automate

 View Only
  • 1.  VA01

    Posted 05-12-2021 06:57
      |   view attached

    I have scripted VA01 to create credit/debit memos with "create with reference", in this case the billing doc.  The script works flawlessly if "copy" button is selected; however, if "Item Selection" path is followed to select only individual lines and which are then copied the script fails.

     

    The error is:

     

     

    I am attaching the script.  It stops at line 30 screen SAPMV45A - 4001.  There is no error screen when running through the inputs manually.

     

    Needless to say, scripted work-arounds are painful.

     

    Thanks,

     

    Philip Godshalk

     

     




    CONFIDENTIALITY NOTICE: This email and any attachments are for the
    exclusive and confidential use of the intended recipient. If you are not
    the intended recipient, please do not read, distribute or take action in
    reliance upon this message. If you have received this in error, please
    notify us immediately by return email and promptly delete this message
    and its attachments from your computer system. We do not waive
    attorney-client or work product privilege by the transmission of this
    message.

    Attachment(s)

    Txr
    VA01_20210511_113151.Txr   592 KB 1 version


  • 2.  RE: VA01

    Posted 05-12-2021 09:12
    Hi Phil -

    When you say there's no error when running through the inputs manually you just mean directly in SAP, correct? Not if you run it in Debug mode? In Debug mode it stops at line 30?

    It seems that in your script lines 28/29 is something that says "Display text immediately". I don't know what that screen is, I do not get a similar screen on my system when I try to replicate. If that is something that only shows up sometimes you could skip that screen. 


    Thanks!

    ------------------------------
    Jennifer Hwang | SE
    Winshuttle North America
    ------------------------------



  • 3.  RE: VA01

    Posted 05-12-2021 09:52
    Hi Phil -

    Skip screen is a property within the mapper. Documentation can be found online here: https://docs.winshuttle.com/studio-en-12-1-x-online-help-studio-w-connect/12/skip-screens-if-not-present.htm 

    Thanks!

    ------------------------------
    Jennifer Hwang | SE
    Winshuttle North America
    ------------------------------