‎2008 Jun 05 11:58 AM
Hi All,
I am working on screen exit. I am using the tn. code KO01, KO02, KO03. I have added three new fields on the subscreen. I want the fields which i have added to be input disabled when i go to the transaction code KO03. How should i achieve it.
Will reward if the reply is helpful. <= read the rules [here!|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]
Thanks.
Edited by: Julius Bussche on Jul 30, 2008 3:49 PM
‎2008 Jun 05 12:04 PM
Hi
U should check if the fm of the enanchement returns a flag for the status (updating, displaying...) else u can check the SY-TCODE:
LOOP AT SCREEN.
IF SY-TCODE = 'KO03'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.U don't need to check the trx for inserting o updating because I suppose u have defined your field for input/output by default, so u need to change their chararteristics only when you need them for output only.
Max
‎2008 Jun 05 3:22 PM
‎2008 Jun 05 4:08 PM
Sure?
It's strange, very strange: where did you place that piece of code?
Max
‎2008 Jun 05 4:19 PM
‎2008 Jul 30 4:48 PM