2005 Oct 26 8:29 PM
Hi fellow ABAPer's
I am trying to highlight a pushbutton to remind the users that they have clicked on it. Is there a way to do it? I tried defining the pushbutton as 'Output' field and set the screen attribute 'INTENSIFIED' in the PBO and it doesn't work.
Any helpful ideas??
Thanks!
Thanks Rob. But this will work for GUI status. But the pushbutton is not part of GUI status. It is stand alone on the screen. I didn't think there was a way I can grey out or highlight the pushbutton, but if you think it is possible please let me know.
2005 Oct 26 8:36 PM
You could change the icon text or you could de-activate the icon. If you want, you could create another gui with a different icon.
Rob
2005 Oct 26 8:49 PM
Currently I do not have an icon, only text. What do you mean by de-activate the icon ? Make it invisible?
Thanks!
2005 Oct 26 8:57 PM
data exclude_pf type table of sy-ucomm.
In the PBO fill exclude_pf with the ok codes you don't want to see and:
set pf-status 'OVERVIEW' excluding exclude_pf.
This will grey out the icon, but it will be visible.
Rob
Message was edited by: Rob Burbank
2005 Oct 26 9:08 PM
Thanks Rob. But this will work for GUI status. But the pushbutton is not part of GUI status. It is stand alone on the screen. I didn't think there was a way I can grey out or highlight the pushbutton, but if you think it is possible please let me know.
2005 Oct 27 5:15 AM
If i m not wrong u have pushbutton in table control and u want to highligh the clicked line. If is it so let me know i will provide u the workout.
2005 Oct 27 4:54 PM
Sorry - I realized later that the button wan't part of the GUI. In this case you can create a field with the same name as the ok code. Then in the PBO, assign a new value to it. For example:
DATA: more(10) value 'Unpushed'.
MODULE user_command_0100 INPUT.
CASE save_ok.
WHEN 'MORE'.
more = 'Pushed'.
ENDCASE.
ENDMODULE.
2005 Oct 28 3:25 PM
Rob,
I do not want to change the text. I was trying to see if there is a way to somehow highlight or make the pushbutton appear as if it has been pushed. If I am not wrong, I think some of the SAP standard screens set them this way to indicate on which tab you are currently on.
2005 Oct 28 3:44 PM
I think SAP uses subscreens for this. I suppose you could create another screen without the pushbutton. I don't use subscreens, so thre's not much more I can tell you.
Of course, you could move the button to the GUI.
Rob
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |