on ‎2021 May 11 8:11 AM
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 !!

Request clarification before answering.
Thank You Krists. I cleared MIME cache and this solved my problem !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much . It is resolved by applying the notes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
- 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.