Data: wa_in(2000), it_in like table of wa_in. data: begin of wa_data, docno type ebeln, ebeln type ebeln, text(2000), end of wa_data, it_data like table of wa_data. Data: wa_lines type tline, it_lines like table of wa_lines. Data: w_len type i. data: w_width type i. Data: w_ebeln like THEAD-TDNAME. Data: wa_stream(2000), it_stream like table of wa_stream. Data: w_hex(10) type x.
Parameters: w_id like THEAD-TDID.
CALL FUNCTION '/SAPDMC/LSM_F4_FRONTEND_FILE'
* EXPORTING * PATHNAME = CHANGING PATHFILE = w_file * EXCEPTIONS * CANCELED_BY_USER = 1 * SYSTEM_ERROR = 2 * OTHERS = 3 . IF SY-SUBRC <> 0. * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. ENDIF.