on 08-25-2010 1:29 PM
Hi,
When we create shopping cart using portal and the Vendor text value on the screen as below
Vendor text1
Vendor text2
Vendor text3
In E_longtext table it is stored as below :
Vendor text1#Vendor text2#Vendor text3
In Smartform output, the # is displayed instead of new line and all the lines are displayed in a single continuous line.
Can anyone tell the class or FM to read this text in correct format i.e.
Vendor text1
Vendor text2
Vendor text3
Thanks,
Navdeep Malik
hello,
try splitting the lines using CL_ABAP_CHAR_UTILITIES=>NEWLINE.
DATA: lt_tab type table of STRING.
split LV_LNGTXT at cl_abap_char_utilities=>newline into table lt_tab.
regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.