‎2009 Apr 24 8:09 AM
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
‎2009 Apr 24 8:11 AM
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
‎2009 Apr 24 8:11 AM
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
‎2009 Apr 24 8:14 AM
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
‎2009 Apr 24 8:22 AM
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.
‎2009 Apr 24 10:36 AM