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 grid refresh problem when I return from list-processing

Former Member
0 Likes
375

hi,

I have made alv grid with f4 help features and i'm using row select feature.

When i click on a button in Application toolbar, the program leaves to list processing and then return to alv gridscreen.

Now the problem arises.

(1)Even if i select rows and press F8, the program does not identify the rows selected and does not give me desired output.

(2)Also, when i press F4, the selected value does not appear in the text field.

Both the cases are working fine, if i dont press button and go to list processing.

Please help!!

1 REPLY 1
Read only

Former Member
0 Likes
335

You can use the function module as stated below -

FORM user_command USING r_ucomm TYPE sy-ucomm

rs_selfield TYPE slis_selfield.

CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'

IMPORTING

  • ET_EXCLUDING =

  • E_FLG_NO_HTML =

  • E_CALLBACK_PROGRAM =

  • E_REPID =

e_grid = ref1

  • ES_LAYOUT_KKBLO =

  • ES_SEL_HIDE =

.

CALL METHOD ref1->check_changed_data.

This helps to get the data in the internal table refreshed as well as that on the screen so that both are in sync.

this is generally used on some event, you can also use it otherwise.

<b>

Reward if useful.</b>

Regards,

Pritha