‎2006 Aug 22 8:30 AM
I got some values in I/O fields(5 fields).Now my requirement is to delete all the values in the 5 I/O field by pressing a button.Pls Give a sample code for tht.
‎2006 Aug 22 8:34 AM
HI,
create a button on your screen and assign it a function code like 'CLEAR'. now in one of your PAI module. check the function code. like this.
<b>
MODULE PAI_PROCESS.
CASE ok_code.
WHEN 'CLEAR'.
clear: field1, field2, field3, field4, field5.
ENDCASE.
ENDMODULE.</b>
Regards,
HRA
‎2006 Aug 22 8:34 AM
Hi Alex,
Use Clear: <I/O Fieldname>.
or if you are using tables or internal tables use
Clear: <table name>.
Regards:-
<b>Santosh.D</b>
‎2006 Aug 22 8:34 AM
HI,
create a button on your screen and assign it a function code like 'CLEAR'. now in one of your PAI module. check the function code. like this.
<b>
MODULE PAI_PROCESS.
CASE ok_code.
WHEN 'CLEAR'.
clear: field1, field2, field3, field4, field5.
ENDCASE.
ENDMODULE.</b>
Regards,
HRA
‎2006 Aug 22 8:37 AM
Hai Alex,
Clearing a screen field is much simpler. In the PAI have a module which checks for the user_command and <b>clear <fieldname></b> will clear the i/o field.