2010 May 26 6:14 AM
Hi experts.........!
i want to change the value of parameter 'x1' which i import from program has a value 'ECNC' and want to display in output of smartfrom as 'ECNEC'. how i change it from program lines.
I use program lines to change its value....... use input parameter 'x1' and output paramter 'x1'
and program lines are
IF x1 = 'ECNC'.
x1 = 'ECNEC'.
ENDIF.
and in condition i use
x1 = 'ECNC'
but it doesn't effect output is same as it show the value of x1 = 'ECNC' when i execute the program.
How i change the value of x1 to 'ECNEC'
Plz help me.......!
Thanx in advance....!
2010 May 26 6:32 AM
Hi ,
Have you declared the Variable X1 under Global Definitions ?
please debug the Smartform by the following way.
Goto the generated Function module - > Search for your Variable X1 ( Choose Main program )- > Set Break point
Debugger will be called after giving printing parameter automatically. Check it whether value get changed ( Your Code is working or not ).
2010 May 26 6:33 AM
Hi ,
Have you declared the Variable X1 under Global Definitions ?
please debug the Smartform by the following way.
Goto the generated Function module - > Search for your Variable X1 ( Choose Main program )- > Set Break point
Debugger will be called after giving printing parameter automatically. Check it whether value get changed ( Your Code is working or not ).
2010 May 26 7:18 AM
i declare x1 in the form interface........!
as a parameter
x1 is the field in the database tranp table 'ZFR_TB_ADM_SV' *
2010 May 26 7:23 AM
Hi:
just make sure that where u are displaying the X1 value, here the value is getting changed or not. Meanz it is possible that u have changed the value in some other area and while displaying it is getting the old value.
2010 May 26 8:54 AM
yes i have that issue n i resolve it..........thanx for ur help...............!
Edited by: BFawad26 on May 26, 2010 9:54 AM
2010 May 26 6:34 AM
HI,
Why you want to change the values of X1. You can declare another variable and pass the value as 'ECNEC', if the value of X1 is 'ECNC'.
Thanks
Arul
2010 May 26 6:57 AM
bcz it is the demand of the client..n i didn't use other variable.............bcz x1 contain more then one value.not only 'ECNC'.......when other value condition change for x1....!