Skip to Content
0
Feb 17, 2011 at 07:52 PM

Line break problem in open DATAset after additon LENGTH NO END OF LINE .

636 Views

Here is the code i am using for open dataset and transfer, but giving LENGTH and NO END OF LINE also i am getting the line break

  open dataset gv_fname  for output in text mode encoding utf-8.
  if sy-subrc <> 0.
    raise open_data_set_error.
  endif.
  data : lv_ln type i.
  lv_ln = strlen( it_istring ).
  transfer it_istring to gv_fname length lv_ln NO END OF LINE .
  close dataset gv_fname.

How to avoid line break