Hi ,
I am using write statement in the user command for ALV as below .I am find the ALV after the write statement .How can I avoid the ALV after the write statement .Also when I click back from the write statement screen ,it is going back to selection screen instead of first ALV .I have tried using LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0 before and after the write statement but this issue is still existing .How to fix this .
FORM user_command USING ucomm TYPE sy-ucomm selfield TYPE slis_selfield.
CASE ucomm.
*
WHEN 'ONLI'.
WRITE : 'Test' .