Application Development 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: 

Module pool field - Enter does not work (ihrez)

Former Member
0 Kudos

I have a module pool. One of the fields it have is EKKO-ihrez

Once I run it, and enter a value (or not) in this field, the enter key does not work, just TAB is allowed. If I write a data in IHREZ field and press enter, it does not move from this field.

I tried  putting this field requiered, not requiered, change the place in the screen, etc.

In properties, seems to be iqual to others fields of this module pool.

Any Idea? Regards !!

1 ACCEPTED SOLUTION

former_member16322
Participant
0 Kudos

How does enter behave in the other fields?

Does your GUI Status have Enter defined for a function? What behavior are you expecting enter to perform?

5 REPLIES 5

Former Member
0 Kudos

Any idea?

former_member16322
Participant
0 Kudos

How does enter behave in the other fields?

Does your GUI Status have Enter defined for a function? What behavior are you expecting enter to perform?

0 Kudos

Other fields are ok, the EKKO-ihrez is the only one requiered field in the screen.

If I press TAB key I can go to others field, but if I press Enter key it goes to EKKO-ihrez, and unless you use TAB you can no go out of this field

0 Kudos

hello,

You could assign a ok_code to ENTER key and program it accordingly in your events of module pool program.

check below links for the same

http://scn.sap.com/thread/486771

http://scn.sap.com/thread/593081

best regards,

swanand

0 Kudos

First of all, thank you for the answer, finally I did in this way:

data: new_field type char20,

       cursor_actual type char20.

And in PBO:

CASE cursor_Actual.

    WHEN 'GV_100-IHREZ'.

       new_Field = 'GV_100-BSART'.

     WHEN 'GV_100-BSART'.

       new_Field = 'GV_100-BUKRS'.