‎2007 Oct 09 4:57 AM
i have sapscript program and it is not working as expected. pls see screenshots below:
se38 program:
http://i150.photobucket.com/albums/s116/painkiller2007/SAP/sapscript002-1.jpg
se71 program:
http://i150.photobucket.com/albums/s116/painkiller2007/SAP/sapscript001-1.jpg
result:
http://i150.photobucket.com/albums/s116/painkiller2007/SAP/sapscript003-1.jpg
1. why I cant see the result &num3&?
2. Is math operation not really allowed inside se71 program?
3. how can you perfrom debug on sapscript? any tips?
im a newbie. pls help me. <b>thanks!</b>
‎2007 Oct 09 5:17 AM
Hi,
1.What about the element in you layout?
2.Call the element in your writ_form?
hope this should be working now....
If the hint is useful Say thanks by reward .
Regards,
Prabhu Rajesh
‎2007 Oct 09 5:04 AM
You can keep a breakpoint in your perform - try hard coded break point.
Run the program and see if the code gets executed correctly.
To see script in debug, goto SE71, enter script name. Go to Utilities --> Activate Debugger.
Now run the program. You will see the layout in debug.
ashish
‎2007 Oct 09 5:05 AM
Hi,
Goto SE71, Enter the script name & click UTILITIES => ACTIVATE DEBUGGER.
You have to do all the calculations.. calling subroutines, DEFINE etc in print program(SE38) & pass the output to script.
Best regards,
Prashant
‎2007 Oct 09 5:17 AM
Hi,
1.What about the element in you layout?
2.Call the element in your writ_form?
hope this should be working now....
If the hint is useful Say thanks by reward .
Regards,
Prabhu Rajesh
‎2007 Oct 09 6:19 AM
i tried debug utility. i found out %num3% becomes blank upon trying to display %num3% on the sapscript program (SE71). that I do not understand why. <b>pls help. thanks</b>
‎2007 Oct 09 6:22 AM
‎2007 Oct 09 6:32 AM
READ TABLE IN_PAR WITH KEY ' NUM1 '.
Can we use ' ' after KEY statment????
Here NUM1 represents a field in the table right?
‎2007 Oct 09 7:56 AM
<b>Prashant</b>, im already using &num3&. i just mistyped here in the forum.
<b>balvij</b>, NUM1 is a field in the table. I did not understand your second sentence.
<b>i still have the same problem. pls help.</b>
‎2007 Oct 09 8:45 AM
should I really see the <b>&num3&</b> on print preview or not?
‎2007 Oct 09 9:34 AM
ok i got it working now. i just converted the number into string.
<b>thanks to all of you guys. i gave points. </b>