cancel
Showing results for 
Search instead for 
Did you mean: 

Action Enter

Former Member
0 Kudos

Hi all,

I created a table in my view, I woul like that after filled some fileds of a line table and pressed ENTER, remaining fields of line are filled automatically (using select in SAP table). The problem is that I don't know how manage the ENTER action, could someone help me?

Thanks

GN

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

in method WDDOINIT It passes in any case, I would like that new processing starts only if I press ENTER button but I am not able to intercept this action.

abhimanyu_lagishetti7
Active Contributor
0 Kudos

There is onEnter event for InputField.

Abhi

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

In WDDOINIT, try the following

Data: it_table type standard table of <table_type>,

context_node type ref to if_wd_context_node.

select * from table into table it_table

if sy-subrc eq 0.

context_node = wd_context->get_child_node( name = '<node_name>').

context_node->bind_table( it_table).

endif.