‎2008 May 23 11:32 AM
I am developing one module pool program where I have used custom control... when I am click on a clear button. it clears all the internal tables and fields and even that internal table also which is the source of the custom control. But the screen that means the custom contrl screen holds the record... can any body tell me how to clear that screen.?
‎2008 May 23 11:36 AM
Hi
U need to use the method for REFRESH in order to update the custom control
Max
‎2008 May 23 11:40 AM
can u tell me what method should i call...or in which class that method belongs to??
‎2008 May 23 11:46 AM
max,,
can u plz tell me what method should i call to clear the custom control.
‎2008 May 23 12:17 PM
try this
use refresh_table_display
IF rc IS INITIAL. "reference to custom container
CREATE OBJECT rc
EXPORTING container_name = 'CONTAINER1'.
CREATE OBJECT rg "reference to grid
EXPORTING i_parent = rc.
.
.
.
.
ELSE.
CALL METHOD rg->refresh_table_display.
ENDIF.
Edited by: Kamini Rawat on May 23, 2008 1:57 PM
‎2008 May 23 11:37 AM
dont clear the internal table
clear the fields which u have defiend to the custom control...
this will help u..
if it is usefull Plz Reward
Regards
Anbu
Edited by: anbu b on May 23, 2008 12:38 PM
‎2008 May 23 12:22 PM
‎2008 May 23 12:31 PM
hi arnab ,
u mean dat ,u only want to delet the internal table body ?
rght..
than try this ,
clear : itab-fields or itab[] .
hope ths vl help u ..
regard s,
wasim .