on 06-19-2013 10:55 AM
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.
Copying checkbox values is something that appeared in Personas SP03.
Steve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steve,
after reading through your scenario description, I tried to reproduce it in GUIT (my favorite transaction for testing Personas features.).
Cheers,
Tobias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Tobias. At least I know it isn't me misunderstanding something. I'll leave this particular task and look at other things until a fix is available.
As for what further documentation is needed, then I would say we need more of everything. In the example of "if" I found it mentioned in a video how-to here on SCN but I've seen no other mention of it anywhere. Formal documentation of it, its capabilities and how to create it in the script editor should be available. For example, is it if-then or if-then-else? I can't tell. When you add it to an existing script, I can see than adding new steps afterwards become the "then" part, but how do I move an existing step to the "then". I'd say we need this documentation for all of the different step types. For many it is obvious how they are used and what they do, but sometimes I wonder if there are other less obvious capabilities.
The same is true, I think, for all of the UI components also. There are some things I've only found because I know they are there - I've seen you demo them, so I looked until I found them. One example of that is table caching. An an aside - is there a way of programmatically manipulating the object properties? Another example - the documentation describes how to link a text field and a button, but doesn't actually say what that linking achieves.
I think SCN is a great place for examples and how-tos in video or blog format. Once I'm a bit more familiar with it I'd be happy to blog some of my examples. But we do need much of this in the form of formal documentation also.
Steve.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.