01-16-2013 3:28 PM
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 !!
01-23-2013 5:15 PM
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?
01-23-2013 5:11 PM
01-23-2013 5:15 PM
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?
01-23-2013 5:44 PM
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
01-23-2013 6:11 PM
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
01-23-2013 6:13 PM
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'.