need help in table control wizard
I got a requirement to develop a module pool report for calcuation , save & print. I created a table control wizard I did all these things but when i was testing after i entered first 10 colmns visible in the table control and above to scroll and enter the materials in material column it got greyed out. I really dont know what to do. I set screen-input = '1'.
modify screen in PBO but still its not working. Please help me out. First time i was doing module pool pgm.
Christine Evans replied
The number of updateable lines on a screen is controlled by the table control LINES parameter which is set in a module at the start of the table contral wizard generated PBO code. The larger the number, the more updateable lines are available. I usually try to set it to at least the number of lines in my itab plus the number of lines displayed on the screen; this should have the effect of giving you always, when you've scrolled to the bottom of your filled fields, a complete screen of blank, enterable lines.
CLEAR gv_lines. DESCRIBE TABLE gt_splits LINES gv_lines. g_TC_SPLITS_lines = sy-loopc + gv_lines + 20. TC_SPLITS-lines = g_TC_SPLITS_lines.