Skip to Content
Author's profile photo Former Member

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.
 
/wp-content/uploads/2013/11/sdn1_327962.png

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 vbakvbeln.

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.

/wp-content/uploads/2013/11/sdn3_327968.png
Find one more implicit enhancement place wherever popup window required in standard program
and write below logic in implicit enhancement.

/wp-content/uploads/2013/11/sdn2_327969.png
Result:

Run Va01 transaction code ->enter order type and sales organization -> select create with reference option->popup window displayed.
please see the below screen.
/wp-content/uploads/2013/11/sdn4_327970.png

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

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.