Display POPUP Window for Multiple or Range of values in Implicit Enhancement
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.
select create with reference button. Please see the below screen shot.
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.
enhancement.
Find one more implicit enhancement place wherever popup window required in standard program
and write below logic in implicit enhancement.
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.
Here in popup window,we can enter either multiple values or range of values
Be the first to leave a comment
You must be Logged on to comment or reply to a post.