Thank you Sigrid! That worked perfectly. And very simple too. :)
Just as important, this gave me more clear insight as to how Winshuttle populates the data from the cell in the template to the SAP field.
I was under the impression that it acted as a cut-n-paste from the cell to the mapped field but the way this worked was to take the 2-digit alpha-numeric SAP-valid value in the template and "type" them sequentially into the field.
As I said in my post, I have never seen an SAP field operate like this one and thought it would be a deal-breaker for my use case but fortunately Winshuttle was able to deal with it!
Thanks again for the assist.
------------------------------
John Sekutowski | Analyst
Rockwell Automation
------------------------------
Original Message:
Sent: 12-17-2019 10:04
From: sigrid kok
Subject: VA02 - How to script changing the block condition?
Hi John
Don't have a pop-up for the block field, just a dropdown.
When I record, I pick one - where I would typically type one, i.e. its best practice to type your entries and not use lookups, etc, when you record..
I've tested the simple attached script, and it seems to work. Maybe it will work for you, too?
Best Regards,
Sigrid
------------------------------
Sigrid Kok
pse | Winshuttle North America
Original Message:
Sent: 12-16-2019 14:48
From: John Sekutowski
Subject: VA02 - How to script changing the block condition?
Hello All, I am new to Winshuttle and the Winshuttle Community. This is my first post.
I ran into an issue when scripting for VA02 when trying to change the delivery block condition. The field contains a popup dropdown when the cursor is placed in the field and does not allow text input. But if I type, in the example below, "Z" then "Y", the cursor would then go to the "Check assigned plant" and I can hit "Enter" to choose that value. If I have the user populate ZY in the template, will Winshuttle mimic the Z then Y typing or is more like a cut n paste? I have never seen an SAP field operate like this and was hoping you had a solution or advisement around this.
![]()
------------------------------
John Sekutowski | Analyst
Rockwell Automation
------------------------------