Skip to Content
0
Jan 07, 2008 at 09:39 AM

Need to have pop up window in selection screen and capture the user action.

601 Views

Hello Friends,

I have a requirement, that need to show a pop up window after execution, and to get the action from user using a Push button.

I create a selection screen and a sub screen as window.

After user execute from the selection screen, I am popping up this window.

Window contains some input values to be entered and push button to identify the user action.

I try to capture the user action using sy-ucomm, but it does not hold any value when user press the button.

How to overcome this issue.

Here is the definition of the window.

  • Pop Up Window for getting values

SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW TITLE title .

PARAMETER : p_vdate LIKE t9aa01-validfrom,

p_dcggt LIKE t9aa01-hkont,

p_dcgst1 LIKE t9aa01-hkont,

p_dcgst2 LIKE t9aa01-hkont,

p_na LIKE t9aa01-hkont.

SELECTION-SCREEN SKIP.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION 20.

SELECTION-SCREEN PUSHBUTTON 2(10) text-001 USER-COMMAND SVE.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF SCREEN 500.

Cheers,

Senthil

Edited by: Senthil on Jan 7, 2008 11:03 AM