Skip to Content

Control Not Found

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 31, 2018 at 05:02 PM

    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).


    Add comment
    10|10000 characters needed characters exceeded