‎2008 Aug 27 3:38 PM
Hi expert,
i have a internal table on the screen and the user can modify data inside. I want to deactivate input only for someone row. I have to use table control option ??
I tried to use :
*declaration
CONTROLS: tab_rgsubv TYPE TABLEVIEW USING SCREEN '0700'.
DATA: BEGIN OF it_zpsregsubv OCCURS 0,
flag TYPE c,
mandt LIKE zpssbvregsubv-mandt,
zzps_posnr LIKE zpssbvregsubv-zzps_posnr,
zznrg LIKE zpssbvregsubv-zznrg,
zzbegdi LIKE zpssbvregsubv-zzbegdi,
zzdgbi LIKE zpssbvregsubv-zzdgbi,
flag2 TYPE c,
END OF it_zpsregsubv .
etct etc
LOOP AT it_zpsregsubv WITH CONTROL tab_rgsubv .
MODULE deactivate .
ENDLOOP.
but there's a error message: Unable to interpret "WITH".
How can solve my problem ???
Tka a lot,
bye.
‎2008 Aug 27 3:44 PM
Hi,
Try by setting the SCREEN attributes.
See the below example code.
LOOP AT SCREEN.
IF screen-name = 'ZSRSK-ADVNO' .
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
‎2008 Aug 27 3:43 PM
Hi....
Loop the screen table...
You can solve your problem with taht.
Thanks,
Naveen.I
‎2008 Aug 27 3:44 PM
Hi,
Try by setting the SCREEN attributes.
See the below example code.
LOOP AT SCREEN.
IF screen-name = 'ZSRSK-ADVNO' .
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
‎2008 Aug 27 3:54 PM
Tks for help,
but not run... and with this code, if run, i deactive all colomn.... I have deactivate only some row of colomn...
some idea ?
TKS,
BYE