Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

module pool problem (urgent)

Former Member
0 Likes
658

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.?

7 REPLIES 7
Read only

Former Member
0 Likes
638

Hi

U need to use the method for REFRESH in order to update the custom control

Max

Read only

0 Likes
638

can u tell me what method should i call...or in which class that method belongs to??

Read only

0 Likes
638

max,,

can u plz tell me what method should i call to clear the custom control.

Read only

0 Likes
638

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

Read only

Former Member
0 Likes
638

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

Read only

Former Member
0 Likes
638

use this calss REFRESH_TABLE_DISPLAY.

Read only

Former Member
0 Likes
638

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 .