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

Alv Refresh Button

Former Member
0 Likes
764

Hello Experts,

I am using ALV for Data Display, After display Data User Has to click on Checkbox(output) .

Then he pushed Refresh Button.

Then click on print (Developed New Button on alv by me i am calling smartform from there where check = 'x' ).

every thing is going fine.

They dont want to click on refresh button.

if i do it itab will not refresh.

What should I have to do on clicking Print Button first itab refresh Then it show the output where check = 'x'.

Is There Any Way To do it?

Or In simple way I need ALV refresh Button Code

Thanks:

Regards: Heman(A1)

Edited by: HEMANT_A1 on Mar 30, 2010 11:41 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
723

hi,

in the alv user_command pass slis_selfield-refresh = 'X'.

6 REPLIES 6
Read only

Former Member
0 Likes
723

only refreshing itab wont help you

on pressing refreshing button

submit "your program name ' with same set of values

hope this helps you

cheers

S.Janagar

Read only

Manohar2u
Active Contributor
0 Likes
723

when you click on print button. Call this method, this will get the checked entries into your internal table


CALL METHOD go_alv_grid->check_changed_data

Read only

Former Member
0 Likes
723

Hello Mr. Reddy ,

I am Using Reuse_Alv_Grid_Display.

Not Object Oriented Alv

Thanks

Edited by: HEMANT_A1 on Mar 30, 2010 12:16 PM

Read only

Former Member
0 Likes
724

hi,

in the alv user_command pass slis_selfield-refresh = 'X'.

Read only

0 Likes
723

Hi Simpu ,

Thanks To Reply. I am Using This code suggest by you But Its Not working ,

FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM

RS_SELFIELD TYPE SLIS_SELFIELD.

IF R_UCOMM EQ '&PRINT'.

RS_SELFIELD-REFRESH = 'X'.

THANKS.

Read only

0 Likes
723

Function module 'GET_GLOBALS_FROM_SLVC_FULLSCR' will help.

Refer to Vijay's code in this link