Note: This article is about SAP Screen Personas 2.0. If you are looking for more information about SAP Screen Personas 3.0, please go to the SAP Screen Personas 3.0 Portal.
After the webinar "Streamline the Order-To-Cash process with SAP Screen Personas", we received a question about how to execute a complete transaction and just show the final status to the end-user. In the webinar we have used our flavor of the "Create Sales Order" transaction VA01 to create a simple sales order on one screen. To do so, we have added some additional input fields on the first screen of VA01 and then ran a script that executed the 2nd screen without showing it but displayed the status message from the 2nd screen on the 1st screen.
For this how to, we used a simpler scenario: Creating a notification without leaving the SAP Easy Access screen (SMEN). The actions used to achieve this can of course be reused with any other transaction or scenario.
Step-by-step:
- start script recording
- navigate to the "Create Notification" transaction IW21
- enter demo data
- Notification type "M1"
- Press Enter
- Description: "Just a demo"
- Push the save button
- (trick) click on the status bar so that a click action is added to the script which we can modify later
- navigate back to the SAP Easy Access Menu screen (SMEN)
- stop recording and temporarily store the script
- create a copy of Basic View
- do some basic editing
- remove the tree and the splitter container
- add a group box
- add a label that is used to show the status
- create a script button and upload the script that you have recorded
- convert the click action into copy value actions (assign a meaningful name e.g. status)
- add a paste value action at the end of the script and map it to the previously added label
- (important) add a refresh screen action right before the copy value action (this is needed because copy value is executed on client-side and refresh screen returns the current state of the screen from the server)
- close the dialog
- save and exit
- test!
As usual, if you want to learn more or discuss anything related to how to make your SAP GUI screens more functional using SAP Screen Personas, please start a discussion in the SAP GUI space on SCN.