Application Development 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: 

clear selection-screen fields.

Former Member
0 Kudos

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

Former Member
0 Kudos

HI,

use clear <field name>.

rgds,

bharat.

former_member223537
Active Contributor
0 Kudos

Hi,

Simply use CLEAR statement

CLEAR : S_MATNR, p_Date, S_BWKEY.

REFRESH : S_BWKEY, S_MATNR.

Best regards,

Prashant

Former Member
0 Kudos

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

varma_narayana
Active Contributor
0 Kudos

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.

0 Kudos

thanks

Former Member
0 Kudos

That was very helpful! Thanks a lot.