01-06-2015 12:11 AM
Hello, I have a dynpro, in this dynpro I have a control table, in this control table I added the event double click by F2 Key function, when I add this, SAP asks for an icon description text, I want to have this functionality without icon, because my function is with double click not with a button. Could anyone tell me how can I remove the icon and text?
01-06-2015 12:15 AM
Just double click the function and it show you a popup where you can maintain the text/ icon/ short cut etc.
01-06-2015 2:17 AM
Put a cursor on F2 text, and click on the "remove row" button from application toolbar.
01-06-2015 5:41 AM
Hi Luis,
You can remove icon by double clicking function attribute and can remove that icon & text.
please see my screen shot below.
Thanks,
Marimuthu.K
01-06-2015 5:06 PM
01-06-2015 5:42 PM
I haven't tried this, but you might just remove the icon and PF STATUS entirely (assuming this is an ALV report). Make sure you have a form coded for I_CALLBACK_USER_COMMAND.
Rob
01-06-2015 6:34 PM
Hi Luis,
As per my understanding you want to double click table control without any button i assume.
I suggest you the following solution
you need to enable <b>respond to double click</b> option.
and you should set the PF-status goto function keys and set F2 function code as PICK. ,. in the PAI of the screen you need to check the ok code.
case sy-ucomm.
when '&IC1'. "double click.
"do some thing,
endcase.
Thanks,
Marimuthu.K
01-13-2015 11:41 PM
I removed the icon, but now I want to remove the text how can I do this?
01-14-2015 4:21 AM
Hi,
If you are using Double click , make use of Comments no need for PF Status.
Manju
01-14-2015 5:27 PM
I need PF status because I need get the okcode: CASE ok_code200. WHEN 'DBCLICK'. clear: OK_CODE200. data: ws_field type string, ws_line type string. GET CURSOR FIELD ws_field LINE ws_line.
01-15-2015 4:06 PM
Are you sure? Remove the function code from status (*) and try.
(You could also add pushbutton in the dynpro with some function code not defined in status)
Regards,
Raymond
(*) As was already suggested by Chinmay and Rob and now by Manjunatha.