I'm trying to simplify the transaction MK02 (change vendor master) by bringing data from several different places to the main "Display Vendor: Address" screen of the transaction. Ultimately the transaction will be called by a script initiated by a button on SMEN, and that script will pull all the data together before giving the user control. I'm doing pretty well with this so far, but have hit a problem with the blocked and deleted flags. These are accessed via the "Extras" menu, and the "Blocked data" and "Deletion flags" options.
I can navigate to those screens and do a "Copy Value" on each checkbox, but I always seem to get the value "False" whether the checkbox is checked or not. At least, when I paste the copied value into a text field, that's the value I get. Is there something different I need to do to get the value of a checkbox?
And then I want to replicate these checkboxes on the initial screen. I've created some new checkboxes with appropriate labels. Once I've got the correct values, how to I set them on my new checkbox objects? Pasting values to those objects sets the labels not the state. There are "Check" and "Uncheck" actions for scripts, so I guess I need to use an IF and the appropriate check/uncheck action. I haven't really figured out, though, how IF actions work. Can anybody help me with this?
As a general point, the scripting capabilities of Personas needs much better documentation...
Thanks,
Steve.