Hi Tamas,
Thanks for your quick response. My script looks identical to yours, save for the [1] after dockcnt in both steps. As I mentioned before, the button originally worked fine, then stopped working. When I recreated it, it worked fine again and then stopped. Now it won't work at all. I found a reference to the issue in OSS note 1884539:
"Script Execution - Controls Not Found.
Certain screens like ME21N and other SAP Enjoy transactions have different sub screen IDs
depending on the expand/collapse state of the panels (like header, items, etc.,). Scripts that
use IDs of controls from these screens can fail if the control is not found in a particular
state of the screen."
I assume this is still a known limitation unless someone can advise otherwise.
As for the HTML control, I probably did not explain very well. I can hide the entire control as well, but what I really want to do is just get rid of the top portion in some fashion - the part right above the Get My Purchas Reqs button - I need to keep the portion under that.
If that is what you were able to hide, please give me the steps to reproduce.
Thanks!
Jeremy