on 02-13-2009 6:31 AM
Hi,
I have a requirement where i need to check whether the TextEdit element has enter in it.
When i see the text in debugger, it shows # used for enter. I capture this # in a variable and wheni compare it with character '#' it doesnt match.
Can you please help me in identfying enter in Textedit.
Regards,
Piyush
Hi,
try to use cl_abap_char_utilities=>newline for comparing. Normally you can split your string at cl_abap_char_utilities=>newline or ...=>cr_lf.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Piyush,
Do like this:
Read the attribute which is binded with the text edit with the help of code wizard.
then use
if lv_text ca cl_abap_char_utilities=>newline." here lv_text contains the value in my text edit
It will work.
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.