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

clear selection-screen fields.

Former Member
0 Likes
3,354

Hi friends,

i have created one report the report get input from two via one is selection screen inputs and another one is input excel file.

when i chose inputs from excel file at the time the selection-screen is empty .

how to clear selection screen fields .

please provide sample code.

thanks and regards,

jayachandran

6 REPLIES 6
Read only

Former Member
0 Likes
898

HI,

use clear <field name>.

rgds,

bharat.

Read only

Former Member
0 Likes
898

Hi,

Simply use CLEAR statement

CLEAR : S_MATNR, p_Date, S_BWKEY.

REFRESH : S_BWKEY, S_MATNR.

Best regards,

Prashant

Read only

Former Member
0 Likes
898

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-name = 'S_DATE-HIGH'.

screen-output = 1.

ENDIF.

MODIFY SCREEN.

ENDLOOP.

Do it for all select options

Rewards if useful..................

Minal

Read only

varma_narayana
Active Contributor
0 Likes
898

hI

In case of PARAMETERS use

CLEAR P_MATNR.

In case of SELECT-OPTION use

REFRESH S_MATNR. "Body

clear s_matnr. "Header

reward if Helpful.

Read only

0 Likes
898

thanks

Read only

Former Member
0 Likes
898

That was very helpful! Thanks a lot.