2020 Dec 05 12:02 PM
Hi Experts,
I am facing a strange issue, I have a table control in one of the programs and it is working fine for some cases. But in few cases when I am scrolling the table vertically data vanishes and since this table control is residing in a tab of Tab-strip, so when I switch between the tabs and return to the tab having table control, the data is visible again.
We are just displaying the data in this scenario.
Bad case:
Good Case: (case where vertical scrolling is also working fine)
Whereas, horizontal scrolling is working fine.
Note: Internal table is having data prior to loop in PBO
Attaching Screenshot of debugger for bad case: (debugging after clicking on scrolling button)
Can somebody help me in resolving this scrolling issue.
PS: I already tried to explore the community for similar issues, but couldn't find any.
Thanks,
Rajat
2020 Dec 05 2:33 PM
Hi Debjit
Thank you for your response but I aready checked that post. Also, if you see in my case vertical scrolling is having issue only for some cases and not for all.
Please suggest something else.
2020 Dec 05 4:29 PM
My interpretation of what you are showing is that you did a one-line scroll, so I guess that you have TBCTL_ZRWKSCRAP-TOP_LINE set to 2, and your code cleared WA_ZACTLRWKSCRAP between LOOP and ENDLOOP.
Add a Watchpoint to stop automatically the debugger at the next change of WA_ZACTLRWKSCRAP.
If you need more assistance, please provide the whole code executed between LOOP and ENDLOOP (of course, I guess you have checked that the fields of the internal table were not empty).
2020 Dec 05 4:59 PM
Other thing you can try is to update SAP GUI patches. These sporadic behavior sometime get addressed in patches. We had issue with scrolling on large tables (via SE16n in past)
2020 Dec 11 11:20 AM
Thanks Sandra for giving an idea. WA_ZACTLRWKSCRAP was getting values correctly from the internal table but the issue was in one of the modules written between LOOP and ENDLOOP. Actually the table control's structure was different from the workarea and it wasn't getting populated for the bad case.
Thanks for your suggestion.. 🙂