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

Refresh ALV data problem

Former Member
0 Likes
288

I am using Function module ALV for displaying Blocked Purchase Requisition list with Hotspot option which takes user to ME54N transaction and lets him release it from there.

I am trapping the hotspot in USER_COMMAND form.

Now i want tht when user releases the PR the particular PR should not appear in List.

I tried setting SEL_FIELD-REFRESH = 'X'.

but no use.

after saving PR i am able to fetch fresh data from Table but i am unable to refresh contents of ALV list.

Regards,

Digvijay'

1 REPLY 1
Read only

0 Likes
247

the first time when u r displaying the data using an internal table make that table global table...

now each time you update the data in that internal table..data will be refreshed..

FORM user_command_exp USING r_ucomm TYPE sy-ucomm

rs_selfield TYPE slis_selfield. "#EC CALLED

rs_selfield-refresh = 'X'.

rs_selfield-col_stable ='X'.

rs_selfield-row_stable = 'X'

change that internal table global data....

endform...

i hope it helps..

regards,

yadesh