Skip to Content
Feb 18, 2009 at 01:17 AM

NewLine Character in the String received from Interactive Adobe Form


Hello Experts,

Following is the issue we have with interactive Adobe Form

We have a text area within the form. User enters the text in multiple lines in this text area.

We are calling a backend function module designed in SE37 that accepts and process the data from the adobe form. We are also processing the string data user enters in the text area.

When we receive the string from the form, the newline character within the string is displayed as '#' in the debugger. We tried splitting this string using cl_abap_char_utilities=>newline and cl_abap_char_utilities=>cr_lf but NO luck. Though in the debugger we see cl_abap_char_utilities=>newline as '#' in the debugger and also '#' is present within the string, for some reason when string is processed to find cl_abap_char_utilities=>newline, we can find/locate it.

Because ABAP code is not able to identify the newline character within the string received from Adobe form, we are not able to maintain the formatting of the string as it was entered in the form.

Any help to resolve this issue is appreciated.

Thanks in Advance.