cancel
Showing results for 
Search instead for 
Did you mean: 

Problem: Record Pop-Up windows from SAP

erhan_boztas72
Explorer

Hello everyone,

we have an iRPA solution that has a problem detecting a popup from SAP with a Microsoft windows GUI.

In our automation, we want to attach the PDF of the invoice to the corresponding invoice document. The bot first creates the document and then tries to attach the PDF to it in the second step.

Procedure:
The "ArchiveLink: Management of stored documents" window is opened via the "oaad" transaction in SAP and the "Save and assign" button is clicked.

(see following screenshots)

ArchivLink

This opens the new window "ArchiveLink: File and Assign opens" and previously created values are entered and the Create button (top left) is clicked.

Then the first pop-up opens: "Key SAP document" Here, too, the bot enters the corresponding data of the document just created and the confirmation button (green tick) is clicked.

ArchiveLink erstes PopUp

This opens another popup: "File storage in documents", where a file path is to be entered in the input field and then click on Open.

ArchiveLink zweites PopUp

Now in this step with this pop-up we have the problem that the bot does not find or recognize the window.

We have included the pop-up like this (see the next two screenshots) because the pop-up is generated by the SAP GUI applications "ArchiveLink: Store and Assign Open", but itself can only be recognized as UI Automation.

Capture one

Capture two

We have already tried to include the FileUpload pop-up as a separate application, to open it in the window of "ArchiveLink: Store and Assign Open" window (it is displayed there as elements in the background) and to control it as a subscreen of ArchiveLink or as it is now as a subscreen of "Key SAP Documents" but never could the pop-up "Store files in documents" be recognized in the automation (there is always a timeout when the pop-up "Store files in documents" is to be accessed).

Capture otherway

Steps in CloudStudio

This is especially surprising since the window is found via the test mode for applications and commands can be executed on it.

Test Mode Capture Screen

Second Test Mode Capture Screen

can someone help us Tell us what can be the reason or how we can detect, control and use the "Save files in documents" pop-up also in automation?

Sincerely


Erhan

Accepted Solutions (0)

Answers (7)

Answers (7)

sobb
Discoverer
0 Kudos

Hello,

I'm also facing a similar problem, did you find any resolution to this?

Thanks

eshita_mahajan
Employee
Employee
0 Kudos

Hi efendi

Do you still face this issue? If yes, can you please drop me a message in my Inbox.

Please do check installing the latest version of Desktop Agent 2.0.25.75 and update the dependencies.

Kind Regards,

Eshita

0 Kudos

We did not change anything with the automation, and we tried using it in another automation to maybe work around this issue, but we could not find a solution.

We also tried capturing the FileUpload-PopUp-Screen (UI Automation) manually as a subscreen of “ArchiveLink: Ablegen und Zuordnen” (GUI Automation), because we thought maybe with the new Update and the Recorder apparently able to record UI Automation as a subscreen of a SAP GUI, we could solve it this way, but this way it does not even find the FileUpload-PopUp-Screen to capture.

Is there anything we can do to get this automation to run, or do you guys have any other tips we could try?

Thanks, in advanced!

0 Kudos

If we chose UI Automation, the recorder recognizes the FileUpload-PopUp-Screen and generates the automation, BUT when you then try and run the automation, the first time the window will get recognized and the process is successful, but as soon as we start the automation a second time the automation doesn’t find the FileUpload-PopUp-Screen and fails (with the usual Exception “Timeout Waiting for FileUpload-PopUp-Screen”).

0 Kudos

Even if we try and capture it manually, we always get the Same Error:

0 Kudos

Hello,

Thank you for your recommendation of the cross-technology recorder, but we are still facing some problems.

The FileUpload-PopUp-Screen we want to capture is being opened as a subscreen of “ArchiveLink: Ablegen und Zuordnen”. Therefore, we must start recording the process starting from this Screen “ArchiveLink: Ablegen und Zuordnen”. If we chose SAP GUI for the Capture, the recorder doesn’t recognize the FileUpload-PopUp-Screen and gets stuck, like in the second picture.

eshita_mahajan
Employee
Employee
0 Kudos

Hi erhan_boztas72,

Did you try to capture the popup manually?
I recommend to use the cross-technology recorder which can seemlessly record SAP GUI and UI Automation technology. It was released in 2205 version. So, you can now try to record the applications using the recorder and check if the issue still persists.

Kind Regards,

Eshita

0 Kudos

Thanks for the answer! The proposed approach does not lead to the solution. I described the error message and the problem above in the comments. Can you help us?