cancel
Showing results for 
Search instead for 
Did you mean: 

Undo and Redo through Buttons

Former Member
0 Kudos

Hi

Is there a way to configure a button to  go back "one navigation step" at a time.

IE10 back button is working only for certain scenarios.

Thanks

Raj

Accepted Solutions (0)

Answers (2)

Answers (2)

murali_balreddy2
Active Participant
0 Kudos

It is not possible to navigate to different states using the browser buttons alone.

You are not navigating from URL to another to use BACK or FORWARD buttons.

Instead in DS, every navigation is within the same page using JavaScript.

Unless you save each state of navigation, you cannot do what you want.

For this, you need to save component values (drop-down, radio-button, filters etc) in variables as a call stack and use these values on a button. This also allows you only a finite state. You cannot have undefined number of navigation.

I might be wrong, but my suggestion: You don't want to do this. Set user expectation based on the tool capability. I don't think SAP will provide this capability.

Former Member
0 Kudos

Hi Raj,

I am not sure what you are trying to achieve but according to my understanding I believe you are looking to mock the browser back button, if that's the scenario you can achieve using javascript's predefined method i.e

1. history.back() - Go To Previous Page

2. history.forward() - Go to Next Page

3. history.goto(index) - Go to specified index

Regards,

Ajain