6、 ERR_FORMAT = 2 ERR_CONV_NOT_POSSIBLE = 3 OTHERS = 4. IF SY-SUBRC <> 0. MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. ENDIF.*---------------TAKING THE DOWNLOAD FILE PATH AS USER INPUT** DATA UA TYPE I.CONC
7、ATENATE 'D:' KUNNR NAME1 ZDATE1+0(6) '对账单.pdf' INTO FILE_NAME.“定义文件名这一段不屏蔽,在打印的时候会有显示选择路径的对话框,屏蔽则直接保存在上面的文件名FILE_NAME指定的路径* CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG* EXPORTING* DEFA