06-13-2007 10:56 AM
Hi All,
I Have created a Module pool table control(Wizard) with Input control,where user can enter the values in the screen.
In my screen 15 lines are visible,once i enter all 15 rows,vertical scroll bar is active,but rest of all lines are in deactivate mode.
My requirement is:Once i enter all the visible lines,the remaining lines should be in activ mode(In put control).
I appreciate your response.
Best Regards,
Seshadri
06-13-2007 10:58 AM
in the PBO include these lines
<tabctrlname> is the name of the table control placed on the screen.
it_tabctrl is the internal table data that is being passed to the table control.
describe table it_tabctrl lines N.
<tabctrlname>-lines = N.
Regards
Gopi
06-13-2007 10:58 AM
in the PBO include these lines
<tabctrlname> is the name of the table control placed on the screen.
it_tabctrl is the internal table data that is being passed to the table control.
describe table it_tabctrl lines N.
<tabctrlname>-lines = N.
Regards
Gopi
06-13-2007 11:00 AM
06-13-2007 11:02 AM
DATA : BEGIN OF IT_MARA OCCURS 1,
MATNR LIKE MARA-MATNR,
ERSDA LIKE MARA-ERSDA,
ERNAM LIKE MARA-ERNAM,
MTART LIKE MARA-MTART,
MBRSH LIKE MARA-MBRSH,
V_FLAG TYPE C,
END OF IT_MARA.
DATA : WA_MARA LIKE it_MARA .
CONTROLS TABLE TYPE TABLEVIEW USING SCREEN 100.
MODULE POPULATE_100 INPUT.
CASE SY-UCOMM.
WHEN 'DISP'.
SELECT MATNR
ERSDA
ERNAM
MTART
MBRSH FROM MARA INTO WA_MARA .
APPEND WA_MARA TO IT_MARA.
ENDSELECT.
DESCRIBE TABLE IT_MARA LINES V_TEXT.
TABLE-LINES = V_TEXT.
CLEAR IT_MARA.
Regards..
Balaji ( assign if this helps u ..)