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

DYNAMIC PARAMETERS

Former Member
0 Likes
655

Hi all,

I just want to display a parameter which hold some value which i have calculated as a default parameter. Can anyone guide me in doing this??

Thanks in advance,

Raja.B

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
628

Just initialize the Parameters in Initialization and perform the calculation in the event.

Parameters: p_test type i.

Initialization.
P_test = 10 + 20.

Regards,

Gurpreet

4 REPLIES 4
Read only

Former Member
0 Likes
629

Just initialize the Parameters in Initialization and perform the calculation in the event.

Parameters: p_test type i.

Initialization.
P_test = 10 + 20.

Regards,

Gurpreet

Read only

Former Member
0 Likes
628

Hi,

data : v_kunnr type kunnr.

parameters : p_kunnnr TYPE kunnr default v_kunnr.

INITIALIZATION.

v_kunnr = '1000'.

in INITIALIZATION event u do the required calculation and pass to parameter

Regards,

Pavan

Read only

Former Member
0 Likes
628

hi Raja,

Im not clear what your doubt is. As far as i understand you want the decleration. Below is a piece of code for displaying previously calculated var1 as default in parameter var2.

var1 = <calculation>.

parameter var2 like var1 default var1.

this will show the value of var1 in var2 field as default value on the selection screen.Hope it helps. If there's any further query then please clarify.

Read only

Former Member
0 Likes
628

thanks a lot