cancel
Showing results for 
Search instead for 
Did you mean: 

Value in text edit

Former Member
0 Kudos

Hi,

I am using a TextEdit UI element. Based on the value of this UI element i have to display a message.

But if user does not enter any value then i am not able to check what it is taking.

I am using the following query:

lv_editor is INITIAL.

lv_editor is the value of the text edit.

Regards;

reeha

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member40425
Contributor
0 Kudos

Hi Reeha,

use the following code.

data flag type abap_bool.

data lr_node type ref to if_wd_context_node.
 
    lr_node =  WD_CONTEXT->get_child_node( name = 'node_name' ).
 

lr_node->IS_ATTRIBUTE_NULL(
exporting 
NAME = 'attribute_name' 
  receiving  
FLAG = flag.
).

i hope it helps.

Regards,

Rohit

Former Member
0 Kudos

Hello ,

Try with lv_editor = space . It will work .

Regards

Vivek