07-13-2010 6:35 PM
Hi Gurus,
I have one scenario, I have to show a transaction on double click event on a field of Table Maintence.
Please guide me in this .
Is there is any event in Table Maintenance Events to capture double_click of a field.
Regards,
Sowmen
07-14-2010 3:10 PM
1. In the field attributes of the particular field there is a chechbox in display tab which says respond to double click, check that.
2. Assign the fuction code "PICK" for function code F2 in GUI status.
3.Now whenver you double click the field function code "PICK" gettes triggeed.
Now you can wrie yyou code based on this function code.
CASE sy-comm.
WHEN 'PICK'.
*If you want the name of the field and the value in that field use the below code.
GET CURSOR FIELD gv_field VALUE gv_cursor_value.
*DO your operation based on the field and the value.
ENDCASE.
Regards,
Smithesh
07-13-2010 7:20 PM
You can do it by modyfying the flow logic, but when you modify and regenerate it again then these changes will be overwritten.
Im not sure whether this can be done through extended events.
07-14-2010 9:15 AM
07-14-2010 10:18 AM
Hi Sowmen,
Check the thread below, it may give you a heads up.
[http://wiki.sdn.sap.com/wiki/display/SI/SAP-TMG%27Event%27%2CHowitgoesinECC6.0.onestep+ahead.]
07-14-2010 3:10 PM
1. In the field attributes of the particular field there is a chechbox in display tab which says respond to double click, check that.
2. Assign the fuction code "PICK" for function code F2 in GUI status.
3.Now whenver you double click the field function code "PICK" gettes triggeed.
Now you can wrie yyou code based on this function code.
CASE sy-comm.
WHEN 'PICK'.
*If you want the name of the field and the value in that field use the below code.
GET CURSOR FIELD gv_field VALUE gv_cursor_value.
*DO your operation based on the field and the value.
ENDCASE.
Regards,
Smithesh