Framework/Library that can handle 'sapEvents'?

Hello everyone!

Does anybody now of any frameworks that can use the SAP internal ‘sapEvent’?

I’m currently struggling with the automation of a specific area, inside a non-standard SAP module. RoboSAPiens does not recognize it, neither do several other tools like tosca. It seems to be an HTML container on which SAP uses an ‘sapEvent’ to control the actions (a dropdown menu and a text field).

I’ve also already tried using a win32Com to get the SAP session and run the sapEvent that way, but to no avail. As far as I can tell according to the SAP Doc (sapevent doc) the usage of sapEvents in script is somewhat restricted. I was wondering if there was already a tool that can handle the interaction.

Help would be greatly appreciated

Hi Robertson,

Welcome to the community,

When you say sapEvents, do you get a web page that when you interact with elements on the page it makes HTTP POST requests which have a post form key of SAPEVENTQUEUE and some horribly encoded data that contains WD values in the format of WD followed by 2 or 4 hex numbers? If so yeah I’ve seen those.

I would suggest manually with a web browser logging in to one of the SAP web interfaces (Fiori, NWBC-WEB, or WEBGUI) and try to use one of those to launch the app either by name or TCode. If you can get that to work the use Browser Library or Selenium Library to automate it would likely be your best option.

Hope that helps,

Dave.

Thank you Dave, I think what your describing is very similiar to the issue I’m facing. I think I’ll propably not have options left apart from going through the webbrowser.