Automate

 View Only
  • 1.  ZPMM_CIF and NO_INPUT_VALUE

    Posted 10-22-2020 17:09

    Hello community,

    I'm currently working with evolve to create a form for the creation of new vendors.  Using the t-code ZPMM_CIF I should be able to enter a vendor number and make some connections then exit out.  If recording in standard mode after everything is don't winshuttle errors with a NO_INPUT_VALUE.  If recording it batch mode it will end preemptively and not hold any changes.  Has anyone run into this error before.

    0




    ------------------------------
    Scott Fouss
    Associated Shared Services Analyst | Leprino Foods
    ------------------------------


  • 2.  RE: ZPMM_CIF and NO_INPUT_VALUE

    Employee
    Posted 10-23-2020 09:28
    Hi Scott

    Can only guess since I don't have this custom tcode. 

    For the non-batch recording, is the Start SAP GUI checkbox checked?  Typically that's done for you for standard tcodes, but likely not for custom tcodes

    If that doesn't work, I'd suggest GUI scripting, unless there is a BAPI that does the same thing.

    Best Regards,
    Sigrid

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



  • 3.  RE: ZPMM_CIF and NO_INPUT_VALUE

    Posted 10-23-2020 17:32

    Hi Sigrid,

    In the non-batch I'm unable to get to the point of selecting the Start SAP GUI.  I'm unable to create the script to start.  Normally when I'm creating scripts the SAP GUI is not checked after the script is made.

    Tried to do the GUI scripting and the chain of text boxes I get after selecting Start Recording is "A script is attempting to access SAP GUI" to "A script is opening a connection to system: *****" to "Error: The script could not be attached to SAP GUI" and then it stops the recording attempt.  As far as I know there is no BAPI for this.

    Thanks in advance,

    Scott



    ------------------------------
    Scott Fouss
    Associated Shared Services Analyst | Leprino Foods
    ------------------------------



  • 4.  RE: ZPMM_CIF and NO_INPUT_VALUE

    Employee
    Posted 10-23-2020 18:06
    Hi Scott

    Sorry to hear non-batch and batch don't work.

    With GUI scripting, you have to enable it in SAP - your SAP Basis person would do that. 

    And you need to enable it in your SAP GUI options:
    Please check to enable it and uncheck any notifications.

    Please note, however, that GUI scripting scripts cannot be used in a form.  It might be best to check with your Basis team to see if they can either (1) adjust the tcode to work without GUI scripting or (2) provide a BAPI to automate this custom tcode.

    Have  a nice weekend!
    Sigrid


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