I am using a standard mask with a detail-table
(invoice-head, subtable positions) with extended windowActions-Components.
So long everything works fine. Now my problem is:
I want to call a document-printing with a button on this mask and I must save the mask (including detail-table) before printing.
The best for me would be, to call the actions behind the button “save”. On this the mask is validated, saved (even the subtable) and, when everythings ok, I can call my printing-functions.
Is there a way, to do this ?
I did not find a way to call for example a method like “saveButton.doClick()”
or something ?
Hi.
Controller method that should be invoked after a click can be defined using invoke attribute.
Below is the example of a button invoking someMethod:
but my idea was to use the code which is definined in the standard-Save-Button
of an edit screen to call exact this in context of another doing.
I just want to use the button from my own code.