on 2007 Mar 26 9:06 PM
Hi,
I am creating an invoice through the portal. In the portal I enter three lines of text for billing header text. After each line I hit a ENTER.
When I view the invoice the three lines in the header text are displayed allright however when I try viewing the invoice on a smartform , i see that each of the ENTER after every line shows a ## i.e.
LINE1##LINE2##LINE3.
The function module being used to read the text is READ TEXTINLINE and I have narrowed down the problem to this function module. Data by this module is being read from the text memory and reads in the format above. I need to either use another function module or need to format or convert the data as required (without the #'s) . Please let me know the best strategy and how to implement it.
Thanks in advance.
Hi,
Use the SPLIT V_STRING AT CL_ABAP_CHAR_UTILITIES=>CR_LF.
Ex.
DATA: V_STRING.
DATA: LT_STRING TYPE STRING OCCURS 0 WITH HEADER LINE.
SPLIT V_STRING AT CL_ABAP_CHAR_UTILITIES=>CR_LF
INTO TABLE LT_STRING.
Thanks,
Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
11 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.