cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Personas - move from one screen to another skipping other screens

Former Member
0 Kudos

Hi all,

I have a requirement where i need to move or goto from one screen to another skipping few screens.

I am working on XK01 transaction. I want to move from Create Vendor: Address screen to Create Vendor:Payment Transactions skippingCreate Venor:Control Screen.

How this can be done?

Please help.

Regards,

Neha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This is exactly what Personas scripts are for. Have you tried recoding a script to do this? If you have, what problems are you having? Post the script here if you can - that will make it easier to help you.

If you haven't tried yet, there's lots of help here on SCN to get you started. Just search for "personas scripting".

Steve.

Former Member
0 Kudos

Hi Steve,

Thank You . I understood the script for the navigation between screens and implemented it.

But i am stuck with another part. When i am navigating from screen 2 to screen 1, data is getting cleared in the custom fields. Searched various blogs but not getting anything.

Please guide.

Thanks,

Neha

Former Member
0 Kudos

Do you mean that you have custom fields on screen 1 into which data has been entered, you navigate to screen 2, and then when you go back to screen 1 the custom fields are empty? Yes, this is how it behaves. It is annoying, but it has always been that way. You need to capture any data from screen one that you need to persist, copy it to hidden fields on screen 2, and then copy it back to screen 1 when you navigate back. Obviously navigation in both directions then needs to be done via a script, to enable this copying. It complicates things somewhat but copy/paste is the basic action of Personas scripts so it is tedious but not difficult to do.

Steve.

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Or, as another method for data caching and thereby saving the custom field values, you can go with Steve's own method, described here: http://scn.sap.com/community/gui/blog/2014/03/03/data-caching-in-personas-scripts

I find that doing this may sometimes be simpler, because retrieving and re-populating the custom fields can be easily automated, tied to the OnCreateHandler of the page. This is especially so if you have many different navigation paths to get back to your screen with the custom fields.

Former Member
0 Kudos

Yes Steve..achieved it using copy paste script . Thank you. It helped..

But When i am moving from screen 1 to screen 2, my script on Next button works sometimes and sometimes it doesnot.

I have created a custom field on screen 1, marked it as mandatory, when i input the data on that mandatory custom field and click on Next button(have written script for this action), it does not move to naother screen and when i change the data in that custom field again that time my script works. Quite interesting. Dont know why it is behaving in this manner.

My script for Next button is like this :

Thanks,

Neha

Answers (0)