Registration

Dear SCN Member,
In order to fully benefit from what SCN has to offer, please register at:
http://scn.sap.com/login.jspa
Thank you,
The SCN team
We are improving! The SCN wiki will not be available for new content submission starting August 7th 6PM CET until August 10th 6PM CET.
Please plan your SCN wiki tasks accordingly.
Skip to end of metadata
Go to start of metadata

Dynamic Selection screen popup using FM - POPUP_GET_VALUES_USER_HELP & data extraction

Summary

This Post narrates the sample code for creating dynamic selection screen popup based on based on dictionary table and subsequent data extraction based on user input.

Author(s):  Vinod Kumar T

   
Company:     NIIT Technologies Limited
Created on:    30.11.2012
Author(s) Bio
Vinod Kumar is an ABAP consultant working with NIIT Technologies Limited. 

Function modules used in the report

Sr. No

Function Module

Description

1

POPUP_GET_VALUES_SET_MAX_FIELD

Dialog box for setting the maximum no. of fields per dialog box

2

POPUP_GET_VALUES_USER_HELP

Dialog box for requesting values, call of user exits and help

 

Global Class & methods used in the report

Sr.No

Class

Method

Description

1

CL_RECA_DDIC_TABL

GET_FIELD_LIST_X

Column list of Dictionary Table

2

CL_SALV_TABLE

FACTORY

Create Instance of ALV

3

CL_SALV_TABLE

DISPLAY

Display ALV Grid

 

Sample Code
  
  
Remarks
    • Data extraction has been done with "Equal to" condition, implementation of data extraction using selection table will require more changes in above program.