You are on page 1of 1

Hi,

Yes you can Run in Background but make sure it is alv list, not alv Grid FM. if you are uisng alv list not problem , but if you are using alv grid then you can code like this.. if sy-batch = ' '. call 'REUSE_ALV_GRID_DISPLAY'. else. call 'REUSE_ALV_LIST_DISPLAY'. endif. http://scn.sap.com/people/vijay.sharma4/blog/2010/04/16/data-processing-using-ab ap-code-in-lsmw

if you are using OO alv then write this code.. CALL METHOD cl_gui_alv_grid=>offline RECEIVING e_offline = off. IF off IS INITIAL. CREATE OBJECT g_custom_container EXPORTING container_name = g_container. ENDIF.

Regards vijay http://scn.sap.com/thread/138471 http://scn.sap.com/thread/1683416 http://scn.sap.com/thread/1820627

You might also like