2022 May 05 6:04 AM
Created a screen . In GUI status given save but didn't given enter function.
Written the code as
if ok_code = 'save' .
Perform save_data.
But the problem is the, data get saved even if we press enter sometimes not only the save.
Point here is i didn't given any function to catch enter and didn't defined it in GUI status too.
So how to solve this?
2022 May 05 6:10 AM
Your grammar is mostly correct, but there are a few minor changes that could be made to improve clarity and readability. Here's a revised version of your text:
The problem has been solved. I defined "enter" in the GUI status, which I hadn't done before because it didn't seem necessary. However, there was an inconsistency that was resolved by doing this.
Now, when Ok_code = 'save', The data is now being saved and is not saved when pressing enter.
If anyone could explain the actual reason for this, I would really appreciate it.
Thank you.
By default, and by design, with Enter, the function code remains unchanged. It will be useful when the user presses SAVE and there's an error in a field, the user can fix the field value and press Enter that will run the same function SAVE again.
You can find more information here: Reading Function Codes.
And here: dynpro - GUI Statuses and Function Codes.
2022 May 05 6:10 AM
Your grammar is mostly correct, but there are a few minor changes that could be made to improve clarity and readability. Here's a revised version of your text:
The problem has been solved. I defined "enter" in the GUI status, which I hadn't done before because it didn't seem necessary. However, there was an inconsistency that was resolved by doing this.
Now, when Ok_code = 'save', The data is now being saved and is not saved when pressing enter.
If anyone could explain the actual reason for this, I would really appreciate it.
Thank you.
2022 May 05 8:50 AM
By default, and by design, with Enter, the function code remains unchanged. It will be useful when the user presses SAVE and there's an error in a field, the user can fix the field value and press Enter that will run the same function SAVE again.
You can find more information here: Reading Function Codes.
And here: dynpro - GUI Statuses and Function Codes.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |