‎2008 Jul 11 5:58 AM
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
‎2008 Jul 11 6:09 AM
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'
‎2008 Jul 11 6:09 AM
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'
‎2008 Jul 11 6:15 AM
hi,
For changing the table control display properties refer to the demo program
demo_dynpro_tabcont_loop_at
Regards,
Veeresh
‎2008 Jul 11 6:19 AM
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