2009 Mar 19 4:58 AM
Hi Experts,
I have designed a screen and enabled an input field to respond to double click. This input field will contain a contract number. When the user double clicks on the contrac number, the process should display the contract in ME33K. How do i proceed?
Thanks,
Vitz
Hi Experts,
I have designed a screen and enabled an input field to respond to double click. This input field will contain a contract number. When the user double clicks on the contrac number, the process should display the contract in ME33K. How do i proceed?
Thanks,
Vitz
2009 Mar 19 5:03 AM
Hi,
Hotspot is not possible in Module pool..you can have the double click on the field value..just you need to set the Attibutes -> Display -> Responds for double click of that field.
2009 Mar 19 5:09 AM
Hi,
I have already set that. how can i proceed to enable the user to display the the contract in ME33K by double clicking on it?
Thanks,
Vitz
2009 Mar 19 5:14 AM
Hi,
Enable responds to double click for textbox and check the sy-ucomm for double click on textbox ti be used.
Say you have the name of textbox as evrtn for contract number on module pool screen.
DATA : evrtn TYPE rm06e-evrtn. "field for contract number (as on ME33K)
Check the sy-ucomm for button double-click in your program, and then use code:-
In PAI of the screen.
MODULE user_command_8001.
CASE sy-ucomm.
WHEN '<double_click_sy-ucomm>'.
SET PARAMETER ID '<param_id>' FIELD 'EVRTN'. "i guess parameter id is VRT
CALL TRANSACTION 'ME33K' AND SKIP FIRST SCREEN.
ENDCASE.
ENDMODULE.
Get the parameter id from the transaction ME33K by pressing F1 on parameter field and check the parameter id. I hope the parameter id is VRT, please check and confirm.
Hope this helps you.
Regards,
Tarun
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |