Skip to Content
0
Former Member
Jan 15, 2008 at 03:46 AM

Selection screen processing

26 Views

Hello,

I have two questions for selection screen.

I have following case:

I have 3 parameters. When the parameters all are filled, the data should be written in an internal table.

But the user has to fill all the parameters, before the data is written to the internal table - and so long, the user should be able to see the other values in the parameters. How do I have to change my source code?

coding so far:

********************************************************************

Selection-Screen begin of BLock Block1.

Parameters:

field TYPE char29,

erfmg TYPE CHAR6,

lgort type char4.

Selection-Screen end of Block Block1.

AT SELECTION-SCREEN ON Block Block1.

SPLIT field AT '-' INTO itab-matnr itab-charg.

itab-erfmg = erfmg.

itab-lgort = lgort.

CLEAR field.

clear erfmg.

clear lgort.

APPEND itab.

****************************************************************

2. The inserted data is used in this program afterwards. Before this processing starts (later in the source code), the users asked me for a possibility to check all the data the inserted over the parameters. So does there a possibilty exists to create something like a button, on which the users could click on and which is showing a list of the internal table? (after this the program should continue).

I am sure there should be solutions for these two problems, but I haven´t done it before and don´t know where to search for.

Thanks for all your help,

Christoph