[Python] Automating SAP ERP Transactions with Python: Need Help Clicking Elements That Can't...

Discussão em 'Python' iniciado por Stack, Setembro 25, 2024.

  1. Stack

    Stack Membro Participativo

    I'm trying to automate some tasks in SAP ERP using Python to speed up my workflow. Specifically, I need to run transactions like ZLA6, but I'm having trouble with clicking certain elements on the screen, like boxes and buttons, that I can't access with Tab and Enter commands.

    I've been using Python for about half a year, so I'm still quite new and would appreciate any advice on how I can solve this problem, especially from those who have experience automating tasks in SAP. I am using a windows 11 computer and I am writing my code through VS-code.

    I'm using this automation to make my work more efficient, so any help or pointers would be greatly appreciated!

    Thank you!

    I tried using Python code that relies on screen coordinates to click elements, but this approach isn't reliable for me since I use different screens (monitors, resolutions, etc.), and the coordinates don't stay consistent.

    Is there a better way to programmatically click on these elements in SAP, maybe by identifying them directly rather than using screen coordinates?

    Continue reading...

Compartilhe esta Página