How to control TC for number of lines ready input?
Hi Gurus,
I have a table control in the screen, now the situation is: if i have only 4 records selected, the table control contains these 4 records ready for input/modify... but other lines in TC are grey out.
I wonder how to make all lines in this table control ready for input? not only for existing records' line. Thanks a lot!
my screen code as follows:
process before output.
module status_0300.
loop at itab with control ctrl1 cursor ctrl1-current_line.
field itab-catog module fill_catog.
field itab-bukrs module fill_bukrs.
module supress_bk03.
endloop.
module initial_variants.
process after input.
loop at itab ."WITH CONTROL ctrl.
field itab-bukrs module check_bukrs_value on request.
field itab-waers module check_waers_value on request.
field itab-catog module check_catog_value on request.
field itab-edate module check_date_range on request.
chain.
field: itab-zcount,
itab-bukrs,
itab-waers,
itab-catog,
itab-amount,
itab-bdate,
itab-edate,
itab-zcondition.
module ctrl_pai_change on chain-request.
endchain.
endloop.
module user_command_0300.
module exit at exit-command.
process on value-request.
field itab-waers module get_curc.
Try to change the attribute number of lines in your table control. You must do this in your PBO code. Write a module with the number of lines that you want to be shown ready for input.
Regards
I want only one of the field to be greyed out on one line of table control.
Others would be as usual ready for input.
This i want to do for many lines dynamically based on some condition.
I can't go for this by line.
How should i do this?