I’ve spent several days trying to resolve an issue with the Robot Framework while using it on my work laptop. The laptop is managed by a Swiss university and has SAP Logon 800 installed and administrated by their IT team.
I’ve enabled scripting, successfully connected to SAP, and managed to run the code that opens SAP Logon and connects to the quality server as intended. However, when attempting to insert a username using the following command:
bash
Code kopieren
Fill Text Field Benutzer ${USERNAME}
I receive the following error:
The text field could not be filled. The server threw an exception. (0x80010105 (RPC_E_SERVERFAULT))
I’ve also tried other commands, including executing a transaction in SAP after logging in, but all attempts resulted in the same error.
I attached a screenshot of my code below…
I would greatly appreciate any guidance or solutions to help resolve this issue.
Hi there, the presenter_mode=True does not make any difference, even if I put it in or not. It is there to highlight the action of the commands in SAP.
I believe this is the important part of the error message:
It’s not robot framework but rather the SAP server that’s giving the error.
From what I know about SAP GUI scripting, enabling the scripting has to be don both on the SAP GUI client (it appears you’ve done this?) and also on the SAP server, which is also mentioned on the robotframework-robosapiens page.
Unfortunately this error is coming from SAP, so it’s outside robot framework, maybe someone with experience with this library can help
In the meantime, I did a search for SAP GUI scripting RPC_E_SERVERFAULT and found quite a few threads on community.sap.com about this error with the same number, none of the ones I looked at jumped out at me saying this is probably the issue, but it’d be worth while you doing the same search and reading those, as it may help you find the answer.
Thank you for your pleasant answer. Unfortunately, I still did not found a solution to my problem on the SAP community side and other related threads and discussing about
SAP GUI scripting RPC_E_SERVERFAULT
It definitely roots in SAP and its permissions, however since scripting is allowed on the client and server side, I have no clue, where the problem could lie… Maybe someone else will have an idea…