‎2005 Aug 24 2:50 PM
Hai,
I have table control listing records like this.
RecNo,Customerno, cust name,material no, material name.
10,01111,33333,1000,PC
.....................
........................
.......................
INITIALLY, I have cust name and material name columns are in Mask mode(ie, column non-editable mode).
Now i want this cust name and material name cell(not columns) of the particular record should be enabled with
condition of if say, Record no is '10'.
how to do this..
what is the setting for cell enable for a particular customer no.
advise please...
ambichan
Message was edited by: ambi chan
‎2005 Aug 24 3:30 PM
Hi,
You incorporate the following logic in PBO:
LOOP AT it_data INTO wa-data WITH CONTROL t_venddet.
MODULE display_table.
ENDLOOP.
If wa_data-rec_no = 10.
LOOP AT SCREEN.
if screen-name = cust_name or
screen-name = Material_name.
screen-input = '0'.
MODIFY SCREEN.
ENDLOOP.
endif.
This should solve your problem.
thanks
vamsi
‎2005 Aug 24 3:05 PM
try this
if Record number = 10.
Loop at screen.
if screen-name = 'MATERIAL FIELD' or
screen-name = 'CUSTOMER FIELD'.
screen-active = 0.
modify screen.
endif.
endloop.
endif.
‎2005 Aug 24 3:30 PM
Hi,
You incorporate the following logic in PBO:
LOOP AT it_data INTO wa-data WITH CONTROL t_venddet.
MODULE display_table.
ENDLOOP.
If wa_data-rec_no = 10.
LOOP AT SCREEN.
if screen-name = cust_name or
screen-name = Material_name.
screen-input = '0'.
MODIFY SCREEN.
ENDLOOP.
endif.
This should solve your problem.
thanks
vamsi
‎2005 Aug 24 3:38 PM
Hi,
You incorporate the following logic in PBO:
LOOP AT it_data INTO wa-data WITH CONTROL t_venddet.
MODULE display_table.
ENDLOOP.
METHOD display_table
If wa_data-rec_no = 10.
LOOP AT SCREEN.
if screen-name = cust_name or
screen-name = Material_name.
screen-input = '0'.
MODIFY SCREEN.
ENDLOOP.
endif.
ENDMETHOD.
This should solve your problem.
thanks
vamsi