Skip to Content
0
Former Member
Jun 04, 2009 at 06:32 AM

Xstring to string conversion when data is more than 255 char

332 Views

Hi

I have come across many FMs which convert xstring to string, but all return string value in a string variable and the value is truncated after 255 char, can any one please tell any FM which can return string data in a itab of type string.

I hav found this one, but wht shoud i pass to in_codepage and ex_codepage.

CALL FUNCTION 'LXE_COMMON_XSTRING_TO_STRNGTAB'

EXPORTING

in_xstring = lv_datasource

TEXTKEY = '001'

in_codepage = ''

ex_codepage = ''

DROP_EMPTY_LINE = 'X'

IMPORTING

EX_TAB = itab.

  • PSTATUS =

Regards,

Tushar