Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Open T-code on double click of field in table maintenance

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

4 REPLIES 4

kesavadas_thekkillath
Active Contributor
0 Kudos

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.

Sandeep_Kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos

there is no event for double clcik in mant. view.

Former Member
0 Kudos

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.]

Former Member
0 Kudos

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