Change paragraph text width

Change paragraph text width

Convert table text to another lenght :


  CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
    EXPORTING
      line_width_src              = 79
      line_width_dst              = 255
    TABLES
      content_in                  = li_input_text_79
      content_out                 = li_input_text_whished_at_255
    EXCEPTIONS
      err_line_width_src_too_long = 1
      err_line_width_dst_too_long = 2
      err_conv_failed             = 3
      OTHERS                      = 4.

 

Convert string char to table :


  CALL FUNCTION 'SO_STRING_TO_TAB'
    EXPORTING
      content_str = lw_string
    TABLES
      content_tab = li_input_text_whished_at_255.

 

Search tag: convert, conversion, text, texte

 

About the author

fjourneau administrator

Hi, I'm Florian Journeau, SAP ABAP R3 Freelance, based in Toulouse, France. You want to know more about me, have a look on my CV : cv.fjourneau.net.

Leave a Reply