Hi Zhiyu,
ALSM_EXCEL_TO_INTERNAL_TABLE will work only in foreground mode ( and only from SAPGUI ) as it is using front end services ( internally activex) . You can not use it in DPC class as no foreground execution is involved . No donuts
Sreehari