2008 Mar 17 12:20 PM
Hi,
In module pool i had created a screen , and i have two button SAVE and CANCEL.
When i am using the save button data is getting updated in the database. but now i wanted to save the data by pressing enter on the key board.Help me on this.
Regards,
Dev
2008 Mar 17 12:24 PM
hi,
in user_command module of PAI,
in CASE ENDCASE,
instead of when 'SAVE' write
when '' (space - ok code for enter)
reward if usefull....
2008 Mar 17 12:24 PM
hi,
in user_command module of PAI,
in CASE ENDCASE,
instead of when 'SAVE' write
when '' (space - ok code for enter)
reward if usefull....
2008 Mar 17 12:48 PM
use insert statement in the under "save"
case sy-ucomm,
when "save"
insert into
endcase.
2008 Mar 17 12:48 PM
if you are using a standard PF_STATUS, the green check is your enter key and the FCTCode/OK_CODE for it is 'ENTER'.
2008 Mar 18 4:45 AM
Hi Devendran,
Create ENTER( FUNCTION CODE - ENTE ) pushbutton at Application toolbar in PF Status .
instead of calling the SAVE
case sy-ucomm.
when 'ENTE'.
insert ztable from gt_table.
endcase.
Regards,
Madhavi