Skip to Content

Control Not Found

Jan 19 at 01:55 PM


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.

0 Answers