Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Data disappearing while vertical scrolling the table control for SOME CASES.

rajatarora5
Explorer
0 Kudos
520

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

4 REPLIES 4

rajatarora5
Explorer
0 Kudos
331

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.

Sandra_Rossi
Active Contributor
331

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).

DebjitSingha
Active Contributor
0 Kudos
331

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)

Help and Learn!

rajatarora5
Explorer
331

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.. 🙂