Skip to Content
0
Former Member
Feb 27, 2006 at 05:11 PM

Tableview sort does not always work results in blank screen?

14 Views

Hi,

Correct me if I am wrong, but I thought that the tableview sort feature is totally independant. I have a single View (has one tableview) which is called from 2 different places, A and B. My tableview uses "SERVER" sort.

The sorting in A works but the sorting in B results in a blank screen.

I debugged situation B as far as I could, I reached some code in :

Main Program: SAPLSCPA

Source Code of: LSCPAU04

Line 28

which shows:

select * from tcp00a into wa                       
                 where cpcodepage = sap_codepage   
                 and   cpattrkind = 'H'            
                 order by primary key.             
  name = wa-cpattr.                                
  return.                                          
endselect.                   

At the return statement, the debugger disappears and the screen remains blank.

I hope someone is familiar with this problem or the purpose of the code above.