Display POPUP Window for Multiple or Range of values in Implicit Enhancement
Author: Polu Sreedevi
Summary:
Here I am calling a popup window for reference doc (vbeln) in va01 application and it will display when we
select create with reference button. Please see the below screen shot.

Solution:
Develop one include
program for selection screen.
Go to se38->enter
the program name and select the type as Include program->Save and continue.
Write the below logic in Include Program.
*&---------------------------------------------------------------------*
*& Include ZSELECT_OPTION
*&---------------------------------------------------------------------*
DATA:lv_vbeln TYPE vbak-vbeln.
SELECTION-SCREEN BEGIN OF SCREEN 120 AS WINDOW.
SELECT-OPTIONS:s_vbeln FOR lv_vbeln.
SELECTION-SCREEN END OF SCREEN 120.
AT SELECTION-SCREEN.
*Export selection screen values to
S_VBELN
EXPORT s_vbeln TO MEMORY ID 'S_VBELN'.
Find the implicit enhancement place in the standard program and call the above include program in implicit
enhancement.
Find one more implicit enhancement place wherever popup window required in standard program
and write below logic in implicit enhancement.
Result:
Run Va01 transaction code ->enter order type and sales organization -> select create with reference option->popup window displayed.
please see the below screen.
After this popup window, we can use popup window values based on requirement.
Here in popup window,we can enter either multiple values or range of values