2007 Jul 05 4:41 AM
Hi All,
i have a transaction el61 , its updating the database tables.
when ever i press the SAVE button its updating the table properly ,
But , when i press 'ENTER' its not updating the databse table properly, though the
sy-ucomm value is same (i.e. 'SAVE' ) for both the actions.
can any body pl. advice.
is there any way to differentiate between SAVE and ENTER.
Thanks in advanse,
Regards,
sandeep.
2007 Jul 05 4:50 AM
Hi,
Simply go to the System and find out its PF-STATUS or GUI Status , then go to Application Toolbar where you will get all the codes.
Reward if useful!
Hi All,
i have a transaction el61 , its updating the database tables.
when ever i press the SAVE button its updating the table properly ,
But , when i press 'ENTER' its not updating the databse table properly, though the
sy-ucomm value is same (i.e. 'SAVE' ) for both the actions.
can any body pl. advice.
is there any way to differentiate between SAVE and ENTER.
Thanks in advanse,
Regards,
sandeep.
2007 Jul 05 4:43 AM
Hi Sandeep,
There must be some difference. Please check it in debugging.
Regards,
Atish
2007 Jul 05 4:50 AM
Hi,
Simply go to the System and find out its PF-STATUS or GUI Status , then go to Application Toolbar where you will get all the codes.
Reward if useful!
2007 Jul 05 4:59 AM
thanks for ur reply,
but am unable to see the code for ENTER.
Regards,
Sandeep.
2007 Jul 05 5:22 AM
Hi Jinna,
The user-command must be different if the action is different.
I think the common user-command for ENTER is 'OKAY'.
Just add it to your code (sy-ucomm = 'SAVE' OR sy-ucomm = 'OKAY')
2007 Jul 05 5:44 AM
Hi Jinna Sandeep,
I think the code for enter command is '\00' . U try to give this code in ur sy-ucomm .
I am not sure it will run but u can have try...
2007 Jul 05 5:35 AM
Hi,
Record the transaction with Enter button pressed using SHDB transaction, then you will find the sy-ucomm for Enter,if you are not able to differentiate in debugging.
2007 Jul 05 5:48 AM
hi jinna,
try to use :
case sy-ucomm.
when 'SAVE' or 'ENTER'.
perform some operation
endcase.
hope this may work,
please reward incase usefull...
regards,
prashant
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |