如果报以下错误
设置->定义MIME类型
下载
DATA: LS_WWWDATA_ITEM LIKE WWWDATATAB, "
LV_FILE TYPE RLGRAP-FILENAME ."
LV_FILE = 'C:\a.doc'.
SELECT SINGLE *
INTO CORRESPONDING FIELDS OF LS_WWWDATA_ITEM
FROM WWWDATA WHERE srtf2 = 0
AND relid = 'MI'
and OBJID = 'ZARA002' .
CALL FUNCTION 'DOWNLOAD_WEB_OBJECT' "
EXPORTING
KEY = LS_WWWDATA_ITEM
DESTINATION = LV_FILE.
注意一点: HTML模板和二进制的对象名称可以使用同名,在WWWDATA表里面以RELID 区分。