‎2010 May 07 2:30 PM
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'
‎2010 May 08 6:07 AM
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