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

How to refresh a value in a parameter box

Former Member
0 Likes
878

Hello SDNers,

If i have 2 parameters in my program.

Eg:

parameter : v_num1 type i,

v_num2 type i.

After executing the program and getting the output if i come back to my selection screen where i have d parametere box still the values exist inside the parameter boxes how do i refresh those values or make it empty.

Is there any way for the same.

Thanks and Regards,

Ranjith N.

Hello SDNers,

If i have 2 parameters in my program.

Eg:

parameter : v_num1 type i,

v_num2 type i.

After executing the program and getting the output if i come back to my selection screen where i have d parametere box still the values exist inside the parameter boxes how do i refresh those values or make it empty.

Is there any way for the same.

Thanks and Regards,

Ranjith N.

4 REPLIES 4
Read only

Former Member
0 Likes
703

at selection-screen.

" pass parameters to another variables and use these variables to process data

var1 = v_num1

var2 = v_num2

"now clear the parameters

clear: v_num1, v_num2.

Read only

Former Member
0 Likes
703

Hi,

Try like this:

at selection-screen output.

clear: v_num1, v_num2.

Regards,

Bhaskar

Read only

Former Member
0 Likes
703

REPORT ZTESTDEVELOPEMENT.

parameter : v_num1 type i,

v_num2 type i.

data : v_num3 type i.

v_num3 = v_num1 + v_num2.

write 😕 v_num3,'Abap'.

at selection-screen output.

clear :v_num1,v_num2.

Read only

Former Member
0 Likes
703

answered