cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Undo e redo functionalities through buttons in Sap Analytics Cloud

1,398

Hi all,

I have a SAC report with a table and I would like to reproduce the standard behaviour of "Undo data change" and "Redo data change" functionalities with code because I need to have these functionalities through two different buttons:

- A "Redo" button that replicates the "Redo data change" functionality

- A "Undo" button that replicates the "Undo data change" functionality

I attach below an image of funcionalities that I would like to reproduce through buttons

thank you in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

avsalynin
Active Contributor
0 Likes

ga.russo

if you want to do this through scripts and a button in the analytics application, then as far as I know at the moment, this is not possible
there is on such Api

but since these actions refer to the steps in the preview mode, I believe that the general undo / redo buttons of the entire application will also work (as they will also appear in stories in the optimize mode)

N1kh1l
Active Contributor
0 Likes

Hello Gabriel,

Though Undo/Redo can be enabled in Table Styling Properties. See Below.

In case you want to script this functionality. You can playground by using the setQuickActionsVisibility(quickActionsVisibility: TableQuickActionsVisibility😞 void class of table.

undoRedoDataChange: boolean


https://help.sap.com/doc/958d4c11261f42e992e8d01a4c0dde25/release/en-US/index.html#Table_MsetQuickAc...


Regards

Nikhil