‎2006 Nov 21 9:22 PM
Hi,
I am creating a web application. I am calling RFC function modules from the frontend in HTML through JAVA interfacing.
Now, there is a textbox on the screen which takes 10 lines of 60 chars each.
when I pass this complete string of 600 chars to the RFC, it takes the ENTER char as '##', but in the code when I want to break it at '##', it doen't recognise these codes.
Can anyone please help me regarding this. Is it due to some kind of ASCII code conversion ?
‎2006 Nov 21 9:25 PM
That's right, in the ABAP debugger, you will see the # sign as a representation of the non-printable character. In this case you want to SPLIT the string using an attribute of the class CL_ABAP_CHAR_UTILITIES.
Try this first.
data: istr type table of string with header line.
split str at CL_ABAP_CHAR_UTILITIES=>CR_LF
into table istr.Regards,
Rich Heilman
‎2006 Dec 05 12:54 PM
I've encountered the same problem but haven't been able to find this "CL_ABAP_CHAR_UTILITIES=>CR_LF" method.
In what SP it is available?
Is there any other way to bypass/correct this problem?
‎2006 Nov 21 9:41 PM