cancel
Showing results for 
Search instead for 
Did you mean: 

Control Not Found

robin_denning
Explorer
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

cris_hansen
Advisor
Advisor
0 Kudos

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