Skip to Content
0

Control Not Found

Jan 19 at 01:55 PM

64

avatar image

I'm making a Flavor for PA20 to Display Employee Profile. I wrote a script to select a series of InfoTypes, fetch data and display on one screen. The script works - until I log off and log back in. Then I get a Backend Error "control not found".

Step 1 - The script looks at data input field (Direct Selection InfoType) and fills with value "0001".

session.findById("wnd[0]/usr/tabsMENU_TABSTRIP/tabpTAB02/ssubSUBSCR_MENU:SAPMP50A:0400/subSUBSCR_ITKEYS:SAPMP50A:0350/ctxtRP50G-CHOIC").text = "0001";

So I write the code again, using the Object Inspector - it looks exactly the same. Now it works. But, if I log out and log back in, it happens again.

In order to make the script work again, I have to do this to every line of code.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Cristiano Hansen
Mar 31 at 05:02 PM
0

Hello Robin,

Please have a look at KBA 2165379.
Most likely the solution will be available through a kernel patch.
It might be also possible, depending on the kernel version used, to apply only the SAPWEBGUI package (KBA 2221289).

Regards,
Cris

Share
10 |10000 characters needed characters left characters exceeded