Application Development 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: 

Refreshing Of Screen.

Former Member
0 Kudos
66

Hi all,

I have an ALV report in which i am display a list in that if i select a record by checking a check box, and when i am saying delete, the record is getting deleted. But the problem is i am getting the record displayed on the screen after pressing delete. But when i am refreshing the program it is not display. So can an one help me out in refreshing the screen immediate after deleting.

Thanks

Murthy

4 REPLIES 4

Former Member
0 Kudos
45

Hey,

do this way.

write this code.

call method gp_alv_grid->check_changed_data.

you write this immediatey after delete.

Please rewar points if it help.

Regards

Satish

0 Kudos
45

Hi Raju,

When i am trying to Give the same it is saying class GP_ALV_GrID not found..So how to rectify this

Thanks,

Murthy

0 Kudos
45

Use ur own pointer reference.

CALL METHOD gp_alv_grid_prod->set_table_for_first_display

EXPORTING

i_buffer_active = 'X'

is_variant = ls_variant

i_save = 'A'

is_layout = ls_layout

it_toolbar_excluding = lt_toolbar

CHANGING

it_outtab = gt_product

it_fieldcatalog = gt_fieldcat_prod

EXCEPTIONS

invalid_parameter_combination = 1

program_error = 2

too_many_lines = 3

OTHERS = 4.

so u use this Object .

Former Member
0 Kudos
45

Hi,

IF you are using the 'REUSE_ALV_GRID_DISPLAY' function module,

i_callback_user_command = 'USER_COMMAND'.

SO when you write the USER_COMMAND perform. In the perform before closing the perform say like this.

slis_selfield-refresh = X.

Meaning activate the refresh funtionality in the USER COMMAND.

Br,

Laxmi