Automate

 View Only
  • 1.  Strategy based task list - selecting maintenance packages

    Posted 06-28-2023 08:26

    Currently have a script that will select the proper check box for the proper maintenance package for a task list.  It works for up to 14 operations but will not recognize or update beyond 14.  I tried adding a page down option as well but that did not seem to update beyond the original 14 operations.  Any suggestions would be very helpful as some task lists can have up to 90 operations. 



    ------------------------------
    Rex Campbell
    Energy Transfer Partners, LP
    TX
    ------------------------------


  • 2.  RE: Strategy based task list - selecting maintenance packages

    Employee
    Posted 06-28-2023 12:17

    Hi Rex

    In order for us to see if we can help you, can you please provide a bit more information? 

    The tcode? 

    A screen shot of where you're not able to script beyond 14 rows? 

    The script you have so far?

    TIA,

    Sigrid



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



  • 3.  RE: Strategy based task list - selecting maintenance packages

    Posted 06-28-2023 12:50

    Here is the script I have so far.  Basically if I try to reference RIHSTRAT-MARK01(15) or higher, the script errors saying that the field does not exist using IA06. 

    If I use a page down option, it does scroll but it still does not recognize the field and if I try to use RIHSTRAT-MARK01(1) it still references the original field.

    Perhaps I need to use OBSE to reference the right sequence then perhaps it might work, not exactly 100% sure as I have not tried that yet. 

    I stumbled upon that in one of your other answers.  Would like to avoid using GUI mode if possible. 

     

     






  • 4.  RE: Strategy based task list - selecting maintenance packages

    Posted 06-28-2023 14:03

    Nevermind, I tried a different way and it worked.  Thanks anyway.



    ------------------------------
    Rex Campbell
    Energy Transfer Partners, LP
    TX
    ------------------------------



  • 5.  RE: Strategy based task list - selecting maintenance packages

    Employee
    Posted 06-28-2023 15:10

    Hi Rex,

    It's great you have it working. 

    If you have the time to share how you got it to work, it may be helpful for someone else.

    I suspect that SAP is reusing the row numbers.  After filling in row 1-14 and hitting page down, it is row 1-14 again, but that can vary based on the tcode and tcode area.

    Best Regards,

    Sigrid



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



  • 6.  RE: Strategy based task list - selecting maintenance packages

    Posted 06-28-2023 15:29

    I must have used the wrong code but need to fine tune script before posting, =P+ somehow worked this time whereas before it did not.  Could be my conversion from GUI to non gui in addition to the right page down code was the trick.