‎2010 Jun 07 2:52 PM
Hi Experts,
I am facing some problems related to the SAP Script . I am calculating some values in the routine in a program and trying to print these values in the script.But these values are coming blank in the script.I have put these values in the structure ITCSY.
Kindly help...
Thanks ,
Rahul..
‎2010 Jun 07 2:59 PM
Hi
Are you calling a routine from the script or is it done before calling the script?
Regards
Vic
‎2010 Jun 07 2:59 PM
Hi
Are you calling a routine from the script or is it done before calling the script?
Regards
Vic
‎2010 Jun 07 3:51 PM
I am calling the routine from the script.so every time the values are vanishing. At the last when the routine is calling , that value is only there in the routine and remaining values are not.
‎2010 Jun 07 5:14 PM
post the code...
You're doing something like:
/: perform routine_name in program programname
/: using &something&
/: changing &something&
/:changine &something&
/: endperformand in your routine is like::
form routine_name tables in_par structure itcsy
out_par structure itcsy.
data: myinput type....
read in_par index 1.
myinput = in_par-value.
*calculate the values.
loop at out_par.
case sy-tabix.
when 1. out_par-value = something
when 2. out_par-value = something else.
endcase.
endloop.
endform.