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

Missing script events in Personas in SP12

0 Likes
1,782

Hi,

We are in Personas SP12. I develop a dashboard where I put in a script Button. I wrote some script for that.

But when I try to assign that Script to script button, it does not even show any events ( such as On Click)to assign that script created by me. Please help me here.

Please let me know if I am missing something here !!

Accepted Solutions (1)

Accepted Solutions (1)

0 Likes

Thank You Krists. I cleared MIME cache and this solved my problem !!

Answers (5)

Answers (5)

Hi All,
We had the same issue with a customer and have tried everything possible. Including the SAP notes recommended via Health Check and a couple of notes discussed in related threads. Eventually, we manually transported the table entries from /PERSONAS/USAGES which actually contains a <Global Script, Flavor, and Control assignment> assignment, And this fixed the issue for us. Hope this helps!
Of course, you need to ensure that the Flavor and the Global script are both also available on the target system. Use the admin transaction to lock and export them
Caution: Please be sure of what you need and DO NOT export extraneous things or the entire table.

Tamas_Hoznek
Product and Topic Expert
Product and Topic Expert

The missing global script relationship records problem in the /PERSONAS/USAGES table was corrected in SP15, and we also released a note fixing a special case related to this topic.

0 Likes

Thank you so much . It is resolved by applying the notes.

kmagons
Product and Topic Expert
Product and Topic Expert
0 Likes

Good Day,

1) Please ensure that the Notes Health status is green by implementing all the relevant missing notes

2) Clear the MIME Cache: /n/personas/admin > Health Check > Cleanup (from the menu) > Clear All Caches

3) If the problem is still reproduce, please open a BC-PER incident ticket and consider providing an open HTTP support connection to the affected system

Thank you!

Best regards,

Krists Magons

kmagons
Product and Topic Expert
Product and Topic Expert
0 Likes

- Close the scripts editor

- Edit the Flavor

- Select the "Change" button

- Right mouse click, choose "Events"

- Events Dialog should open, select the Script Events section

- Assign the global script to the onClick even by clicking on the search field, the created global script should be selectable from the list

- Save changes

0 Likes

Hi Krists,

That is the exact problem I have. I right click on the Script button and click on EVENTS option, but the system never shows up any Event Dialog screen.

I am also attaching the screen of Personas Health check too. Please help me if I am missing any SAP Notes here !!

kmagons
Product and Topic Expert
Product and Topic Expert
0 Likes

Good Day!

SAP Screen Personas feature two kinds of scripts:

1) Local scripts that are bound to the screen context - tcode, flavor, program and number

2) Global scripts that can be reused on any screen or flavor.

I assume that you have created a local script for a different context and therefore the script is not available for the active screen. You can copy the local script for the new context or leverage the global script functionality.

Additionally, you can see all the available flavor scripts in the Scripts editor that features an option to show only scripts for the currently active screen

Thank you!

Best regards,

Krists Magons

SAP Screen Personas Dev Team

0 Likes

Hi Krists,

I think I am missing something. This is how the screen looks to me !!

I created a Global Script as you mentioned and I need to assign this script ( onCLick) to Button called "CHANGE" on click of it.

How do we do that ? Pls help