ABAP顾问
分类:
2009-08-27 15:39:35
chinaunix网友2009-09-04 12:28:21
DATA: BEGIN OF itab OCCURS 0 , f1(10) , f2(10) , END OF itab. DATA: BEGIN OF it_field OCCURS 0 , f1(100) , f2(100) , END OF it_field. APPEND 'abcsafasdfadsfas' TO itab. APPEND '9434jeiwjerwjer1234' TO itab. it_field-f1 = '这是第一列F1' . it_field-f2 = '这是第二列F2'. APPEND it_field . CALL METHOD cl_gui_frontend_services=>gui_download EXPORTING filename = 'c:\down.txt' filetype = 'DAT' CHANGING data_tab = it_field[] EXC
chinaunix网友2009-09-04 11:44:33
要是使用 CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD 怎么办呢?好像没有FIELDNAMES 参数哦。