Skip to Content

Double click event not triggered in Module Pool Subscreen

Hi Experts,

I have a requirement to enhance Infotype table 1771 and to provide navigation to Sales Order document. For this i have included new fields in Subscreen and enabled "Respond to Double Click" check box. The field value has created with hotspot, but double click event is not triggering. Even i have tired with "CL_GUI_CFW=>SET_NEW_OK_CODE" and other menthods. Creating new PF-STATUS will collapse the main screen. The event is not triggered. Can you please help me to trigger the event. Thanks.

module-pool.jpg

Regards,

Ganesh R K.

module-pool.jpg (78.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 17, 2016 at 08:10 AM

    Subscreen have no status, only main screen, so the function code must be handled in main screen PAI. Where did you try to handle the event (usual trick is to manage sy-ucomm in PAI of subscreen, and often require some dirty code to prevent mess with main screen logic)

    The function codes of user actions on the dynpro, on the other hand, are always passed to the OK_CODE field of the main dynpro

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Raymond,

      Thanks for the reply. As the main screen is part of standard infotype screen, i haven't touched the PAI in main screen. Is there any way, were i can trigger the event from sub-screen.

      Regards,

      Ganesh.