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

Table Control

Former Member
0 Likes
446

Hi,

I am working on table control.

I have three transactions i.e. create SO, change SO, Display SO.

when I run the Display transaction I need all the fields in The Table control to be non-editable can sumone provide me the solution to this.

Thanks,

Manish

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
428

hi,

there two methods to make fields non editable :

1)LOOP AT SCREEN.

IF screen-group1 = 'GR1'.

screen-input = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

2) you can double click on that field after opening 'screen layout' and then mark the check box of 'output only' after clicking 'program'

3 REPLIES 3
Read only

Former Member
0 Likes
429

hi,

there two methods to make fields non editable :

1)LOOP AT SCREEN.

IF screen-group1 = 'GR1'.

screen-input = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

2) you can double click on that field after opening 'screen layout' and then mark the check box of 'output only' after clicking 'program'

Read only

former_member673464
Active Contributor
0 Likes
428

hi,

For changing the table control display properties refer to the demo program

demo_dynpro_tabcont_loop_at

Regards,

Veeresh

Read only

Former Member
0 Likes
428

Hi,

for this purpose u can go into your layout and put those fields in a paricular group say GR1 . and then

in the PBO of that screen put a loop and put condition that if particalar screen is equal to GR1 or whatever group u have assigned then screen-input equal to zero. and then modify the screen.

hope it will help you.

regards

saurabh