on 2013 Jun 19 4:39 PM
Hello scripting family!
I currently run SAP transaction KSII - Price Calculation. I have a script in place to run t-code KSII as a "Test Run", then, i select the back button and when the pop-up comes up to ask if I'd like to post the Price Calculation, my script selects Yes. Then when the pop-up comes up that says that the Price Calc has posted, my script presses the Enter button. But, if there is an error an extra pop-up box comes up that says "Do you want to post despite errors?". But, my script is set up to just hit enter because it expects the pop-up that tells me that it posted. Does anyone know of a code that will do the following:
IF a pop-up box comes up that says "Do you want to post despite errors", THEN select YES. IF NOT, then continue with the next code (or just press enter).
Any help is greatly appreciated!! 🙂
Thanks,
Chris
Hi Chris,
each window has a title. This one can ask for.
for example:
if session.findById("wnd[1]").text = "Errormessage" then
. . .
else
. . .
end if
Regards,
ScriptMan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.