on 02-20-2018 12:57 AM
We've upgraded Personas from SP05 to SP06 and I have a flavour that is hanging on execution. I've narrowed it down to a script attached to Screen Events>onAfterRefresh. The script skips the hidden active tab within Transaction IW32>Operations>General:
if (session.findById("wnd[0]/usr/subSUB_ALL:SAPLCOIH:*/ssubSUB_LEVEL:SAPLCOIH:*/subSUB_AVO_KOMP:SAPLCOIH:1206/tabsTS_1206").selectedTab.id === "wnd[0]/usr/subSUB_ALL:SAPLCOIH:*/ssubSUB_LEVEL:SAPLCOIH:*/subSUB_AVO_KOMP:SAPLCOIH:1206/tabsTS_1206/tabpKPVG") { session.findById("wnd[0]/usr/subSUB_ALL:SAPLCOIH:*/ssubSUB_LEVEL:SAPLCOIH:*/subSUB_AVO_KOMP:SAPLCOIH:1206/tabsTS_1206/tabpBDZO").select(); }
This helpful tip was provided as per below link:
https://wiki.scn.sap.com/wiki/display/Img/Hiding+the+default+%28active%29+tab+in+a+tab+strip
It has been working without issue with SP03 & SP05 however SP06 seems to have changed something and it is no longer working.
The script also works fine when executing manually however once it has been attached to a Screen Event the issue starts.
Any help would be greatly appreciated.
There may be an issue with onAfterRefresh - but in this situation, why did you use this event instead of onLoad like the KBA suggests?
onAfterRefresh is executed after each roundtrip, and this is unnecessary to hide the default tab. It only hampers performance when done repeatedly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tamas,
Are you suggesting this should be raised via OSS?
I tried the onLoad option as per the KBA when I initially built the flavour however it never worked (still doesn't work now in our SP05 system) so I tested the other options and onAfterRefresh was the only option that consistently worked.
Thanks
Jason
If the flavor hangs, then yes, I'd create an OSS incident. However, such problems are usually not Personas- but kernel-related. I guess with the SP06 upgrade, probably there was also a kernel patch upgrade too? This could be an explanation why the flavor worked with SP05 but not after upgrading to SP06.
As for the onLoad event not working, that's a little strange... although your scenario is different than the one in the KBA, so that may be the reason.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.