Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Handling Enter Command

Former Member
0 Likes
379

Hi All,

Iam Using oo alv and in the alv i have some editable fields

iam using handle tool bar event.

but in the field user give some input and when he press enter automatically it has to create a new line in alv.

New Line is creating when i press any button in toolbar

but user is not interested to press button always . so when user press enter in the row it has to create row.

i.e When Enter Press only that has to work.

Plz help me to solve this issue.

Regarding,

Venkat.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
341

You can register the Enter as the Edit Event and in the Event Handler of this event, you can add a line into the Internal table and it would be displayed on the screen as the new item. Check this post on how to implement the Enter event ..

http://help-abap.blogspot.com/2008/09/move-cursor-to-next-row-by-pressing.html

Regards,

Naimesh Patel

1 REPLY 1
Read only

naimesh_patel
Active Contributor
0 Likes
342

You can register the Enter as the Edit Event and in the Event Handler of this event, you can add a line into the Internal table and it would be displayed on the screen as the new item. Check this post on how to implement the Enter event ..

http://help-abap.blogspot.com/2008/09/move-cursor-to-next-row-by-pressing.html

Regards,

Naimesh Patel