Application Development and Automation 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: 
Read only

Screen painter - hotspot

former_member239066
Participant
0 Likes
1,253

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

3 REPLIES 3
Read only

Former Member
0 Likes
745

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.

Read only

0 Likes
745

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

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
745

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