Skip to Content
Jul 18, 2013 at 04:31 PM

How do you deal with variable screen flow in a Personas script?


There are many occasions where the screen flow through a transaction varies for a number of reasons. One situation that seems like it might affect Personas scripts quite often is where a transaction asks for extra information the first time you run it after login, but remembers that subsequently, at least until you logout and back in. My particular example today is transaction ME2J - Purchasing Documents per Project. The first time you run this is asks for a database profile, and subsequently does not.

How, in a Personas script, can you detect this extra pop-up and fill in the necessary information when asked for, but carry on anyway if the pop-up doesn't appear? I don't immediately see a way to detect the presence or absence of this pop-up.