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: 

Purchase Order - Trap Double-Click

Former Member
0 Kudos
342

Hi , I'm Cristian , this my first post , i need to do something that's going me mad.

I need to trap the double-click event in a text field (ekko-sumbi , exactly) in the header of the purchase order , i searched for exits (MM06E005,M06E0005,LMEKO001,etc) , but no luck , nothing on double click , also tried badis ( ME_GUI_PO_CUST , ME_PO_SC_SRV , ME_HOLD_PO , ME_PROCESS_PO_CUST) , no luck either.

Any help please ???

Thank you very much !

1 ACCEPTED SOLUTION

Vinod_Chandran
Active Contributor
0 Kudos
200

Hi Cristian,

Welcome to SDN.

I do not think you can implement double click on the standard screen field. You may use field exits.

Could you please let me know what you are trying to achieve?

Thanks

Vinod

Message was edited by: Vinod C

8 REPLIES 8

Vinod_Chandran
Active Contributor
0 Kudos
201

Hi Cristian,

Welcome to SDN.

I do not think you can implement double click on the standard screen field. You may use field exits.

Could you please let me know what you are trying to achieve?

Thanks

Vinod

Message was edited by: Vinod C

Former Member
0 Kudos
200

Hi , thanks for the welcome ,

What i have to do is that when the user double click on the collective no. (ekko-submi) , i need to call transaction ME49 and return (that's why a i didn't use a field exit, cant do calls from FE )

Any ideas ?

Thanks a lot!! im just going mad :S

0 Kudos
200

Hi,

As far as I am aware of, this is not possible. You may try menu exit instead of double click on this screen.

Thanks

Vinod

Former Member
0 Kudos
200

Hi Cristian,

If you look at the MM06E005 enhancement, it allows to include some custom fields in the subscreen. Now let us assume that we will not create any new fields, but since we create the subscreen, we can always insert code in the PAI logic of the subscreen. In there you will write code for the sy-ucomm = 'MESELECT'(for double-click). So you will do a call transaction ME49 and return.

Please go through the documentation for the transaction.

Since, you are new to the forum, let me introduce you to the forum rewarding system. You can rate any of the responses to your question and assign points based on their usefulness. You will select 'Solved Problem' or 'Solved myself', once your problem is resolved.

Try this and let me know how it goes.

Srinivas

Former Member
0 Kudos
200

I tried generating de screen 101 as u suggested , but cannot catch de double click event on the header screen , i tried enabling the EXIT_SAPMM06E_006 y EXIT_SAPMM06E_007 exits too , didnt work.

Am i missing something ?

ps. the other suggestion about menu exit , cant find one for me29n , do u have a name ?

Thanks a lot guys.

0 Kudos
200

Sorry, I thought it might just work, but apparently not. I don't see any other option availble to you at this point.

Srinivas

Former Member
0 Kudos
200

Well , finally i opted to add another tab with bapi ME_GUI_PO_CUST , duplicated the field , and use that screen PAI

Thanks to all for the replies.

0 Kudos
200

Hi Cristian,

Glad to see that you found a solution. I am also glad to see that you told the forum what your final solution is. This will not only help the forum but also will encourage others to give their final solutions before closing a thread.

Thanks for sharing the info.

Srinivas