‎2010 Apr 28 12:29 AM
Hello,
In screen painter, I use table control to edit a specifique table, when loading the table with no data, I can edit all the row, Howerver if the table contains some data (some rows), When I change to edit mode for the columns, It only enable the row that contain data, How can I enable all the other rows for editing too ?
I use the command :
DATA: ws_col02 TYPE tab_control-cols.
LOOP AT tab_control-cols INTO ws_col01.
ws_col01-screen-input = 1.
MODIFY tab_control-cols FROM ws_col01 INDEX sy-tabix.
ENDLOOP.
Thank you for your help
‎2010 Apr 28 4:50 AM
Hi,
Check the following
In PBO
module status_100.
loop at itab with control tc.
endloop.
in PAI
loop at itab
module modify_tc.
endloop
in program,
module status_100.
describe table itab lines tc-lines.
if tc-lines = 0.
tc-lines = 10.
else.
tc-lines = tc-lines + 10.
endif.
endmodule
in Program
module modify_tc.
describe table itab lines tc-lines.
if tc-lines > tc-current_line.
modify itab index tc-current_line.
else.
append itab.
endmoduleCheerz
Ram
‎2010 Apr 28 4:50 AM
Hi,
Check the following
In PBO
module status_100.
loop at itab with control tc.
endloop.
in PAI
loop at itab
module modify_tc.
endloop
in program,
module status_100.
describe table itab lines tc-lines.
if tc-lines = 0.
tc-lines = 10.
else.
tc-lines = tc-lines + 10.
endif.
endmodule
in Program
module modify_tc.
describe table itab lines tc-lines.
if tc-lines > tc-current_line.
modify itab index tc-current_line.
else.
append itab.
endmoduleCheerz
Ram