Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

selection screen

Former Member
0 Likes
670

Hi

I have a parameter on my selection screen.

I enter a value for the parameter and excecute it.

Now when i return from the output to the execution screen.

There should not be any value on the screen.

Thanks and Regards,

1 ACCEPTED SOLUTION
Read only

Barada_Swain
Participant
0 Likes
544

Hi Somay,

Use the event AT SELECTION-SCREEN OUTPUT to clear the parameter value. It gets triggered just before the screen display.

Thanks

Barada

Edited by: Baradakanta Swain on May 9, 2008 6:44 AM

6 REPLIES 6
Read only

prasanth_kasturi
Active Contributor
0 Likes
544

hi

do the following way,

i implemented for select-options you do for parameters..

at selection-screen .

if sy-ucomm = 'ONLI'. " Only when execute is pressed

v_low = s_kunnr-low.

v_high = s_kunnr-high . " Hang on to this for select statement

clear s_kunnr[].

clear s_kunnr. " Clear the screen parameter

endif.

start-of-selection.

  • slecting data for basic list(kna1)

SELECT kunnr name1 land1

FROM kna1

INTO TABLE it_kna1

WHERE kunnr between v_low and v_high.

modify according to your prog

reward if helpful

prasanth

Read only

Former Member
0 Likes
544

Use clear statement in INITIALIZATION screen.

or in end-of-selection.

Regards.

Madan.

Read only

Former Member
0 Likes
544

In the At Selection Screen Output event clear the all the values of the parameters.

ex:

At Selection Screen Output.

Clear: p_matnr, p_lifnr.

Read only

Barada_Swain
Participant
0 Likes
545

Hi Somay,

Use the event AT SELECTION-SCREEN OUTPUT to clear the parameter value. It gets triggered just before the screen display.

Thanks

Barada

Edited by: Baradakanta Swain on May 9, 2008 6:44 AM

Read only

Former Member
0 Likes
544

hi,

u can go for clearing the parameter in the selection screen output.

CODE:

at selection-screen output.

clear p_tcode.

hope this helps.

Thanks & Regards,

Ramya

Read only

Former Member
0 Likes
544

use clear in the INITIALISATION.

reward iff helpful.