Skip to Content
author's profile photo
Former Member

sort table control contents

hi all,

i need to sort the contents of a table control dynamically,how can i do this..

for ex: if user clicks on 'unpack' for a Handling Unit(HU) on table control 1(TC1) , i display the contents of it in TC2.

and when he clicks on some other HU in TC1 and again clicks 'unpack' i need to sort the previous and present contents so that i can see them in a sorted order in TC2.

i tried sorting the table on which iam looping but thats leaving balnks in TC2 until my logic finds the contents of the HU to be displayed.(for ex. if HU has posnr 90 and 100, the TC2 has the first 8 rows blank, if i use sort)..

please suggest


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 03, 2005 at 10:22 PM

    Please make sure that you REFRESH your control before displaying the screen again.

    REFRESH CONTROL 'TC2_CONTROL' from screen '100'.


    Rich Heilman

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      In the PBO module, make a direct DESCRIBE against the internal tables.

      DESCRIBE table TC1 lines TC1_CONTROL-lines.

      DESCRIBE table TC2 lines TC2_CONTROL-lines.

      This will "force" the table controls to reallocate their memory usage.

      Message was edited by: John Jakabcsin