08-23-2006 9:26 PM
Hi ALL,
i HAVE A MODAL DIALOG SCRREN , I HAVE TO SAVE DATA AND ONCE SAVED THE SCREEN HAS TO BE INACTIVE FOR INPUT THEN I USED
LOOP AT SCREEN.
SCREEN INPUT = 0.
MODIFY SCREEN.
ENDLOOP.
bUT I HAVE A BACK BUTTON ON THIS TO COME BACK TO NORMAL SCREEN ,BUT WHEN I USE THE ABOVE CODE THE BACK BUTTON ALSO BECOMES INACTIVE,IS THERE A WAY THAT I CAN KEEP BACK BUTTON ACTIVE AND REMAINING THINGS IN ACTIVE.
CAN I HAVE FUNCTION KEYS ON MODAL DIALOG BOX.
THANKS
08-23-2006 9:46 PM
08-23-2006 9:47 PM
hi
use the below code...
loop at screen.
if screen-name = <screen field name>.
screen-input = 0.
modify screen.
endif.
endloop.
cheers,
Abdul Hakim
08-24-2006 12:26 AM
on your screen give all the fields you wish to make protected the same group1 name, eg MOD.
Then put this in the PBO:
loop at screen.
if screen-group1 = 'MOD'.
screen-input = 0.
modify screen.
endif.
endloop.
08-24-2006 2:36 AM
Hi Swathi,
Also check whether you have set the PF-STATUS in PBO of the screen.
In the PF-STATUS, specify BACK button and activate the PF-STATUS.
Best regards,
Prashant
08-24-2006 5:40 AM
hi,
Add lines in bold and try using your code.
LOOP AT SCREEN.
<b> if not screen-name cp 'BACK'.</b>
SCREEN INPUT = 0.
MODIFY SCREEN.
<b> endif.</b>
ENDLOOP.
Regards,
Sailaja.