Skip to Content
author's profile photo Former Member
Former Member

Personas - Changing functionality of save button

Hi Experts ,

I am totally new to personas and have been handed over a requirement wherein I need to change the functionality of the save button in transaction QA32.

The requirement is that on pressing the save button, it should display a pop up where on clicking yes --> it should open a new tcode which has the data present on this screen.
Is it feasible / advisable to change the script of the SAVE ? Or should I just suggest using of a custom button ?


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Sep 04, 2016 at 07:47 AM

    You can't change the behaviour of the standard save button, but you can hide it and put an identical looking script button in its place. Whether you do that or put the script button elsewhere depends on the circumstances. If you really are changing the save process by adding extra steps then it makes perfect sense. If you are turning it into something else, maybe not.

    One question to ask is, what would make sense to your users? Would they find a modified save button confusing is it what they would expect? Have you asked them?


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 06, 2016 at 03:06 PM


    it is possible to change behavior of standard button completely. If a script that is attched to the onClick event of a button returns "true" then the button's standard action is not executed.

    So if you want your popup and navigation logic to happen after the actual save your script has to do the following:

    1) Trigger the actual save functionality with ";"

    2) Do your logic with the popup and navigation, e.g. session.utils.confirm() and then session.startTransaction()

    3) "return true;" because we don't want the standard save action to be executed a second time

    Best Regards,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.