Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Checking for # in Text Edit

Hi All,

I have a textedit in a view. On submitting of the page, when no data is entered , and if I check the value of this variable in my controller, I get a # assigned as the value.

I understand that this is some hex value but not against which value it should be checked. I tried to check as


CLEAR model->text_value.


Also,I checked it against CL_ABAP_CHAR_UTILITIES=>NEWLINE

but no use.

The model->text_value variable is of type CHAR255.

I need to enforce mandatory check for this field in my function module but since it has some hex value, even though user has not entered any value, the mandatory check fails in the function module.

Please help.

Former Member
Not what you were looking for? View more on this topic or Ask a question