Hi Phil -
When you say there's no error when running through the inputs manually you just mean directly in SAP, correct? Not if you run it in Debug mode? In Debug mode it stops at line 30?
It seems that in your script lines 28/29 is something that says "Display text immediately". I don't know what that screen is, I do not get a similar screen on my system when I try to replicate. If that is something that only shows up sometimes you could skip that screen.

Thanks!
------------------------------
Jennifer Hwang | SE
Winshuttle North America
------------------------------