on 04-01-2016 3:17 PM
Hi Personas 3.0 experts,
I am customising several tcode screens, and I noticed the following issue:
1. Script code inside "onLoad" is not run SOMETIMES: (I used our own tcode)
I made a script to call a FM to load some data from backend and display them on UI. I put this code in the "onLoad" or "AfterRefresh" event of the screen. But what I noticed is that SOMETIMES when the screen is shown, the data from backend are not shown on UI. If I then click a button with no code, data are shown (ie the FM is called).
2. A table moved out from a tab is not shown. (I used an existing tcode IW32)
This is a similar case: I have moved a table out from a tab of a tcode and only display this table on the UI, and rest of the tabs and contents are hidden. However, when the screen is launched, the table area is ALWAYS empty, until I click a "dummy" button (ie with no code), then the table is populated with the data.
Is this a known issue in Personas 3.0? Appreciate any quick reply!
Dong Zhu
I have to close this question. Judd's idea can be helpful to try.
Br,
Dong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dong,
It sounds like the same problem I had. I added a small script at the end of my main script to refresh the screen after 2 seconds. But I had to set the script to run "onLoad" not "AfterRefresh". "AfterRefresh" would continually loop the refresh script.
function doTask(){
sap.personas.scripting.executeScriptInternal({src:''});
}
setTimeout(doTask,2000)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.