Innovative Transaction Scripting Start thinking “out of ... · PDF fileWinshuttle User...
Transcript of Innovative Transaction Scripting Start thinking “out of ... · PDF fileWinshuttle User...
Innovative Transaction Scripting – Start thinking “out of the box” Jason King | Johnsonville Sausage
Winshuttle User Group | San Diego 2013
Agenda
About Johnsonville Sausage
About me
Can we use Winshuttle for that?
Scheduling Scripts
Linking Scripts
Using “Logic” fields
Creative publishing for RUNNER
Multi Transaction scripts with GUI Scripting
Demos and Q&A
Winshuttle User Group | San Diego 2013
SAP at Johnsonville
ECC 6.0 EHP 6
APO
CRM
HR/PR
PLM (SAP DMS & cFolders) and EH&S
TPM
PPDS
Winshuttle User Group | San Diego 2013
Can we use Winshuttle for that?
Thinking outside the box is as simple as thinking like you don’t know what Winshuttle does.
What can be done with scheduling, linking, “logic” fields or GUI Scripting?
Winshuttle User Group | San Diego 2013
System Monitor (Scheduling scripts)
Scenario: We needed a monitor to determine if any WWI reports were sitting in an error status.
Winshuttle User Group | San Diego 2013
Auto Generate WWI Reports (Scheduling scripts)
Scenario: We have process procedure documents that are created from data in our EH&S Specification database. That data can change and would need to be updated at midnight for the next day. This can happen any day of the week.
Winshuttle User Group | San Diego 2013
Linking Scripts for a go-live data load
Scenario: We needed to load/change data after each quality system re-cut for our TPM project this year.
Winshuttle User Group | San Diego 2013
Linking Scripts to Automate a process
Step 2:
Create the material in MM01.
Scenario: When we create a material in SAP we also have to create a specification for the material and visa versa. These activities occur in two different transactions.
Step 1:
A custom report that pulls the material type of the reference material for validation.
Step 3:
Create the specification in transaction CG02BD.
Winshuttle User Group | San Diego 2013
Linking Scripts to Automate a process (cont’d)
Re-use fields in Excel.
User fills out data in one place.
Winshuttle User Group | San Diego 2013
Using Logic fields
A logic field is a field where the user supplies data that might not necessarily be available in SAP. The field is then used as part of the script’s logic. You can create an if condition based on what the user supplies in that field.
Scenario: We needed a less time consuming way to extend materials to all the proper storage locations. As a business we decided this could be determined by material type.
Winshuttle User Group | San Diego 2013
Material extension to SLOCs
As you can see, Material Type is not a field used in transaction MMSC.
Winshuttle User Group | San Diego 2013
Material extension to SLOCs (Cont’d)
This is what the user will see and where they enter data. Simple, right?
Winshuttle User Group | San Diego 2013
Material extension to SLOCs (Cont’d)
Based on that material type entered by the user, Winshuttle will go to Sheet2 and look up all the SLOCs that the material needs to be extended to.
Winshuttle User Group | San Diego 2013
Using GUI Scripting to record multiple transactions.
Because a GUI Scripting recording doesn’t end until you log out, you can record multiple transactions in one recording.
Scenario: We needed a way to enter data into a specification and then run a program in SAP after the data is loaded to transfer that data to a custom table.
Winshuttle User Group | San Diego 2013
Using GUI Scripting to record multiple transactions.
We enter the data in CG02BD, but then have to back out to run the program.
Winshuttle User Group | San Diego 2013
Creative Publishing for RUNNER
Sometimes a script requires two steps. A good example is maintaining the UoM screen in the SAP Material Master.
Winshuttle User Group | San Diego 2013
Demos and Q&A
At this time if anyone would like to look closer at any of these scripts, I’d be happy to show you.
If there are any questions, feel free to ask.
Winshuttle User Group | San Diego 2013
Thank You!
Feel free to contact me with any questions that come up later.
920-453-4841