‎2006 Sep 12 12:07 PM
hi how to refresh the screen.
i have around 40 fields in my screen.i want to keep everything as initial once i save the values.
how to do this.
Whether i have to do for one by one field...or is there any statement for the whole screen.
‎2006 Sep 12 12:09 PM
Put all the fields in a work area and then clear that workarea.All the fields inside that workarea will get cleared.For eg
clear <work area> " Work area contains all the fields.
‎2006 Sep 12 12:10 PM
HI,
you have to mention all your fields in CLEAR: statement.
CLEAR: field1,
field2....
Regards,
‎2006 Sep 12 12:10 PM
‎2006 Sep 12 12:14 PM
hi sumi,
there is an easy way.
suppose u have data base table DB_STUDENT and it ahs the fields name and age.
u declred like this in the code.
eg : TABLES db_student.
suppose field name in the screen are db_student-name and db_student-age.
so after save just give
clear db_student.
only 1 statemnet is needed.
rgds
anver
‎2006 Sep 12 12:23 PM
I am not using Internal table...
So istead of clearing each textbox...i called the tcode again
call transaction 'TCODE'.
it Solved the problem
‎2006 Sep 12 12:24 PM