Skip to Content
Former Member
Feb 16, 2012 at 03:58 PM

Status GUI and the Save Button


Hello everyone!

I have been doing some researches about the Modules in PAI. What I want to do is to trigger a block of code in a program when you hit the "Save" button but it's an old program and there are tons of dynpros in it. But every one of their save button in each dynpro has to execute that same block of codes. I have a few choices that came to mind but all of them means rewriting everything in all the dynpros' PAI.

In fact, i was wondering if there was a way to have a common call for all dynpros of a program for the save button. You know, it's not that I mind to rewrite the call of a module every time in each PAI but I am thinking about giving a clean code and I was wondering if there was a common place to give a reaction to a click on the save button, whatever is the dynpro.

I'm not sure if my question is clear but I'll try to ask it better: Is there a place in the program you can put codes that would react at each time you click on the save button?

Thank you