Skip to Content

Capture user ENTER from get_form_field result

dear all,

I need to recognize user ENTER character in textarea input field (hex '0D' & '0A') from get_form_field result (in ABAP code). I have tried to convert it to hex, but always get nothing.

Please help.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 23, 2005 at 05:07 AM

    Hi Rita,

    just like other characters , enter is a special character that u can use in ABAP as "CL_ABAP_CHAR_UTILITIES=>CR_LF" .

    Hope it will help u.

    Regards,

    Ankur

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 23, 2005 at 05:06 AM

    Question is not clear. Are you saying that you are not able to read the user entered value in the input field using get_form_field? You also talked about hex, do you mean that you are not able to read the user entered hex values from the form field?

    Regards

    Raja

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 25, 2005 at 10:28 AM

    dear Raja & Ankur,

    thanks for your responses, it's really help.

    I have solved my problem by using cl_abap_char_utilities=>cr_lf.

    Regards,

    Rita.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.