Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

REGARDING cell enabled mode.

Former Member
0 Likes
570

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
450

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

3 REPLIES 3
Read only

Former Member
0 Likes
450

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.

Read only

Former Member
0 Likes
451

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

Read only

0 Likes
450

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