0% found this document useful (0 votes)
1K views

MODULE POOL 2 Working With Double Click Event in Module Pool Programming

This document provides steps for linking the "Respond to double click" functionality to text and input fields in ABAP module pool programming. It describes creating a sample program with fields, setting the "Respond to double click" attribute for an input field and text, defining global variables, assigning a function key, and writing code to navigate to specific transactions when those elements are double clicked. Double clicking the input field navigates to transaction MM03, while double clicking the text navigates to transaction SE16 to view a specific table.

Uploaded by

Chris Bailey
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views

MODULE POOL 2 Working With Double Click Event in Module Pool Programming

This document provides steps for linking the "Respond to double click" functionality to text and input fields in ABAP module pool programming. It describes creating a sample program with fields, setting the "Respond to double click" attribute for an input field and text, defining global variables, assigning a function key, and writing code to navigate to specific transactions when those elements are double clicked. Double clicking the input field navigates to transaction MM03, while double clicking the text navigates to transaction SE16 to view a specific table.

Uploaded by

Chris Bailey
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 7

Working with "Respond to double Click" in Module Pool

Programming
By Jayshree Santosh Mahajan, Cognizant

Here are steps on how to link the “Respond to double click” to text and I/O field in module pool
programming.

Steps:

1. Create sample module pool program with the desired fields on the screen. Let’s say we have created
below screen.

2. Now enter any material number in the I/O field and double click, it will navigate to the transaction
MM03 and when you double click on text “Go to table MARA”, it will navigate to transaction code
SE16 with the table name MARA.

Let’s see how this can be achieved.

3. Double click on I/O field for material (IO_MATNR), attribute window will appear. Check the check box
“Respond to double click” as below under the tab “Display”.
4. Similarly do this for the text “Go to table MARA” (TXT_MATNR).
5. Define two global variables IO_MATNR and TXT_MATNR as below.
6. Create the GUI status.

Subscrib Working with "Respond to double Click" in


e Module Pool Programming
Unsubscribe

...Previous

7. Assign the function code PICK to the key F2 as below.

8. Write below code in the PAI.


9. Save and activate the program.

Output:

Execute the program by creating the transaction.


Enter the material number and double click on it.

The display material screen will appear.

Now click on the “Go to table MARA”.


It will navigate to the data browser.

In this way we can link the Respond to double click to the screen elements.

You might also like