Hi Henri -
I feel like this is a personal preference. For me, I never do a "save" by clicking on "back" and being asked by SAP if I want to save or not. Others do. For me, as as general rule, I like to be as explicit as possible in every single action that's being captured in the Studio script. If I want to save, I want it to have captured a true save, not a back -> prompt yes /no. To me, when you take a single action and do that "same" action with two different actions, that's two opportunities for something to get messed up, instead of one. So for me, the less chances for something being messed up, the better. But again, this is a personal preference of mine.
Remember that in the Studio world, there is rarely only one way of recording a transaction code. It can often be a preference, the way someone else told you to do something (which could have been their preference), you looked at documentation somewhere that recommended something be done a certain way, etc., but it didn't mean that that way was the
only way or the
best way or the
correct way. It was just one of the ways to record the transaction successfully. And there's never a golden rule across all the transaction codes in SAP, as they're all unique, so one set of best practices for a transaction code isn't necessarily going to apply for another.
So why were you told to record it that way? It's really as simple as that's the way the trainer likes to record their material master so they taught it to you that way. If I had taught it, I would have taught it differently. But both would work fine. So you should record things the way you want to record things, whatever makes you comfortable. As long as it works successfully and as long as you understand why it works successfully, then great!
Thanks!
------------------------------
Jennifer Hwang | Senior Solutions Engineer
Winshuttle North America
------------------------------
Original Message:
Sent: 01-11-2022 07:16
From: Henri Mäntysaari
Subject: Transaction recording: exit using Save or Back
Hi Community
I went through some old notes I had written down when I had my first training sessions when starting to use Winshuttle. In my notes there's a mention that when recording scripts that edit values in Material Master, exit from the transaction should be done using "Back", so that the save dialogue comes up. There "Yes" should be selected and that should conclude the record.
I haven't necessarily always kept this in mind: I have probably recorded scripts that end with clicking "Save"-button, so no confirmation dialogue comes up.
I'm wondering now if this can be a problem. I don't see how it could, WS will just save the values and exit, but probably there was a reason why this advice was given in the first place. Would anyone have more information about this?