2018 Apr 12 11:31 AM
Hello,
I have a custom module pool in which I am using set cursor field command to set cursor at production order field.
Requirement is to select field value so that another value(production order) can be entered in it directly without deleting existing one.
Thanks for your help.
If you have finished with the previous production order value then why not clear it and then position the cursor?
2018 Apr 12 1:25 PM
Hi Jitendra,
That isn't supported unfortunately. You can set the cursor position within the field using OFFSET but can't select the field's value.
SET CURSOR FIELD field_name OFFSET cursor_position.
Cheers,
Amy
2018 Apr 12 1:45 PM
Hello Amy,
Thanks for your answer. I see that is happening in SE38/SE24. Enter a program name and display it and then go back.
Program name will be selected so that next program can be entered. I tried to debug it but no able to find where standard code is selecting field's value.
2018 Apr 12 2:18 PM
Hi Jitendra,
That behavior is built into the GUI but AFAIK cannot be replicated programmatically. You should see the same behavior in your dynpro screen-- with the cursor in that field, if you hit enter the field's full value will get selected.
Cheers.
2018 Apr 12 4:37 PM
If you have finished with the previous production order value then why not clear it and then position the cursor?
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |